Lines Matching defs:max_coeff
1532 static av_always_inline int get_cabac_cbf_ctx( H264Context *h, int cat, int idx, int max_coeff, int is_dc ) {
1564 const uint32_t *qmul, int max_coeff,
1638 if( !is_dc && max_coeff == 64 ) {
1646 last= max_coeff; \
1651 if( last == max_coeff -1 ) {\
1662 coeff_count = decode_significance(CC, max_coeff, significant_coeff_ctx_base, index,
1671 DECODE_SIGNIFICANCE(max_coeff - 1, last, last);
1684 if( max_coeff == 64 )
1752 int max_coeff)
1754 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 0);
1761 int max_coeff)
1763 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 1);
1771 int max_coeff)
1773 decode_cabac_residual_internal(h, block, cat, n, scantable, qmul, max_coeff, 0, 0);
1792 int max_coeff)
1795 if( get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 1 ) ] ) == 0 ) {
1799 decode_cabac_residual_dc_internal( h, block, cat, n, scantable, max_coeff );
1805 int max_coeff)
1808 if (get_cabac(&h->cabac, &h->cabac_state[get_cabac_cbf_ctx(h, cat, n, max_coeff, 1)]) == 0) {
1812 decode_cabac_residual_dc_internal_422(h, block, cat, n, scantable, max_coeff);
1820 int max_coeff)
1823 if( (cat != 5 || CHROMA444(h)) && get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 0 ) ] ) == 0 ) {
1824 if( max_coeff == 64 ) {
1831 decode_cabac_residual_nondc_internal( h, block, cat, n, scantable, qmul, max_coeff );