Home
last modified time | relevance | path

Searched refs:ctxt_index (Results 1 – 4 of 4) sorted by relevance

/external/libhevc/decoder/
Dihevcd_cabac.h59 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ argument
64 UWORD8 *pu1_ctxt_model = &ps_cabac->au1_ctxt_models[ctxt_index]; \
72 ASSERT((ctxt_index >= 0) && (ctxt_index < IHEVC_CAB_CTXT_END)); \
117 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ argument
118 u4_bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_index);
225 WORD32 ctxt_index
252 WORD32 ctxt_index,
Dihevcd_cabac.c231 WORD32 ctxt_index in ihevcd_cabac_decode_bin() argument
239 UWORD8 *pu1_ctxt_model = &ps_cabac->au1_ctxt_models[ctxt_index]; in ihevcd_cabac_decode_bin()
248 ASSERT((ctxt_index >= 0) && (ctxt_index < IHEVC_CAB_CTXT_END)); in ihevcd_cabac_decode_bin()
553 WORD32 ctxt_index, in ihevcd_cabac_decode_bins_tunary() argument
562 ASSERT((ctxt_index >= 0) && (ctxt_index < IHEVC_CAB_CTXT_END)); in ihevcd_cabac_decode_bins_tunary()
563 ASSERT((ctxt_index + (c_max >> ctxt_shift)) < IHEVC_CAB_CTXT_END); 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()
/external/libhevc/encoder/
Dihevce_cabac.h248 static INLINE WORD32 ihevce_cabac_encode_bin(cab_ctxt_t *ps_cabac, WORD32 bin, WORD32 ctxt_index) in ihevce_cabac_encode_bin() argument
253 UWORD8 *pu1_ctxt_model = &ps_cabac->au1_ctxt_models[ctxt_index]; in ihevce_cabac_encode_bin()
259 ASSERT((ctxt_index >= 0) && (ctxt_index < IHEVC_CAB_CTXT_END)); in ihevce_cabac_encode_bin()
410 WORD32 ctxt_index,
Dihevce_cabac.c540 WORD32 ctxt_index, in ihevce_cabac_encode_tunary() argument
550 ASSERT((ctxt_index >= 0) && (ctxt_index < IHEVC_CAB_CTXT_END)); in ihevce_cabac_encode_tunary()
551 ASSERT((ctxt_index + (c_max >> ctxt_shift)) < IHEVC_CAB_CTXT_END); in ihevce_cabac_encode_tunary()
556 return (ihevce_cabac_encode_bin(ps_cabac, 0, ctxt_index)); in ihevce_cabac_encode_tunary()
563 bin_ctxt = ctxt_index + MIN((i >> ctxt_shift), ctxt_inc_max); in ihevce_cabac_encode_tunary()
571 bin_ctxt = ctxt_index + MIN((i >> ctxt_shift), ctxt_inc_max); in ihevce_cabac_encode_tunary()