Lines Matching refs:ctxt_idx
1241 WORD32 ctxt_idx; in ihevce_cabac_residue_encode() local
1258 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevce_cabac_residue_encode()
1261 ctxt_idx += nbr_csbf ? 1 : 0; in ihevce_cabac_residue_encode()
1262 ctxt_idx += is_luma ? 0 : 2; in ihevce_cabac_residue_encode()
1264 ret |= ihevce_cabac_encode_bin(ps_cabac, cur_csbf, ctxt_idx); in ihevce_cabac_residue_encode()
1393 ctxt_idx = sig_ctxinc + sig_coeff_base_ctxt; in ihevce_cabac_residue_encode()
1394 ret |= ihevce_cabac_encode_bin(ps_cabac, sig_coeff, ctxt_idx); in ihevce_cabac_residue_encode()
1462 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_cabac_residue_encode()
1466 ret |= ihevce_cabac_encode_bin(ps_cabac, bit, ctxt_idx); in ihevce_cabac_residue_encode()
1492 ctxt_idx = IHEVC_CAB_COEFABS_GRTR2_FLAG; in ihevce_cabac_residue_encode()
1494 ctxt_idx += (is_luma) ? ctxt_set : (ctxt_set + 4); in ihevce_cabac_residue_encode()
1496 ret |= ihevce_cabac_encode_bin(ps_cabac, gt2_bin, ctxt_idx); in ihevce_cabac_residue_encode()
1781 WORD32 ctxt_idx; in ihevce_cabac_residue_encode_rdopt() local
1798 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevce_cabac_residue_encode_rdopt()
1801 ctxt_idx += nbr_csbf ? 1 : 0; in ihevce_cabac_residue_encode_rdopt()
1802 ctxt_idx += is_luma ? 0 : 2; in ihevce_cabac_residue_encode_rdopt()
1805 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt()
1812 pu1_ctxt_model[ctxt_idx] = gau1_ihevc_next_state[(state_mps << 1) | cur_csbf]; in ihevce_cabac_residue_encode_rdopt()
1941 ctxt_idx = sig_ctxinc + sig_coeff_base_ctxt; in ihevce_cabac_residue_encode_rdopt()
1945 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt()
1952 pu1_ctxt_model[ctxt_idx] = in ihevce_cabac_residue_encode_rdopt()
2022 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_cabac_residue_encode_rdopt()
2028 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt()
2035 pu1_ctxt_model[ctxt_idx] = gau1_ihevc_next_state[(state_mps << 1) | bit]; in ihevce_cabac_residue_encode_rdopt()
2060 ctxt_idx = IHEVC_CAB_COEFABS_GRTR2_FLAG; in ihevce_cabac_residue_encode_rdopt()
2062 ctxt_idx += (is_luma) ? ctxt_set : (ctxt_set + 4); in ihevce_cabac_residue_encode_rdopt()
2066 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt()
2073 pu1_ctxt_model[ctxt_idx] = in ihevce_cabac_residue_encode_rdopt()
2487 WORD32 ctxt_idx; in ihevce_cabac_residue_encode_rdoq() local
2552 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevce_cabac_residue_encode_rdoq()
2555 ctxt_idx += nbr_csbf ? 1 : 0; in ihevce_cabac_residue_encode_rdoq()
2556 ctxt_idx += is_luma ? 0 : 2; in ihevce_cabac_residue_encode_rdoq()
2558 ret |= ihevce_cabac_encode_bin(ps_cabac, cur_csbf, ctxt_idx); in ihevce_cabac_residue_encode_rdoq()
2564 ret |= ihevce_cabac_encode_bin(&s_sub_blk_not_coded_cabac_ctxt, 0, ctxt_idx); in ihevce_cabac_residue_encode_rdoq()
2791 ctxt_idx = sig_ctxinc + sig_coeff_base_ctxt; in ihevce_cabac_residue_encode_rdoq()
2794 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdoq()
2801 pu1_ctxt_model[ctxt_idx] = in ihevce_cabac_residue_encode_rdoq()
2864 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_cabac_residue_encode_rdoq()
2870 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdoq()
2877 pu1_ctxt_model[ctxt_idx] = gau1_ihevc_next_state[(state_mps << 1) | bit]; in ihevce_cabac_residue_encode_rdoq()
2902 ctxt_idx = IHEVC_CAB_COEFABS_GRTR2_FLAG; in ihevce_cabac_residue_encode_rdoq()
2904 ctxt_idx += (is_luma) ? ctxt_set : (ctxt_set + 4); in ihevce_cabac_residue_encode_rdoq()
2908 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdoq()
2915 pu1_ctxt_model[ctxt_idx] = in ihevce_cabac_residue_encode_rdoq()
3221 WORD32 ctxt_idx; in ihevce_code_all_sig_coeffs_as_0_explicitly() local
3288 ctxt_idx = sig_ctxinc + sig_coeff_base_ctxt; in ihevce_code_all_sig_coeffs_as_0_explicitly()
3289 ret |= ihevce_cabac_encode_bin(ps_cabac, sig_coeff, ctxt_idx); in ihevce_code_all_sig_coeffs_as_0_explicitly()