Home
last modified time | relevance | path

Searched refs:state_mps (Results 1 – 6 of 6) sorted by relevance

/external/libhevc/encoder/
Dihevce_cabac.h254 WORD32 state_mps = *pu1_ctxt_model; in ihevce_cabac_encode_bin() local
260 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()
Dihevce_cabac_tu.c1805 WORD32 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_cabac_residue_encode_rdopt() local
1809 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() local
1949 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() local
2032 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 …]
Dihevce_enc_loop_utils.c1544 WORD32 state_mps; in ihevce_quant_rounding_factor_gen() local
1560 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen()
1562 u4_bits_estimated_r2 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1]; in ihevce_quant_rounding_factor_gen()
1564 u4_bits_estimated_r1_temp = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 0]; in ihevce_quant_rounding_factor_gen()
1582 state_mps = pu1_ctxt_model[sig_ctxinc + sig_coeff_base_ctxt]; in ihevce_quant_rounding_factor_gen()
1585 u4_bits_estimated_r0 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 0]; in ihevce_quant_rounding_factor_gen()
1590 (gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1] + ROUND_Q12(1.000000000)); in ihevce_quant_rounding_factor_gen()
1604 WORD32 state_mps; in ihevce_quant_rounding_factor_gen() local
1628 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen()
1630 u4_bits_estimated_r2 = gau2_ihevce_cabac_bin_to_bits[state_mps ^ 1]; in ihevce_quant_rounding_factor_gen()
[all …]
/external/libhevc/decoder/
Dihevcd_cabac.h65 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]; \
Dihevcd_cabac.c240 WORD32 state_mps = *pu1_ctxt_model; in ihevcd_cabac_decode_bin() local
249 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()
/external/libavc/encoder/
Dih264e_cabac.c479 UWORD8 state_mps = (*pu1_bin_ctxts) & 0x3F; in ih264e_cabac_encode_bin() local
488 u4_table_val= gau4_ih264_cabac_table[state_mps][(u4_range >> 6) & 0x3]; in ih264e_cabac_encode_bin()
498 if (state_mps == 0) in ih264e_cabac_encode_bin()
504 state_mps = (u4_table_val >> 15) & 0x3F; in ih264e_cabac_encode_bin()
508 state_mps = (u4_table_val >> 8) & 0x3F; in ih264e_cabac_encode_bin()
511 (*pu1_bin_ctxts) = (u1_mps << 6) | state_mps; in ih264e_cabac_encode_bin()