Home
last modified time | relevance | path

Searched refs:bits_table (Results 1 – 6 of 6) 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
33 nb_codes += bits_table[i]; in build_huffman_codes()
41 int ff_mjpeg_build_vlc(VLC *vlc, const uint8_t *bits_table, in ff_mjpeg_build_vlc() argument
46 int nb_codes = build_huffman_codes(huff_size, bits_table); in ff_mjpeg_build_vlc()
Dmjpegenc_common.c39 const uint8_t *bits_table, const uint8_t *value_table) in put_huffman_table() argument
48 n += bits_table[i]; in put_huffman_table()
49 put_bits(p, 8, bits_table[i]); in put_huffman_table()
395 const uint8_t *bits_table, in ff_mjpeg_build_huffman_codes() argument
403 int nb = bits_table[i]; in ff_mjpeg_build_huffman_codes()
Dmjpegenc_common.h37 const uint8_t *bits_table,
Dmjpegdec.h168 int ff_mjpeg_build_vlc(VLC *vlc, const uint8_t *bits_table,
Dmjpegdec.c239 uint8_t bits_table[17]; in ff_mjpeg_decode_dht() local
261 bits_table[i] = get_bits(&s->gb, 8); in ff_mjpeg_decode_dht()
262 n += bits_table[i]; in ff_mjpeg_decode_dht()
278 if ((ret = ff_mjpeg_build_vlc(&s->vlcs[class][index], bits_table, in ff_mjpeg_decode_dht()
284 if ((ret = ff_mjpeg_build_vlc(&s->vlcs[2][index], bits_table, in ff_mjpeg_decode_dht()
290 s->raw_huffman_lengths[class][index][i] = bits_table[i + 1]; in ff_mjpeg_decode_dht()
/third_party/ffmpeg/libavformat/
Drtpdec_jpeg.c70 int table_id, const uint8_t *bits_table, in jpeg_create_huffman_table() argument
78 n += bits_table[i]; in jpeg_create_huffman_table()
79 bytestream2_put_byte(p, bits_table[i]); in jpeg_create_huffman_table()