Searched refs:huff_size (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mjpegdec_common.c | 29 static int build_huffman_codes(uint8_t *huff_size, const uint8_t *bits_table) in build_huffman_codes() argument 36 huff_size[j] = i; in build_huffman_codes() 44 uint8_t huff_size[256]; in ff_mjpeg_build_vlc() local 46 int nb_codes = build_huffman_codes(huff_size, bits_table); in ff_mjpeg_build_vlc() 55 return ff_init_vlc_from_lengths(vlc, 9, nb_codes, huff_size, 1, in ff_mjpeg_build_vlc()
|
D | mjpegenc_common.h | 36 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code, 42 uint8_t *huff_size, uint16_t *huff_code);
|
D | mjpegenc_common.c | 394 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code, in ff_mjpeg_build_huffman_codes() argument 406 huff_size[sym] = i; in ff_mjpeg_build_huffman_codes() 422 uint8_t *huff_size, uint16_t *huff_code) in ff_mjpeg_encode_dc() argument 427 put_bits(pb, huff_size[0], huff_code[0]); in ff_mjpeg_encode_dc() 437 put_bits(pb, huff_size[nbits], huff_code[nbits]); in ff_mjpeg_encode_dc()
|
D | mjpegenc.c | 77 uint8_t *huff_size[4] = { m->huff_size_dc_luminance, in mjpeg_encode_picture_frame() local 95 total_bits += huff_size[table_id][code] + nbits; in mjpeg_encode_picture_frame() 106 put_bits(&s->pb, huff_size[table_id][code], huff_code[table_id][code]); in mjpeg_encode_picture_frame()
|