Home
last modified time | relevance | path

Searched refs:u4_code_int_range (Results 1 – 8 of 8) sorted by relevance

/external/libavc/decoder/
Dih264d_cabac.c67 ps_cab_env->u4_code_int_range = (HALF - 2) << 23; in ih264d_init_cabac_dec_envirnoment()
239 UWORD32 u4_qnt_int_range, u4_code_int_range, u4_code_int_val_ofst, in ih264d_decode_bin() local
252 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bin()
256 u4_clz = CLZ(u4_code_int_range); in ih264d_decode_bin()
258 u4_qnt_int_range = u4_code_int_range << u4_clz; in ih264d_decode_bin()
265 u4_code_int_range = u4_code_int_range - u4_int_range_lps; in ih264d_decode_bin()
271 CHECK_IF_LPS(u4_code_int_range, u4_code_int_val_ofst, u4_symbol, in ih264d_decode_bin()
274 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_8) in ih264d_decode_bin()
281 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_bin()
290 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bin()
[all …]
Dih264d_parse_cabac.c74 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_read_coeff4x4_cabac() local
88 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_read_coeff4x4_cabac()
105 u4_clz = CLZ(u4_code_int_range); in ih264d_read_coeff4x4_cabac()
106 u4_qnt_int_range = u4_code_int_range << u4_clz; in ih264d_read_coeff4x4_cabac()
112 u4_code_int_range = u4_code_int_range - u4_int_range_lps; in ih264d_read_coeff4x4_cabac()
116 CHECK_IF_LPS(u4_code_int_range, u4_code_int_val_ofst, u4_symbol, in ih264d_read_coeff4x4_cabac()
119 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_8) in ih264d_read_coeff4x4_cabac()
122 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, in ih264d_read_coeff4x4_cabac()
179 u4_clz = CLZ(u4_code_int_range); in ih264d_read_coeff4x4_cabac()
181 u4_qnt_int_range = u4_code_int_range << u4_clz; in ih264d_read_coeff4x4_cabac()
[all …]
Dih264d_parse_mb_header.c702 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_read_intra_pred_modes_cabac() local
711 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_read_intra_pred_modes_cabac()
717 DECODE_ONE_BIN_MACRO(ps_ctxt_ipred_luma_mpm, u4_code_int_range, in ih264d_read_intra_pred_modes_cabac()
740 DECODE_ONE_BIN_MACRO(ps_ctx_ipred_luma_rm, u4_code_int_range, in ih264d_read_intra_pred_modes_cabac()
769 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_read_intra_pred_modes_cabac()
799 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_parse_ctx_cbp_cabac() local
814 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_parse_ctx_cbp_cabac()
820 u4_clz = CLZ(u4_code_int_range); in ih264d_parse_ctx_cbp_cabac()
823 u4_code_int_range = u4_code_int_range << u4_clz; in ih264d_parse_ctx_cbp_cabac()
839 u4_clz = CLZ(u4_code_int_range); in ih264d_parse_ctx_cbp_cabac()
[all …]
Dih264d_cabac.h118 UWORD32 u4_code_int_range; member
215 #define DECODE_ONE_BIN_MACRO(p_binCtxt_arg ,u4_code_int_range,u4_code_int_val_ofst, \ argument
229 u4_clz_m = CLZ(u4_code_int_range); \
230 u4_quantCodeIntRange_m = u4_code_int_range << u4_clz_m; \
236 u4_code_int_range = u4_code_int_range - u4_codeIntRangeLPS_m; \
240 if(u4_code_int_val_ofst >= u4_code_int_range) \
244 u4_code_int_val_ofst -= u4_code_int_range; \
245 u4_code_int_range = u4_codeIntRangeLPS_m; \
248 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_8) \
255 u4_clz_m = CLZ(u4_code_int_range); \
[all …]
/external/libavc/encoder/
Dih264e_cabac.c362 ASSERT((ps_cab_enc_env->u4_code_int_range >= 256) in ih264e_cabac_put_byte()
363 && (ps_cab_enc_env->u4_code_int_range < 512)); in ih264e_cabac_put_byte()
467 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_bin()
515 ps_cab_enc_env->u4_code_int_range = u4_range; in ih264e_cabac_encode_bin()
613 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_terminate()
645 ps_cab_enc_env->u4_code_int_range = u4_range; in ih264e_cabac_encode_terminate()
685 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_bypass_bin()
742 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_bypass_bins()
Dih264e_cabac_encode.c207 UWORD32 u4_code_int_range; in ih264e_cabac_enc_intra_mb_type() local
238 u4_code_int_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_enc_intra_mb_type()
254 u2_quant_code_int_range = ((u4_code_int_range >> 6) & 0x03); in ih264e_cabac_enc_intra_mb_type()
259 u4_code_int_range -= u4_code_int_range_lps; in ih264e_cabac_enc_intra_mb_type()
262 u4_code_int_low += u4_code_int_range; in ih264e_cabac_enc_intra_mb_type()
263 u4_code_int_range = u4_code_int_range_lps; in ih264e_cabac_enc_intra_mb_type()
282 u4_code_int_range -= 2; in ih264e_cabac_enc_intra_mb_type()
290 GETRANGE(shift, u4_code_int_range); in ih264e_cabac_enc_intra_mb_type()
293 u4_code_int_range <<= shift; in ih264e_cabac_enc_intra_mb_type()
297 ps_cab_enc_env->u4_code_int_range = u4_code_int_range; in ih264e_cabac_enc_intra_mb_type()
[all …]
Dih264e_cabac_structs.h140 UWORD32 u4_code_int_range; member
Dih264e_cabac_init.c129 ps_cab_enc_env->u4_code_int_range = 0x1fe; in ih264e_init_cabac_enc_envirnoment()