Lines Matching refs:total_coeff
441 int zeros_left, coeff_token, total_coeff, i, trailing_ones, run_before; in decode_residual() local
450 total_coeff= coeff_token>>2; in decode_residual()
453 total_coeff= pred_non_zero_count(h, sl, (n - LUMA_DC_BLOCK_INDEX)*16); in decode_residual()
454 …coeff_token= get_vlc2(gb, coeff_token_vlc[ coeff_token_table_index[total_coeff] ].table, COEFF_TOK… in decode_residual()
455 total_coeff= coeff_token>>2; in decode_residual()
457 total_coeff= pred_non_zero_count(h, sl, n); in decode_residual()
458 …coeff_token= get_vlc2(gb, coeff_token_vlc[ coeff_token_table_index[total_coeff] ].table, COEFF_TOK… in decode_residual()
459 total_coeff= coeff_token>>2; in decode_residual()
462 sl->non_zero_count_cache[scan8[n]] = total_coeff; in decode_residual()
466 if(total_coeff==0) in decode_residual()
468 if(total_coeff > (unsigned)max_coeff) { in decode_residual()
469 …x, AV_LOG_ERROR, "corrupted macroblock %d %d (total_coeff=%d)\n", sl->mb_x, sl->mb_y, total_coeff); in decode_residual()
474 ff_tlog(h->avctx, "trailing:%d, total:%d\n", trailing_ones, total_coeff); in decode_residual()
475 av_assert2(total_coeff<=16); in decode_residual()
483 if(trailing_ones<total_coeff) { in decode_residual()
485 int suffix_length = total_coeff > 10 & trailing_ones < 3; in decode_residual()
531 for(i=trailing_ones+1;i<total_coeff;i++) { in decode_residual()
563 if(total_coeff == max_coeff) in decode_residual()
568 zeros_left = get_vlc2(gb, chroma_dc_total_zeros_vlc[total_coeff].table, in decode_residual()
571 zeros_left = get_vlc2(gb, chroma422_dc_total_zeros_vlc[total_coeff].table, in decode_residual()
574 zeros_left= get_vlc2(gb, total_zeros_vlc[ total_coeff ].table, TOTAL_ZEROS_VLC_BITS, 1); in decode_residual()
579 scantable += zeros_left + total_coeff - 1; \ in decode_residual()
582 for(i=1;i<total_coeff && zeros_left > 0;i++) { \ in decode_residual()
591 for(;i<total_coeff;i++) { \ in decode_residual()
597 for(i=1;i<total_coeff && zeros_left > 0;i++) { \ in decode_residual()
606 for(;i<total_coeff;i++) { \ in decode_residual()