• Home
  • Raw
  • Download

Lines Matching refs:huffman_codes

473     HuffmanTreeCode* const huffman_codes) {  in GetHuffBitLengthsAndCodes()  argument
486 HuffmanTreeCode* const codes = &huffman_codes[5 * i]; in GetHuffBitLengthsAndCodes()
508 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes()
509 huffman_codes[i].codes = codes; in GetHuffBitLengthsAndCodes()
510 huffman_codes[i].code_lengths = lengths; in GetHuffBitLengthsAndCodes()
526 HuffmanTreeCode* const codes = &huffman_codes[5 * i]; in GetHuffBitLengthsAndCodes()
540 memset(huffman_codes, 0, 5 * histogram_image_size * sizeof(*huffman_codes)); in GetHuffBitLengthsAndCodes()
737 const HuffmanTreeCode* const huffman_codes) { in StoreImageToBitMask() argument
746 const HuffmanTreeCode* codes = huffman_codes + 5 * histogram_ix; in StoreImageToBitMask()
755 codes = huffman_codes + 5 * histogram_ix; in StoreImageToBitMask()
803 HuffmanTreeCode huffman_codes[5] = { { 0, NULL, NULL } }; in EncodeImageNoHuffman() local
837 if (!GetHuffBitLengthsAndCodes(histogram_image, huffman_codes)) { in EncodeImageNoHuffman()
847 HuffmanTreeCode* const codes = &huffman_codes[i]; in EncodeImageNoHuffman()
861 HuffmanTreeCode* const codes = &huffman_codes[i]; in EncodeImageNoHuffman()
868 huffman_codes); in EncodeImageNoHuffman()
874 WebPSafeFree(huffman_codes[0].codes); in EncodeImageNoHuffman()
895 HuffmanTreeCode* huffman_codes = NULL; in EncodeImageInternal() local
966 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal()
967 sizeof(*huffman_codes)); in EncodeImageInternal()
971 if (huffman_codes == NULL || in EncodeImageInternal()
972 !GetHuffBitLengthsAndCodes(histogram_image, huffman_codes)) { in EncodeImageInternal()
1025 HuffmanTreeCode* const codes = &huffman_codes[i]; in EncodeImageInternal()
1033 HuffmanTreeCode* const codes = &huffman_codes[i]; in EncodeImageInternal()
1041 histogram_symbols, huffman_codes); in EncodeImageInternal()
1054 if (huffman_codes != NULL) { in EncodeImageInternal()
1055 WebPSafeFree(huffman_codes->codes); in EncodeImageInternal()
1056 WebPSafeFree(huffman_codes); in EncodeImageInternal()
1057 huffman_codes = NULL; in EncodeImageInternal()
1070 if (huffman_codes != NULL) { in EncodeImageInternal()
1071 WebPSafeFree(huffman_codes->codes); in EncodeImageInternal()
1072 WebPSafeFree(huffman_codes); in EncodeImageInternal()