Home
last modified time | relevance | path

Searched refs:vlc_n (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhuffyuvenc.c159 int n = s->vlc_n; in store_table()
190 if ((ret = ff_huff_gen_len_table(s->len[i], s->stats[i], s->vlc_n, 0)) < 0) in store_huffman_tables()
193 if (ff_huffyuv_generate_bits_table(s->bits[i], s->len[i], s->vlc_n) < 0) { in store_huffman_tables()
308 s->vlc_n = FFMIN(s->n, MAX_VLC_N); in encode_init()
387 for (j = 0; j < s->vlc_n; j++) in encode_init()
394 for (j = 0; j < s->vlc_n; j++) { in encode_init()
404 for (j = 0; j < s->vlc_n; j++) { in encode_init()
405 int d = FFMIN(j, s->vlc_n - j); in encode_init()
419 for (j = 0; j < s->vlc_n; j++) { in encode_init()
420 int d = FFMIN(j, s->vlc_n - j); in encode_init()
[all …]
Dhuffyuvdec.c133 for (i = y = 0; y < s->vlc_n; y++) { in generate_joint_tables()
138 if ((sign_extend(y, 8) & (s->vlc_n-1)) != y) in generate_joint_tables()
140 for (u = 0; u < s->vlc_n; u++) { in generate_joint_tables()
144 if ((sign_extend(u, 8) & (s->vlc_n-1)) != u) in generate_joint_tables()
221 if ((ret = read_len_table(s->len[i], &gb, s->vlc_n)) < 0) in read_huffman_tables()
223 if ((ret = ff_huffyuv_generate_bits_table(s->bits[i], s->len[i], s->vlc_n)) < 0) in read_huffman_tables()
226 if ((ret = init_vlc(&s->vlc[i], VLC_BITS, s->vlc_n, s->len[i], 1, 1, in read_huffman_tables()
320 s->vlc_n = FFMIN(s->n, MAX_VLC_N); in decode_init()
338 s->vlc_n = FFMIN(s->n, MAX_VLC_N); in decode_init()
Dhuffyuv.h69 int vlc_n; // number of vlc codes (FFMIN(1<<bps, MAX_VLC_N)) member