Home
last modified time | relevance | path

Searched refs:huff_size (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmjpegdec_common.c29 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()
Dmjpegenc_common.h36 void ff_mjpeg_build_huffman_codes(uint8_t *huff_size, uint16_t *huff_code,
42 uint8_t *huff_size, uint16_t *huff_code);
Dmjpegenc_common.c394 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()
Dmjpegenc.c77 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()