Lines Matching refs:u4_code_int_range
67 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()
317 UWORD32 u4_code_int_val_ofst, u4_code_int_range; in ih264d_decode_terminate() local
320 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_terminate()
323 u4_clz = CLZ(u4_code_int_range); in ih264d_decode_terminate()
324 u4_code_int_range -= (2 << (23 - u4_clz)); in ih264d_decode_terminate()
326 if(u4_code_int_val_ofst >= u4_code_int_range) in ih264d_decode_terminate()
344 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_8) in ih264d_decode_terminate()
351 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_terminate()
357 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_terminate()
399 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_decode_bins_tunary() local
408 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bins_tunary()
418 DECODE_ONE_BIN_MACRO(ps_bin_ctxt, u4_code_int_range, u4_code_int_val_ofst, in ih264d_decode_bins_tunary()
429 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bins_tunary()
470 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_decode_bins() local
478 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bins()
488 DECODE_ONE_BIN_MACRO(ps_bin_ctxt, u4_code_int_range, u4_code_int_val_ofst, in ih264d_decode_bins()
499 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bins()
538 UWORD32 u4_code_int_range, u4_code_int_val_ofst; in ih264d_decode_bins_unary() local
546 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bins_unary()
556 DECODE_ONE_BIN_MACRO(ps_bin_ctxt, u4_code_int_range, u4_code_int_val_ofst, in ih264d_decode_bins_unary()
576 DECODE_ONE_BIN_MACRO(ps_bin_ctxt, u4_code_int_range, u4_code_int_val_ofst, in ih264d_decode_bins_unary()
588 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bins_unary()
625 UWORD32 u4_code_int_val_ofst, u4_code_int_range; in ih264d_decode_bypass_bins_unary() local
630 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bypass_bins_unary()
632 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_9) in ih264d_decode_bypass_bins_unary()
639 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_bypass_bins_unary()
652 u4_code_int_range = u4_code_int_range >> 1; in ih264d_decode_bypass_bins_unary()
653 if(u4_code_int_val_ofst >= u4_code_int_range) in ih264d_decode_bypass_bins_unary()
657 u4_code_int_val_ofst -= u4_code_int_range; in ih264d_decode_bypass_bins_unary()
667 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_9) in ih264d_decode_bypass_bins_unary()
674 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_bypass_bins_unary()
684 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bypass_bins_unary()
719 UWORD32 u4_code_int_val_ofst, u4_code_int_range; in ih264d_decode_bypass_bins() local
723 u4_code_int_range = ps_cab_env->u4_code_int_range; in ih264d_decode_bypass_bins()
725 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_9) in ih264d_decode_bypass_bins()
732 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_bypass_bins()
740 u4_code_int_range = u4_code_int_range >> 1; in ih264d_decode_bypass_bins()
742 if(u4_code_int_val_ofst >= u4_code_int_range) in ih264d_decode_bypass_bins()
746 u4_code_int_val_ofst -= u4_code_int_range; in ih264d_decode_bypass_bins()
759 if(u4_code_int_range < ONE_RIGHT_SHIFTED_BY_9) in ih264d_decode_bypass_bins()
766 RENORM_RANGE_OFFSET(u4_code_int_range, u4_code_int_val_ofst, u4_offset, in ih264d_decode_bypass_bins()
775 ps_cab_env->u4_code_int_range = u4_code_int_range; in ih264d_decode_bypass_bins()