Searched refs:no_of_bits (Results 1 – 5 of 5) sorted by relevance
/external/libxaac/decoder/ |
D | ixheaacd_bitbuffer.c | 50 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_skip_bits_buf() argument 54 if (it_bit_buff->cnt_bits < no_of_bits || it_bit_buff->cnt_bits < 0) in ixheaacd_skip_bits_buf() 57 it_bit_buff->cnt_bits -= no_of_bits; in ixheaacd_skip_bits_buf() 59 ptr_read_next += no_of_bits / 8; in ixheaacd_skip_bits_buf() 60 bit_pos -= (no_of_bits % 8); in ixheaacd_skip_bits_buf() 69 return no_of_bits; in ixheaacd_skip_bits_buf() 72 WORD32 ixheaacd_show_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_show_bits_buf() argument 77 if (no_of_bits == 0) { in ixheaacd_show_bits_buf() 81 if (it_bit_buff->cnt_bits < no_of_bits || it_bit_buff->cnt_bits < 0 || in ixheaacd_show_bits_buf() 82 no_of_bits > 25) { in ixheaacd_show_bits_buf() [all …]
|
D | ixheaacd_bitbuffer.h | 107 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); 136 WORD32 no_of_bits); 138 WORD32 ixheaacd_read_bit(ia_bit_buf_struct *data, WORD32 no_of_bits);
|
/external/libxaac/decoder/drc_src/ |
D | impd_drc_bitbuffer.c | 33 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()
|
D | impd_drc_bitbuffer.h | 43 WORD32 impd_read_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits); 45 WORD32 impd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
|
/external/libmpeg2/decoder/ |
D | impeg2d_bitstream.h | 103 #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) \
|