Home
last modified time | relevance | path

Searched refs:huff_code (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddsicinvideo.c97 int b, huff_code = 0; in cin_decode_huffman() local
107 huff_code = *src++; in cin_decode_huffman()
108 if ((huff_code >> 4) == 15) { in cin_decode_huffman()
109 b = huff_code << 4; in cin_decode_huffman()
110 huff_code = *src++; in cin_decode_huffman()
111 *dst_cur++ = b | (huff_code >> 4); in cin_decode_huffman()
113 *dst_cur++ = huff_code_table[huff_code >> 4]; in cin_decode_huffman()
117 huff_code &= 15; in cin_decode_huffman()
118 if (huff_code == 15) { in cin_decode_huffman()
121 *dst_cur++ = huff_code_table[huff_code]; in cin_decode_huffman()
Dmjpegenc_common.h42 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code,
48 uint8_t *huff_size, uint16_t *huff_code);
Dmjpegenc_common.c443 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code, in ff_mjpeg_build_huffman_codes() argument
456 huff_code[sym] = code; in ff_mjpeg_build_huffman_codes()
471 uint8_t *huff_size, uint16_t *huff_code) in ff_mjpeg_encode_dc() argument
476 put_bits(pb, huff_size[0], huff_code[0]); in ff_mjpeg_encode_dc()
486 put_bits(pb, huff_size[nbits], huff_code[nbits]); in ff_mjpeg_encode_dc()
Dmjpegenc.c116 uint16_t *huff_code[4] = { m->huff_code_dc_luminance, in mjpeg_encode_picture_frame() local
141 put_bits(&s->pb, huff_size[table_id][code], huff_code[table_id][code]); in mjpeg_encode_picture_frame()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c408 HuffmanTreeCode* const huff_code) { in VP8LCreateHuffmanTree() argument
409 const int num_symbols = huff_code->num_symbols; in VP8LCreateHuffmanTree()
413 huff_code->code_lengths); in VP8LCreateHuffmanTree()
415 ConvertBitDepthsToSymbols(huff_code); in VP8LCreateHuffmanTree()
Dhuffman_encode_utils.h54 HuffmanTreeCode* const huff_code);