Home
last modified time | relevance | path

Searched refs:no_of_bits (Results 1 – 5 of 5) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_bitbuffer.c49 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_skip_bits_buf() argument
53 if (it_bit_buff->cnt_bits < no_of_bits) in ixheaacd_skip_bits_buf()
56 it_bit_buff->cnt_bits -= no_of_bits; in ixheaacd_skip_bits_buf()
58 ptr_read_next += no_of_bits / 8; in ixheaacd_skip_bits_buf()
59 bit_pos -= (no_of_bits % 8); in ixheaacd_skip_bits_buf()
68 return no_of_bits; in ixheaacd_skip_bits_buf()
71 WORD32 ixheaacd_show_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_show_bits_buf() argument
76 if (it_bit_buff->cnt_bits < no_of_bits) { in ixheaacd_show_bits_buf()
83 bit_pos -= no_of_bits; in ixheaacd_show_bits_buf()
93 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); in ixheaacd_show_bits_buf()
[all …]
Dixheaacd_bitbuffer.h107 WORD32 ixheaacd_read_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
109 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
111 WORD32 ixheaacd_show_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
137 WORD32 no_of_bits);
139 WORD32 ixheaacd_read_bit(ia_bit_buf_struct *data, WORD32 no_of_bits);
/external/libxaac/decoder/drc_src/
Dimpd_drc_bitbuffer.c33 WORD32 impd_read_bits_buf(ia_bit_buf_struct* it_bit_buff, WORD no_of_bits) { in impd_read_bits_buf() argument
43 if (no_of_bits == 0) { in impd_read_bits_buf()
47 it_bit_buff->cnt_bits -= no_of_bits; in impd_read_bits_buf()
50 bit_pos -= no_of_bits; in impd_read_bits_buf()
64 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); in impd_read_bits_buf()
70 WORD32 impd_skip_bits_buf(ia_bit_buf_struct* it_bit_buff, WORD no_of_bits) { in impd_skip_bits_buf() argument
74 if (it_bit_buff->cnt_bits < no_of_bits) { in impd_skip_bits_buf()
79 it_bit_buff->cnt_bits -= no_of_bits; in impd_skip_bits_buf()
81 bit_pos -= no_of_bits; in impd_skip_bits_buf()
88 return no_of_bits; in impd_skip_bits_buf()
Dimpd_drc_bitbuffer.h45 WORD32 impd_read_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
47 WORD32 impd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
/external/libmpeg2/decoder/
Dimpeg2d_bitstream.h103 #define IBITS_NXT(u4_buf, u4_buf_nxt, u4_offset, u4_bits, no_of_bits) \ argument
111 u4_bit_ptr += no_of_bits; \
124 u4_bits = (u4_bits >> (32 - no_of_bits)) | u4_temp; \
128 u4_bits = (u4_bits >> (32 - no_of_bits)); \
133 #define IBITS_GET(u4_buf,u4_buf_nxt,u4_offset,u4_bits,pu4_buf_aligned,no_of_bits) \ argument
135 IBITS_NXT(u4_buf, u4_buf_nxt, u4_offset, u4_bits, no_of_bits) \
136 FLUSH_BITS(u4_offset,u4_buf,u4_buf_nxt,no_of_bits,pu4_buf_aligned) \