Lines Matching refs:u4_ofst
151 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_init()
156 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_init()
165 DEBUG_RANGE_OFST("init", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_init()
170 if(ps_cabac->u4_ofst >= ps_cabac->u4_range) in ihevcd_cabac_init()
191 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset()
196 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset()
236 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bin() local
267 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bin()
270 u4_ofst -= u4_range; in ihevcd_cabac_decode_bin()
291 u4_ofst <<= numbits; in ihevcd_cabac_decode_bin()
292 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bin()
298 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bin()
299 DEBUG_RANGE_OFST("bin", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bin()
330 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bin() local
339 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bin()
340 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bypass_bin()
343 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bin()
346 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bin()
350 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bin()
351 DEBUG_RANGE_OFST("bypass end", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bypass_bin()
378 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_terminate() local
393 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_terminate()
431 u4_ofst <<= numbits; in ihevcd_cabac_decode_terminate()
432 u4_ofst |= u4_bits; in ihevcd_cabac_decode_terminate()
438 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_terminate()
439 DEBUG_RANGE_OFST("term", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_terminate()
476 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bins() local
494 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bins()
495 u4_ofst |= u4_bit; in ihevcd_cabac_decode_bypass_bins()
498 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bins()
501 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bins()
506 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bins()
507 DEBUG_RANGE_OFST("bypass", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bypass_bins()
610 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bins_tunary() local
622 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bins_tunary()
623 u4_ofst |= (u4_bits >> 31); in ihevcd_cabac_decode_bypass_bins_tunary()
627 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bins_tunary()
630 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bins_tunary()
639 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bins_tunary()