Home
last modified time | relevance | path

Searched refs:u4_bins (Results 1 – 8 of 8) sorted by relevance

/external/libavc/encoder/
Dih264e_cabac_encode.c204 UWORD32 u4_bins; in ih264e_cabac_enc_intra_mb_type() local
217 u4_bins = u4_mb_type_intra[u4_intra_mb_type]; in ih264e_cabac_enc_intra_mb_type()
218 i1_bins_len = (WORD8) ((u4_bins >> 8) & 0x0f); in ih264e_cabac_enc_intra_mb_type()
246 u1_bin = ((u4_bins >> i) & 0x01); in ih264e_cabac_enc_intra_mb_type()
412 UWORD32 u4_bins = 0; in ih264e_cabac_enc_chroma_predmode() local
426 u4_bins = 1; in ih264e_cabac_enc_chroma_predmode()
432 u4_bins = (u4_bins | (1 << i1_bins_len)); in ih264e_cabac_enc_chroma_predmode()
443 ih264e_encode_decision_bins(u4_bins, in ih264e_cabac_enc_chroma_predmode()
481 UWORD32 u4_bins; in ih264e_cabac_enc_cbp() local
486 u4_bins = 0; in ih264e_cabac_enc_cbp()
[all …]
Dih264e_cabac.c562 void ih264e_encode_decision_bins(UWORD32 u4_bins, WORD8 i1_bins_len, in ih264e_encode_decision_bins() argument
572 u1_bin = (u4_bins & 0x01); in ih264e_encode_decision_bins()
573 u4_bins = u4_bins >> 1; in ih264e_encode_decision_bins()
736 void ih264e_cabac_encode_bypass_bins(cabac_ctxt_t *ps_cabac, UWORD32 u4_bins, in ih264e_cabac_encode_bypass_bins() argument
757 next_byte = (u4_bins >> (num_bins)) & 0xff; in ih264e_cabac_encode_bypass_bins()
772 next_byte = (u4_bins & ((1 << num_bins) - 1)); in ih264e_cabac_encode_bypass_bins()
Dih264e_cabac.h282 void ih264e_encode_decision_bins(UWORD32 u4_bins, WORD8 i1_bins_len,
355 void ih264e_cabac_encode_bypass_bins(cabac_ctxt_t *ps_cabac, UWORD32 u4_bins,
/external/libhevc/decoder/
Dihevcd_cabac.h156 #define IHEVCD_CABAC_DECODE_BYPASS_BINS(u4_bins, ps_cabac, ps_bitstrm, numbins) \ argument
169 u4_bins = 0; \
181 u4_bins <<= 1; \
184 u4_bins += 1; \
197 #define IHEVCD_CABAC_DECODE_BYPASS_BINS(u4_bins, ps_cabac, ps_bitstrm, numbins) \ argument
198 u4_bins = ihevcd_cabac_decode_bypass_bins(ps_cabac, ps_bitstrm, numbins);
Dihevcd_cabac.c472 UWORD32 u4_bins; in ihevcd_cabac_decode_bypass_bins() local
484 u4_bins = 0; in ihevcd_cabac_decode_bypass_bins()
497 u4_bins <<= 1; in ihevcd_cabac_decode_bypass_bins()
500 u4_bins += 1; in ihevcd_cabac_decode_bypass_bins()
508 return (u4_bins); in ihevcd_cabac_decode_bypass_bins()
/external/libavc/decoder/
Dih264d_cabac.c717 UWORD32 u4_bins; in ih264d_decode_bypass_bins() local
721 u4_bins = 0; in ih264d_decode_bypass_bins()
756 u4_bins = ((u4_bins << 1) | u4_bin); in ih264d_decode_bypass_bins()
777 return (u4_bins); in ih264d_decode_bypass_bins()
/external/libhevc/encoder/
Dihevce_cabac.h348 ihevce_cabac_encode_bypass_bins(cab_ctxt_t *ps_cabac, UWORD32 u4_bins, WORD32 num_bins) in ihevce_cabac_encode_bypass_bins() argument
370 next_byte = (u4_bins >> num_bins) & 0xff; in ihevce_cabac_encode_bypass_bins()
385 next_byte = (u4_bins & ((1 << num_bins) - 1)); in ihevce_cabac_encode_bypass_bins()
Dihevce_cabac.c605 WORD32 u4_bins; in ihevce_cabac_encode_tunary_bypass() local
615 u4_bins = (1 << length) - 2; in ihevce_cabac_encode_tunary_bypass()
621 u4_bins = (1 << length) - 1; in ihevce_cabac_encode_tunary_bypass()
625 error = ihevce_cabac_encode_bypass_bins(ps_cabac, u4_bins, length); in ihevce_cabac_encode_tunary_bypass()