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()
182 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset()
187 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset()
227 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bin() local
258 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bin()
261 u4_ofst -= u4_range; in ihevcd_cabac_decode_bin()
282 u4_ofst <<= numbits; in ihevcd_cabac_decode_bin()
283 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bin()
289 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bin()
290 DEBUG_RANGE_OFST("bin", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bin()
321 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bin() local
330 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bin()
331 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bypass_bin()
334 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bin()
337 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bin()
341 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bin()
342 DEBUG_RANGE_OFST("bypass end", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bypass_bin()
369 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_terminate() local
384 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_terminate()
422 u4_ofst <<= numbits; in ihevcd_cabac_decode_terminate()
423 u4_ofst |= u4_bits; in ihevcd_cabac_decode_terminate()
429 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_terminate()
430 DEBUG_RANGE_OFST("term", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_terminate()
467 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bins() local
485 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bins()
486 u4_ofst |= u4_bit; in ihevcd_cabac_decode_bypass_bins()
489 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bins()
492 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bins()
497 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bins()
498 DEBUG_RANGE_OFST("bypass", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_decode_bypass_bins()
601 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bypass_bins_tunary() local
613 u4_ofst <<= 1; in ihevcd_cabac_decode_bypass_bins_tunary()
614 u4_ofst |= (u4_bits >> 31); in ihevcd_cabac_decode_bypass_bins_tunary()
618 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bypass_bins_tunary()
621 u4_ofst -= u4_range; in ihevcd_cabac_decode_bypass_bins_tunary()
630 ps_cabac->u4_ofst = u4_ofst; in ihevcd_cabac_decode_bypass_bins_tunary()