Home
last modified time | relevance | path

Searched refs:coeff_idx (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvp5.c187 int coeff, sign, coeff_idx; in vp5_parse_coeff() local
206 coeff_idx = 0; in vp5_parse_coeff()
211 s->coeff_ctx[ff_vp56_b6to4[b]][coeff_idx] = 4; in vp5_parse_coeff()
220 s->coeff_ctx[ff_vp56_b6to4[b]][coeff_idx] = 3; in vp5_parse_coeff()
223 s->coeff_ctx[ff_vp56_b6to4[b]][coeff_idx] = 2; in vp5_parse_coeff()
230 s->coeff_ctx[ff_vp56_b6to4[b]][coeff_idx] = 1; in vp5_parse_coeff()
235 if (coeff_idx) in vp5_parse_coeff()
237 s->block_coeff[b][permute[coeff_idx]] = coeff; in vp5_parse_coeff()
242 s->coeff_ctx[ff_vp56_b6to4[b]][coeff_idx] = 0; in vp5_parse_coeff()
244 coeff_idx++; in vp5_parse_coeff()
[all …]
Dvp6.c410 int coeff, sign, coeff_idx; in vp6_parse_coeff_huffman() local
419 for (coeff_idx = 0;;) { in vp6_parse_coeff_huffman()
421 if (coeff_idx<2 && s->nb_null[coeff_idx][pt]) { in vp6_parse_coeff_huffman()
422 s->nb_null[coeff_idx][pt]--; in vp6_parse_coeff_huffman()
423 if (coeff_idx) in vp6_parse_coeff_huffman()
430 if (coeff_idx) { in vp6_parse_coeff_huffman()
431 int pt = (coeff_idx >= 6); in vp6_parse_coeff_huffman()
439 if (coeff_idx == 1) /* first AC coeff ? */ in vp6_parse_coeff_huffman()
449 if (coeff_idx) in vp6_parse_coeff_huffman()
451 idx = model->coeff_index_to_pos[coeff_idx]; in vp6_parse_coeff_huffman()
[all …]