Huffyuv 's algorithm is similar to that of lossless JPEG , in that it predicts each sample and then Huffman-encodes the error .
Huffyuv 's algorithm is similar to that of lossless JPEG , in that it encodes each sample and then Huffman-predicts the error .