Lines Matching defs:max_coeff
1534 static av_always_inline int get_cabac_cbf_ctx( H264Context *h, int cat, int idx, int max_coeff, int is_dc ) {
1573 const uint32_t *qmul, int max_coeff,
1644 if( !is_dc && max_coeff == 64 ) {
1652 last= max_coeff; \
1657 if( last == max_coeff -1 ) {\
1668 coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index,
1677 DECODE_SIGNIFICANCE(max_coeff - 1, last, last);
1690 if( max_coeff == 64 )
1754 static void decode_cabac_residual_dc_internal( H264Context *h, DCTELEM *block, int cat, int n, const uint8_t *scantable, int max_coeff ) {
1755 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 0);
1760 int max_coeff)
1762 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 1);
1765 static void decode_cabac_residual_nondc_internal( H264Context *h, DCTELEM *block, int cat, int n, const uint8_t *scantable, const uint32_t *qmul, int max_coeff ) {
1766 decode_cabac_residual_internal(h, block, cat, n, scantable, qmul, max_coeff, 0, 0);
1781 static av_always_inline void decode_cabac_residual_dc( H264Context *h, DCTELEM *block, int cat, int n, const uint8_t *scantable, int max_coeff ) {
1783 if( get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 1 ) ] ) == 0 ) {
1787 decode_cabac_residual_dc_internal( h, block, cat, n, scantable, max_coeff );
1793 int max_coeff)
1796 if (get_cabac(&h->cabac, &h->cabac_state[get_cabac_cbf_ctx(h, cat, n, max_coeff, 1)]) == 0) {
1800 decode_cabac_residual_dc_internal_422(h, block, cat, n, scantable, max_coeff);
1803 static av_always_inline void decode_cabac_residual_nondc( H264Context *h, DCTELEM *block, int cat, int n, const uint8_t *scantable, const uint32_t *qmul, int max_coeff ) {
1805 if( (cat != 5 || CHROMA444) && get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 0 ) ] ) == 0 ) {
1806 if( max_coeff == 64 ) {
1813 decode_cabac_residual_nondc_internal( h, block, cat, n, scantable, qmul, max_coeff );