Searched refs:state_mps (Results 1 – 6 of 6) sorted by relevance
254 WORD32 state_mps = *pu1_ctxt_model; in ihevce_cabac_encode_bin() local260 ASSERT(state_mps < 128); in ihevce_cabac_encode_bin()267 u4_rlps = gau1_ihevc_cabac_rlps[state_mps >> 1][(u4_range >> 6) & 0x3]; in ihevce_cabac_encode_bin()272 if((state_mps & 0x1) ^ bin) in ihevce_cabac_encode_bin()281 ps_cabac->u4_bits_estimated_q12 += gau2_ihevce_cabac_bin_to_bits[state_mps ^ bin]; in ihevce_cabac_encode_bin()284 *pu1_ctxt_model = gau1_ihevc_next_state[(state_mps << 1) | bin]; in ihevce_cabac_encode_bin()309 ps_cabac->u4_bits_estimated_q12 += gau2_ihevce_cabac_bin_to_bits[state_mps ^ bin]; in ihevce_cabac_encode_bin()312 *pu1_ctxt_model = gau1_ihevc_next_state[(state_mps << 1) | bin]; in ihevce_cabac_encode_bin()
1805 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt() local1809 gau2_ihevce_cabac_bin_to_bits[state_mps ^ cur_csbf]; 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()1945 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt() local1949 gau2_ihevce_cabac_bin_to_bits[state_mps ^ sig_coeff]; in ihevce_cabac_residue_encode_rdopt()1953 gau1_ihevc_next_state[(state_mps << 1) | sig_coeff]; in ihevce_cabac_residue_encode_rdopt()2028 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt() local2032 gau2_ihevce_cabac_bin_to_bits[state_mps ^ bit]; 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()2066 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt() local[all …]
1595 WORD32 state_mps; in ihevce_quant_rounding_factor_gen() local1611 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen()1613 u4_bits_estimated_r2 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1]; in ihevce_quant_rounding_factor_gen()1615 u4_bits_estimated_r1_temp = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 0]; in ihevce_quant_rounding_factor_gen()1633 state_mps = pu1_ctxt_model[sig_ctxinc + sig_coeff_base_ctxt]; in ihevce_quant_rounding_factor_gen()1636 u4_bits_estimated_r0 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 0]; in ihevce_quant_rounding_factor_gen()1641 (gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1] + ROUND_Q12(1.000000000)); in ihevce_quant_rounding_factor_gen()1655 WORD32 state_mps; in ihevce_quant_rounding_factor_gen() local1679 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen()1681 u4_bits_estimated_r2 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1]; in ihevce_quant_rounding_factor_gen()[all …]
65 WORD32 state_mps = *pu1_ctxt_model; \73 ASSERT(state_mps < 128); \79 u4_rlps = gau1_ihevc_cabac_rlps[state_mps >> 1][u4_qnt_range]; \83 u4_bin = state_mps & 1; \92 *pu1_ctxt_model = gau1_ihevc_next_state[(state_mps << 1) | u4_bin]; \
240 WORD32 state_mps = *pu1_ctxt_model; in ihevcd_cabac_decode_bin() local249 ASSERT(state_mps < 128); in ihevcd_cabac_decode_bin()259 u4_rlps = gau1_ihevc_cabac_rlps[state_mps >> 1][u4_qnt_range]; in ihevcd_cabac_decode_bin()265 u4_bin = state_mps & 1; in ihevcd_cabac_decode_bin()274 *pu1_ctxt_model = gau1_ihevc_next_state[(state_mps << 1) | u4_bin]; in ihevcd_cabac_decode_bin()
470 UWORD8 state_mps = (*pu1_bin_ctxts) & 0x3F; in ih264e_cabac_encode_bin() local479 u4_table_val= gau4_ih264_cabac_table[state_mps][(u4_range >> 6) & 0x3]; in ih264e_cabac_encode_bin()489 if (state_mps == 0) in ih264e_cabac_encode_bin()495 state_mps = (u4_table_val >> 15) & 0x3F; in ih264e_cabac_encode_bin()499 state_mps = (u4_table_val >> 8) & 0x3F; in ih264e_cabac_encode_bin()502 (*pu1_bin_ctxts) = (u1_mps << 6) | state_mps; in ih264e_cabac_encode_bin()