Lines Matching defs:cat
1532 static av_always_inline int get_cabac_cbf_ctx( H264Context *h, int cat, int idx, int max_coeff, int is_dc ) {
1538 if( cat == 3 ) {
1558 return base_ctx[cat] + ctx;
1563 int cat, int n, const uint8_t *scantable,
1632 + significant_coeff_flag_offset[MB_FIELD(h)][cat];
1634 + last_coeff_flag_offset[MB_FIELD(h)][cat];
1636 + coeff_abs_level_m1_offset[cat];
1678 if( cat == 3 )
1687 av_assert2( cat == 1 || cat == 2 || cat == 4 || cat == 7 || cat == 8 || cat == 11 || cat == 12 );
1750 int cat, int n,
1754 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 0);
1759 int cat, int n,
1763 decode_cabac_residual_internal(h, block, cat, n, scantable, NULL, max_coeff, 1, 1);
1768 int cat, int n,
1773 decode_cabac_residual_internal(h, block, cat, n, scantable, qmul, max_coeff, 0, 0);
1776 /* cat: 0-> DC 16x16 n = 0
1790 int cat, int n,
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 );
1804 int cat, int n, const uint8_t *scantable,
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);
1817 int cat, int n,
1823 if( (cat != 5 || CHROMA444(h)) && get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 0 ) ] ) == 0 ) {
1831 decode_cabac_residual_nondc_internal( h, block, cat, n, scantable, qmul, max_coeff );