Home
last modified time | relevance | path

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

/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()