Searched refs:huff_code (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | dsicinvideo.c | 97 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()
|
D | mjpegenc_common.h | 42 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code, 48 uint8_t *huff_size, uint16_t *huff_code);
|
D | mjpegenc_common.c | 443 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()
|
D | mjpegenc.c | 116 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/ |
D | huffman_encode_utils.c | 408 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()
|
D | huffman_encode_utils.h | 54 HuffmanTreeCode* const huff_code);
|