Home
last modified time | relevance | path

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

/external/libhevc/decoder/
Dihevcd_cabac.c557 UWORD32 u4_sym; in ihevcd_cabac_decode_bins_tunary() local
565 u4_sym = 0; in ihevcd_cabac_decode_bins_tunary()
569 bin_index = ctxt_index + MIN((u4_sym >> ctxt_shift), (UWORD32)ctxt_inc_max); in ihevcd_cabac_decode_bins_tunary()
571 u4_sym++; in ihevcd_cabac_decode_bins_tunary()
572 }while(((WORD32)u4_sym < c_max) && bin); in ihevcd_cabac_decode_bins_tunary()
574 u4_sym = u4_sym - 1 + bin; in ihevcd_cabac_decode_bins_tunary()
576 return (u4_sym); in ihevcd_cabac_decode_bins_tunary()
608 UWORD32 u4_sym; in ihevcd_cabac_decode_bypass_bins_tunary() local
616 u4_sym = 0; in ihevcd_cabac_decode_bypass_bins_tunary()
632 u4_sym++; in ihevcd_cabac_decode_bypass_bins_tunary()
[all …]
/external/libhevc/encoder/
Dihevce_cabac.c652 WORD32 ihevce_cabac_encode_egk(cab_ctxt_t *ps_cabac, UWORD32 u4_sym, WORD32 k) in ihevce_cabac_encode_egk() argument
667 u4_sym_shiftk_plus1 = (u4_sym >> k) + 1; in ihevce_cabac_encode_egk()
679 u4_egk = (u4_egk << k) | (u4_sym & ((1 << k) - 1)); in ihevce_cabac_encode_egk()
719 cab_ctxt_t *ps_cabac, UWORD32 u4_sym, WORD32 c_rice_param, WORD32 c_rice_max) in ihevce_cabac_encode_trunc_rice() argument
729 ASSERT((UWORD32)c_rice_max > u4_sym); in ihevce_cabac_encode_trunc_rice()
734 unary_length = (u4_sym >> c_rice_param) + 1; in ihevce_cabac_encode_trunc_rice()
740 u4_tr = (u4_unary_bins << c_rice_param) | (u4_sym & ((1 << c_rice_param) - 1)); in ihevce_cabac_encode_trunc_rice()
Dihevce_cabac.h416 WORD32 ihevce_cabac_encode_egk(cab_ctxt_t *ps_cabac, UWORD32 u4_sym, WORD32 k);
419 cab_ctxt_t *ps_cabac, UWORD32 u4_sym, WORD32 c_rice_param, WORD32 c_rice_max);