/external/libxaac/decoder/ |
H A D | ixheaacd_bitbuffer.c | 50 WORD bit_pos = it_bit_buff->bit_pos; local 54 bit_pos -= no_of_bits; 55 while (bit_pos < 0) { 56 bit_pos += 8; 68 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); 76 WORD bit_pos = it_bit_buff->bit_pos; local 85 bit_pos -= no_of_bits; 86 while (bit_pos < 105 ixheaacd_aac_read_byte(UWORD8 **ptr_read_next, WORD32 *bit_pos, WORD32 *readword) argument 121 ixheaacd_aac_read_2bytes(UWORD8 **ptr_read_next, WORD32 *bit_pos, WORD32 *readword) argument 187 WORD bit_pos = it_bit_buff->bit_pos; local 210 WORD bit_pos = it_bit_buff->bit_pos; local [all...] |
H A D | ixheaacd_block.c | 171 WORD32 bit_pos = it_bit_buff->bit_pos; local 187 read_word1 = read_word << bit_pos; 190 bit_pos += length; 191 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, 197 flush_cw = read_word << bit_pos; 206 bit_pos++; 211 bit_pos++; 216 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, 221 value = ixheaacd_extu(read_word, bit_pos, 2 340 WORD32 bit_pos = it_bit_buff->bit_pos; local 490 WORD32 bit_pos = it_bit_buff->bit_pos; local 624 WORD32 bit_pos = it_bit_buff->bit_pos; local 786 WORD32 bit_pos = it_bit_buff->bit_pos; local 877 WORD32 bit_pos = it_bit_buff->bit_pos; local [all...] |
H A D | ixheaacd_longblock.c | 171 WORD start_bit_pos = it_bit_buff->bit_pos; 174 WORD32 bit_pos = 7 - it_bit_buff->bit_pos; local 225 read_word1 = read_word << bit_pos; 230 bit_pos += length; 231 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, 233 while (bit_pos > 8) 234 ixheaacd_aac_read_byte(&ptr_read_next, &bit_pos, &read_word); 243 temp = (read_word << bit_pos); 246 bit_pos [all...] |
H A D | ixheaacd_common_initfuncs.c | 134 it_bit_buff->bit_pos = 7; 164 it_bit_buff->bit_pos = it_bit_buff->bit_pos - ixheaacd_drc_offset; 165 bit_offset = it_bit_buff->bit_pos >> 3; 166 it_bit_buff->bit_pos = it_bit_buff->bit_pos - (bit_offset << 3);
|
H A D | ixheaacd_multichannel.c | 79 WORD cblock_decode_huff_symbol(UWORD8 *ptr_read_next, WORD32 bit_pos, argument 91 read_word1 = *readword << bit_pos; 102 bit_pos += first_offset; 104 if ((bit_pos -= 8) >= 0) { 108 bit_pos += 8; 121 bit_pos += ((sign_ret_val & 0x7fff) >> 11); 122 if ((bit_pos - 8) >= 0) { 215 WORD32 bit_pos = 7 - bs->bit_pos; local 219 read_word1 = read_word << bit_pos; [all...] |
H A D | ixheaacd_bitbuffer.h | 36 WORD16 bit_pos; member in struct:ia_crc_bit_buf_struct 65 WORD32 bit_pos; member in struct:ia_bit_buf_struct 113 UWORD32 ixheaacd_aac_read_byte(UWORD8 **ptr_read_next, WORD32 *bit_pos, 116 UWORD32 ixheaacd_aac_read_2bytes(UWORD8 **ptr_read_next, WORD32 *bit_pos,
|
H A D | ixheaacd_huff_code_reorder.c | 650 WORD32 *bit_pos = &it_bit_buff->bit_pos; local 660 *bit_pos += read_bit_offset; 661 ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, 665 read_word1 = *read_word << *bit_pos; 668 *bit_pos += length; 673 ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, 677 temp_word = *read_word << *bit_pos; 685 *bit_pos += 1; 699 *bit_pos 786 WORD32 *bit_pos = &it_bit_buff->bit_pos; local 915 WORD32 *bit_pos = &it_bit_buff->bit_pos; local [all...] |
H A D | ixheaacd_spectrum_dec.c | 239 WORD32 start_bit_pos = g_bs->bit_pos; 242 WORD32 bit_pos = 7 - g_bs->bit_pos; local 276 read_word1 = read_word << bit_pos; 280 bit_pos += length; 281 ixheaacd_aac_read_2bytes(&ptr_read_next, &bit_pos, &read_word); 318 g_bs->bit_pos = 7 - bit_pos; 322 (start_bit_pos - g_bs->bit_pos);
|
H A D | ixheaacd_adts_crc_check.c | 83 it_crc_bit_buff_dst->bit_pos = it_bit_buff_src->bit_pos;
|
H A D | ixheaacd_decode_main.c | 281 pstr_dec_data->dec_bit_buf.bit_pos = 7; 308 config_bit_buf->bit_pos = 7; 337 pstr_dec_data->dec_bit_buf.bit_pos = 7; 346 pstr_dec_data->dec_bit_buf.bit_pos =
|
H A D | ixheaacd_headerdecode.c | 105 num_bit = (it_bit_buff->bit_pos + 1); 107 it_bit_buff->bit_pos = 7; 226 if (bits_to_read <= it_bit_buff->bit_pos) { 227 bits_to_read = it_bit_buff->bit_pos - bits_to_read; 229 bits_to_read = 8 - (bits_to_read) + it_bit_buff->bit_pos; 498 it_bit_buff->bit_pos; 657 7 - it_bit_buff->bit_pos); 675 7 - it_bit_buff->bit_pos) - 692 7 - it_bit_buff->bit_pos + 7) >> 786 if (it_bit_buff->bit_pos < [all...] |
H A D | ixheaacd_channel.c | 277 it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; 286 { it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; } 293 it_bit_buff->bit_pos = (7 - it_bit_buff->bit_pos); 885 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7; 891 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7;
|
H A D | ixheaacd_common_lpfuncs.c | 89 x = (UWORD32)b << (15 + 8 - it_bit_buff->bit_pos); 294 it_bit_buff->bit_pos;
|
H A D | ixheaacd_aacdecoder.c | 712 WORD32 alignment = it_bit_buff->bit_pos & 0x07; 714 it_bit_buff->bit_pos = 7; 718 if (it_bit_buff->bit_pos != 7) { 719 WORD32 alignment = it_bit_buff->bit_pos & 0x07; 721 it_bit_buff->bit_pos += 7 - alignment;
|
H A D | ixheaacd_rev_vlc.c | 413 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); 993 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); 1002 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); 1767 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7);
|
/external/vulkan-validation-layers/layers/ |
H A D | vk_layer_utils.h | 55 unsigned long bit_pos = 0; local 56 if (_BitScanForward(&bit_pos, val) != 0) { 57 bit_pos += 1; 59 return bit_pos;
|
/external/pdfium/core/fxcrt/ |
H A D | cfx_bitstream.cpp | 37 uint32_t bit_pos = m_BitPos % 8; local 40 if (bit_pos) { 41 if (8 - bit_pos >= bit_left) { 42 result = (data[byte_pos] & (0xff >> bit_pos)) >> (8 - bit_pos - bit_left); 46 bit_left -= 8 - bit_pos; 47 result = (data[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left;
|
/external/libxaac/decoder/drc_src/ |
H A D | impd_drc_bitbuffer.h | 29 WORD32 bit_pos; member in struct:ia_bit_buf_struct
|
H A D | impd_drc_bitbuffer.c | 36 WORD bit_pos = it_bit_buff->bit_pos; local 51 bit_pos -= no_of_bits; 52 while (bit_pos < 0) { 53 bit_pos += 8; 65 ret_val = ret_val << ((31 - no_of_bits) - bit_pos) >> (32 - no_of_bits); 67 it_bit_buff->bit_pos = (WORD16)bit_pos; 78 it_bit_buff->bit_pos = 7;
|
/external/f2fs-tools/fsck/ |
H A D | dir.c | 68 unsigned long bit_pos = 0; local 73 while (bit_pos < (unsigned long)d->max) { 74 if (!test_bit_le(bit_pos, d->bitmap)) { 75 bit_pos++; 80 de = &d->dentry[bit_pos]; 83 !memcmp(d->filename[bit_pos], name, len)) { 90 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); 182 unsigned int bit_pos) 188 de = &d->dentry[bit_pos]; 191 memcpy(d->filename[bit_pos], nam 179 f2fs_update_dentry(nid_t ino, int file_type, struct f2fs_dentry_ptr *d, const unsigned char *name, int len, f2fs_hash_t name_hash, unsigned int bit_pos) argument 206 int level = 0, current_depth, bit_pos; local 470 unsigned long bit_pos = 0; local [all...] |
/external/mesa3d/src/util/ |
H A D | texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; local 40 const unsigned char acodelow = blksrc[2 + bit_pos / 8]; 41 const unsigned char acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; 42 const unsigned char code = (acodelow >> (bit_pos & 0x7) | 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7;
|
/external/syslinux/efi/ |
H A D | vesa.c | 53 uint8_t bit_pos = 0, bit_len = 0; local 61 bit_pos++; 67 *first_bit = bit_pos;
|
/external/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 204 uint32_t bit_pos; local 206 /* bit_pos split into byte and bit parts */ 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { 228 byte_pos = bit_pos >> 3; 229 bit_res = bit_pos & 7;
|
/external/libhevc/decoder/ |
H A D | ihevcd_process_slice.c | 117 WORD32 bit_pos = proc_type; local 118 WORD32 bit_mask = (1 << bit_pos); 200 WORD32 bit_pos = proc_type; local 201 WORD32 bit_mask = (1 << bit_pos); 1059 * bit_pos has to be a WOR32 so that when it is negative, the downshift still retains it to be a negative value */ 1060 WORD32 bit_pos = ((ps_proc->i4_ctb_y << (log2_ctb_size - 3)) - 1) * loop_filter_strd + (ps_proc->i4_ctb_x << (log2_ctb_size - 3)) - 1; local 1065 ps_proc->s_deblk_ctxt.au2_ctb_no_loop_filter_flag[row] = (*(UWORD32 *)(ps_proc->pu1_pic_no_loop_filter_flag + (bit_pos >> 3))) >> (bit_pos & 7); 1066 bit_pos += loop_filter_strd;
|
/external/pdfium/core/fxcodec/codec/ |
H A D | fx_codec_flate.cpp | 177 int bit_pos = m_InPos % 8, bit_left = m_CodeLen; local 179 if (bit_pos) { 180 bit_left -= 8 - bit_pos; 181 code = (m_pInput[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left;
|