/external/libxaac/decoder/ |
D | ixheaacd_bitbuffer.c | 51 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_skip_bits_buf() local 59 bit_pos -= (no_of_bits % 8); in ixheaacd_skip_bits_buf() 60 if (bit_pos < 0) { in ixheaacd_skip_bits_buf() 61 bit_pos += 8; in ixheaacd_skip_bits_buf() 64 assert(bit_pos >= 0 && bit_pos <= 7); in ixheaacd_skip_bits_buf() 67 it_bit_buff->bit_pos = (WORD16)bit_pos; in ixheaacd_skip_bits_buf() 74 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_show_bits_buf() local 83 bit_pos -= no_of_bits; in ixheaacd_show_bits_buf() 84 while (bit_pos < 0) { in ixheaacd_show_bits_buf() 85 bit_pos += 8; in ixheaacd_show_bits_buf() [all …]
|
D | ixheaacd_block.c | 171 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word1() local 192 read_word1 = read_word << bit_pos; in ixheaacd_huffman_dec_word1() 195 bit_pos += length; in ixheaacd_huffman_dec_word1() 196 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_huffman_dec_word1() 202 flush_cw = read_word << bit_pos; in ixheaacd_huffman_dec_word1() 211 bit_pos++; in ixheaacd_huffman_dec_word1() 216 bit_pos++; in ixheaacd_huffman_dec_word1() 221 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_huffman_dec_word1() 226 value = ixheaacd_extu(read_word, bit_pos, 23); in ixheaacd_huffman_dec_word1() 231 bit_pos += (norm_val - 21); in ixheaacd_huffman_dec_word1() [all …]
|
D | ixheaacd_longblock.c | 172 WORD start_bit_pos = it_bit_buff->bit_pos; in ixheaacd_read_scale_factor_data() 175 WORD32 bit_pos = 7 - it_bit_buff->bit_pos; in ixheaacd_read_scale_factor_data() local 213 read_word1 = read_word << bit_pos; in ixheaacd_read_scale_factor_data() 218 bit_pos += length; in ixheaacd_read_scale_factor_data() 219 ixheaacd_aac_read_byte_corr(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_read_scale_factor_data() 222 ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_read_scale_factor_data() 232 temp = (read_word << bit_pos); in ixheaacd_read_scale_factor_data() 235 bit_pos += 9; in ixheaacd_read_scale_factor_data() 237 ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_read_scale_factor_data() 297 it_bit_buff->bit_pos = 7 - bit_pos; in ixheaacd_read_scale_factor_data() [all …]
|
D | ixheaacd_multichannel.c | 79 WORD cblock_decode_huff_symbol(UWORD8 *ptr_read_next, WORD32 bit_pos, in cblock_decode_huff_symbol() argument 91 read_word1 = *readword << bit_pos; in cblock_decode_huff_symbol() 102 bit_pos += first_offset; in cblock_decode_huff_symbol() 104 if ((bit_pos -= 8) >= 0) { in cblock_decode_huff_symbol() 108 bit_pos += 8; in cblock_decode_huff_symbol() 121 bit_pos += ((sign_ret_val & 0x7fff) >> 11); in cblock_decode_huff_symbol() 122 if ((bit_pos - 8) >= 0) { in cblock_decode_huff_symbol() 216 WORD32 bit_pos = 7 - bs->bit_pos; in ixheaacd_dec_coupling_channel_element() local 221 read_word1 = read_word << bit_pos; in ixheaacd_dec_coupling_channel_element() 224 bit_pos += length; in ixheaacd_dec_coupling_channel_element() [all …]
|
D | ixheaacd_huff_code_reorder.c | 655 WORD32 *bit_pos = &it_bit_buff->bit_pos; in ixheaacd_huff_dec_pair_hcr_pcw() local 665 *bit_pos += read_bit_offset; in ixheaacd_huff_dec_pair_hcr_pcw() 666 ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, in ixheaacd_huff_dec_pair_hcr_pcw() 670 read_word1 = *read_word << *bit_pos; in ixheaacd_huff_dec_pair_hcr_pcw() 673 *bit_pos += length; in ixheaacd_huff_dec_pair_hcr_pcw() 678 ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, in ixheaacd_huff_dec_pair_hcr_pcw() 682 temp_word = *read_word << *bit_pos; in ixheaacd_huff_dec_pair_hcr_pcw() 690 *bit_pos += 1; in ixheaacd_huff_dec_pair_hcr_pcw() 704 *bit_pos += 1; in ixheaacd_huff_dec_pair_hcr_pcw() 720 ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, in ixheaacd_huff_dec_pair_hcr_pcw() [all …]
|
D | ixheaacd_common_initfuncs.c | 134 it_bit_buff->bit_pos = 7; in ixheaacd_create_bit_buf() 164 it_bit_buff->bit_pos = it_bit_buff->bit_pos - ixheaacd_drc_offset; in ixheaacd_read_bidirection() 165 bit_offset = it_bit_buff->bit_pos >> 3; in ixheaacd_read_bidirection() 166 it_bit_buff->bit_pos = it_bit_buff->bit_pos - (bit_offset << 3); in ixheaacd_read_bidirection()
|
D | ixheaacd_spectrum_dec.c | 239 WORD32 start_bit_pos = g_bs->bit_pos; in ixheaacd_section_data() 242 WORD32 bit_pos = 7 - g_bs->bit_pos; in ixheaacd_section_data() local 278 read_word1 = read_word << bit_pos; in ixheaacd_section_data() 282 bit_pos += length; in ixheaacd_section_data() 283 ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_section_data() 319 ixheaacd_aac_read_byte_corr1(&ptr_read_next, &bit_pos, &read_word, in ixheaacd_section_data() 324 g_bs->bit_pos = 7 - bit_pos; in ixheaacd_section_data() 328 (start_bit_pos - g_bs->bit_pos); in ixheaacd_section_data()
|
D | ixheaacd_bitbuffer.h | 38 WORD16 bit_pos; member 67 WORD32 bit_pos; member 119 UWORD32 ixheaacd_aac_read_byte(UWORD8 **ptr_read_next, WORD32 *bit_pos,
|
D | ixheaacd_decode_main.c | 283 pstr_dec_data->dec_bit_buf.bit_pos = 7; in ixheaacd_dec_main() 310 config_bit_buf.bit_pos = 7; in ixheaacd_dec_main() 344 pstr_dec_data->dec_bit_buf.bit_pos = 7; in ixheaacd_dec_main() 354 pstr_dec_data->dec_bit_buf.bit_pos = in ixheaacd_dec_main()
|
D | ixheaacd_headerdecode.c | 108 num_bit = (it_bit_buff->bit_pos + 1); in ixheaacd_aac_bytealign() 110 it_bit_buff->bit_pos = 7; in ixheaacd_aac_bytealign() 226 if (bits_to_read <= it_bit_buff->bit_pos) { in ixheaacd_read_prog_config_element() 227 bits_to_read = it_bit_buff->bit_pos - bits_to_read; in ixheaacd_read_prog_config_element() 229 bits_to_read = 8 - (bits_to_read) + it_bit_buff->bit_pos; in ixheaacd_read_prog_config_element() 502 it_bit_buff->bit_pos; in ixheaacd_ga_hdr_dec() 653 7 - it_bit_buff->bit_pos + 7) >> in ixheaacd_ga_hdr_dec() 747 if (it_bit_buff->bit_pos < 7) *bytes_consumed += 1; in ixheaacd_ga_hdr_dec()
|
D | ixheaacd_common_lpfuncs.c | 89 if (it_bit_buff->bit_pos < 6) { in ixheaacd_aac_showbits_7() 92 x = (UWORD32)b << (15 + 8 - it_bit_buff->bit_pos); in ixheaacd_aac_showbits_7() 300 it_bit_buff->bit_pos; in ixheaacd_get_element_index_tag()
|
D | ixheaacd_channel.c | 289 it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; in ixheaacd_read_block_data() 299 { it_bit_buff->bit_pos = 7 - it_bit_buff->bit_pos; } in ixheaacd_read_block_data() 306 it_bit_buff->bit_pos = (7 - it_bit_buff->bit_pos); in ixheaacd_read_block_data() 902 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7; in ixheaacd_read_spectral_data() 908 it_bit_buff->bit_pos = (it_bit_buff->size - it_bit_buff->cnt_bits) & 7; in ixheaacd_read_spectral_data()
|
D | ixheaacd_adts_crc_check.c | 83 it_crc_bit_buff_dst->bit_pos = it_bit_buff_src->bit_pos; in ixheaacd_copy_bit_buf_state()
|
D | ixheaacd_aacdecoder.c | 720 WORD32 alignment = it_bit_buff->bit_pos & 0x07; in ixheaacd_aacdec_decodeframe() 722 it_bit_buff->bit_pos = 7; in ixheaacd_aacdec_decodeframe() 726 if (it_bit_buff->bit_pos != 7) { in ixheaacd_aacdec_decodeframe() 727 WORD32 alignment = it_bit_buff->bit_pos & 0x07; in ixheaacd_aacdec_decodeframe() 729 it_bit_buff->bit_pos += 7 - alignment; in ixheaacd_aacdec_decodeframe()
|
/external/libxaac/decoder/drc_src/ |
D | impd_drc_bitbuffer.c | 36 WORD bit_pos = it_bit_buff->bit_pos; in impd_read_bits_buf() local 50 bit_pos -= no_of_bits; in impd_read_bits_buf() 51 while (bit_pos < 0) { in impd_read_bits_buf() 52 bit_pos += 8; 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() 66 it_bit_buff->bit_pos = (WORD16)bit_pos; in impd_read_bits_buf() 72 WORD bit_pos = it_bit_buff->bit_pos; in impd_skip_bits_buf() local 81 bit_pos -= no_of_bits; in impd_skip_bits_buf() 82 while (bit_pos < 0) { in impd_skip_bits_buf() 83 bit_pos += 8; in impd_skip_bits_buf() [all …]
|
D | impd_drc_bitbuffer.h | 29 WORD32 bit_pos; member
|
/external/pdfium/core/fxcrt/ |
D | cfx_bitstream.cpp | 37 uint32_t bit_pos = m_BitPos % 8; in GetBits() local 40 if (bit_pos) { in GetBits() 41 if (8 - bit_pos >= bit_left) { in GetBits() 42 result = (data[byte_pos] & (0xff >> bit_pos)) >> (8 - bit_pos - bit_left); in GetBits() 46 bit_left -= 8 - bit_pos; in GetBits() 47 result = (data[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left; in GetBits()
|
/external/f2fs-tools/fsck/ |
D | dir.c | 68 unsigned long bit_pos = 0; in find_target_dentry() local 73 while (bit_pos < (unsigned long)d->max) { in find_target_dentry() 74 if (!test_bit_le(bit_pos, d->bitmap)) { in find_target_dentry() 75 bit_pos++; in find_target_dentry() 80 de = &d->dentry[bit_pos]; in find_target_dentry() 83 !memcmp(d->filename[bit_pos], name, len)) { in find_target_dentry() 90 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in find_target_dentry() 199 unsigned int bit_pos) in f2fs_update_dentry() argument 205 de = &d->dentry[bit_pos]; in f2fs_update_dentry() 208 memcpy(d->filename[bit_pos], name, len); in f2fs_update_dentry() [all …]
|
/external/libhevc/encoder/arm/ |
D | ihevce_scan_coeffs_neon.c | 305 volatile WORD32 bit_pos; in ihevce_scan_coeffs_neon() local 308 GET_POS_MSB_32(bit_pos, sig_coeff_abs_gt1_flags); in ihevce_scan_coeffs_neon() 311 bit_pos); /*sig_coeff_abs_gt1_flags &= (~(0x1<<bit_pos));*/ in ihevce_scan_coeffs_neon() 313 x_pos = (pu1_csb_table[bit_pos] & 0x3); in ihevce_scan_coeffs_neon() 314 y_pos = (pu1_csb_table[bit_pos] >> 2); in ihevce_scan_coeffs_neon() 474 volatile WORD32 bit_pos; in ihevce_scan_coeffs_neon() local 477 GET_POS_MSB_32(bit_pos, sig_coeff_abs_gt1_flags); in ihevce_scan_coeffs_neon() 480 bit_pos); /*sig_coeff_abs_gt1_flags &= (~(0x1<<bit_pos));*/ in ihevce_scan_coeffs_neon() 482 x_pos = (pu1_csb_table[bit_pos] & 0x3); in ihevce_scan_coeffs_neon() 483 y_pos = (pu1_csb_table[bit_pos] >> 2); in ihevce_scan_coeffs_neon()
|
/external/vulkan-validation-layers/layers/ |
D | vk_layer_utils.h | 144 unsigned long bit_pos = 0; 145 if (_BitScanForward(&bit_pos, val) != 0) { 146 bit_pos += 1; 148 return bit_pos;
|
/external/mesa3d/src/util/ |
D | texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; in TAG() local 40 const unsigned char acodelow = blksrc[2 + bit_pos / 8]; in TAG() 41 const unsigned char acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; in TAG() 42 const unsigned char code = (acodelow >> (bit_pos & 0x7) | in TAG() 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7; in TAG()
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_dec_bcj.c | 204 uint32_t bit_pos; in bcj_ia64() local 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64() 228 byte_pos = bit_pos >> 3; in bcj_ia64() 229 bit_res = bit_pos & 7; in bcj_ia64()
|
/external/u-boot/drivers/gpio/ |
D | sh_pfc.c | 251 int k, m, n, pos, bit_pos; in get_config_reg() local 265 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in get_config_reg()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_s3tc_tmp.h | 61 GLubyte bit_pos = 2 * (j * 4 + i) ; in dxt135_decode_imageblock() local 62 GLubyte code = (GLubyte) ((bits >> bit_pos) & 3); in dxt135_decode_imageblock() 156 const GLubyte bit_pos = ((j&3) * 4 + (i&3)) * 3; in fetch_2d_texel_rgba_dxt5() local 157 const GLubyte acodelow = blksrc[2 + bit_pos / 8]; in fetch_2d_texel_rgba_dxt5() 158 const GLubyte acodehigh = blksrc[3 + bit_pos / 8]; in fetch_2d_texel_rgba_dxt5() 159 const GLubyte code = (acodelow >> (bit_pos & 0x7) | in fetch_2d_texel_rgba_dxt5() 160 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7; in fetch_2d_texel_rgba_dxt5()
|
/external/libhevc/decoder/ |
D | ihevcd_process_slice.c | 117 WORD32 bit_pos = proc_type; in ihevcd_proc_map_check() local 118 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_check() 200 WORD32 bit_pos = proc_type; in ihevcd_proc_map_update() local 201 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_update() 1064 …WORD32 bit_pos = ((ps_proc->i4_ctb_y << (log2_ctb_size - 3)) - 1) * loop_filter_strd + (ps_proc->i… in ihevcd_process() local 1069 …flag[row] = (*(UWORD32 *)(ps_proc->pu1_pic_no_loop_filter_flag + (bit_pos >> 3))) >> (bit_pos & 7); in ihevcd_process() 1070 bit_pos += loop_filter_strd; in ihevcd_process()
|