Home
last modified time | relevance | path

Searched refs:bit_count (Results 1 – 25 of 40) sorted by relevance

12

/external/webrtc/webrtc/base/
Dbitbuffer.cc21 uint8_t LowestBits(uint8_t byte, size_t bit_count) { in LowestBits() argument
22 RTC_DCHECK_LE(bit_count, 8u); in LowestBits()
23 return byte & ((1 << bit_count) - 1); in LowestBits()
28 uint8_t HighestBits(uint8_t byte, size_t bit_count) { in HighestBits() argument
29 RTC_DCHECK_LE(bit_count, 8u); in HighestBits()
30 uint8_t shift = 8 - static_cast<uint8_t>(bit_count); in HighestBits()
64 size_t bit_count = 0; in CountBits() local
66 bit_count++; in CountBits()
69 return bit_count; in CountBits()
110 bool BitBuffer::PeekBits(uint32_t* val, size_t bit_count) { in PeekBits() argument
[all …]
Dbitbuffer.h47 bool ReadBits(uint32_t* val, size_t bit_count);
52 bool PeekBits(uint32_t* val, size_t bit_count);
73 bool ConsumeBits(size_t bit_count);
107 bool WriteBits(uint64_t val, size_t bit_count);
Dbitbuffer_unittest.cc182 uint64_t bit_count = 0; in GolombEncoded() local
184 bit_count++; in GolombEncoded()
187 return static_cast<uint64_t>(val) << (64 - (bit_count * 2 - 1)); in GolombEncoded()
/external/v4l2_codec2/vda/
Dvp8_bool_decoder.cc177 int bit_count = count_ + 8; in BitOffset() local
178 if (bit_count > VP8_BD_VALUE_BIT) in BitOffset()
180 bit_count = std::max(0, bit_count - VP8_LOTS_OF_BITS); in BitOffset()
181 return (user_buffer_ - user_buffer_start_) * 8 - bit_count; in BitOffset()
/external/libxaac/decoder/
Dixheaacd_headerdecode.c784 WORD32 bit_count = aac_state_struct->bit_count; in ixheaacd_latm_header_decode() local
794 bit_count += 11; in ixheaacd_latm_header_decode()
797 bit_count += 1; in ixheaacd_latm_header_decode()
806 bit_count += 13; in ixheaacd_latm_header_decode()
810 bit_count += audio_mux_len_bits_last; in ixheaacd_latm_header_decode()
813 bit_count += 11; in ixheaacd_latm_header_decode()
818 bit_count -= 11 + audio_mux_len_bits_last + 13 + 11; in ixheaacd_latm_header_decode()
823 bit_count -= audio_mux_len_bits_last + 24 + 11 - 1; in ixheaacd_latm_header_decode()
828 bit_count -= (13 + 11); in ixheaacd_latm_header_decode()
839 bit_count += 11; in ixheaacd_latm_header_decode()
[all …]
Dixheaacd_arith_dec.c1689 WORD32 bit_count = 16; in ixheaacd_arith_first_symbol() local
1704 return bit_count; in ixheaacd_arith_first_symbol()
1729 WORD32 bit_count, WORD32 *m, state_arith *s, in ixheaacd_arith_decode() argument
1791 bit_count++; in ixheaacd_arith_decode()
1801 return bit_count; in ixheaacd_arith_decode()
1813 WORD32 bit_count = 0; in ixheaacd_arth_decoding_level2() local
1824 bit_count = ixheaacd_arith_first_symbol(&it_bit_buff_temp, &as); in ixheaacd_arth_decoding_level2()
1834 bit_count = ixheaacd_arith_decode(&it_bit_buff_temp, bit_count, &m, &as, in ixheaacd_arth_decoding_level2()
1836 if (bit_count == -1) { in ixheaacd_arth_decoding_level2()
1868 bit_count = ixheaacd_arith_decode(&it_bit_buff_temp, bit_count, &m, &as, in ixheaacd_arth_decoding_level2()
[all …]
Dixheaacd_drc_freq_dec.c672 int bit_count = 0; in ixheaacd_drc_read_compression() local
710 bit_count += 24; in ixheaacd_drc_read_compression()
714 bit_count += 8; in ixheaacd_drc_read_compression()
724 bit_count += 16; in ixheaacd_drc_read_compression()
744 bit_count += 16; in ixheaacd_drc_read_compression()
748 bit_count += 16; in ixheaacd_drc_read_compression()
760 bit_count += ext_bits; in ixheaacd_drc_read_compression()
763 return (bit_count); in ixheaacd_drc_read_compression()
Dixheaacd_bitbuffer.c267 it_bit_buff->bit_count += no_of_bits; in ixheaacd_write_bit()
294 ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->bit_count, NULL); in ixheaacd_read_bit()
Dixheaacd_bitbuffer.h81 WORD32 bit_count; member
Dixheaacd_struct_def.h194 WORD32 bit_count; member
Dixheaacd_huff_code_reorder.c745 itt_bit_buff->bit_count, NULL); in ixheaacd_huff_dec_pair_hcr_non_pcw()
1290 itt_bit_buff->bit_count, NULL); in ixheaacd_huff_dec_quad_hcr_non_pcw()
1365 itt_bit_buff->bit_count, &increment); in ixheaacd_huff_dec_word_hcr_non_pcw()
1482 itt_bit_buff->bit_count = 0; in ixheaacd_decode_hcr_non_pcw()
1549 ixheaacd_write_bit(itt_bit_buff, 0, 32 - itt_bit_buff->bit_count % 32); in ixheaacd_decode_hcr_non_pcw()
/external/freetype/src/pshinter/
Dpshrec.c313 FT_UInt bit_count, in ps_mask_table_set_bits() argument
324 error = ps_mask_ensure( mask, bit_count, memory ); in ps_mask_table_set_bits()
328 mask->num_bits = bit_count; in ps_mask_table_set_bits()
339 for ( ; bit_count > 0; bit_count-- ) in ps_mask_table_set_bits()
993 FT_UInt bit_count, in ps_hints_t2mask() argument
1008 if ( bit_count != count1 + count2 ) in ps_hints_t2mask()
1012 bit_count, count1 + count2 )); in ps_hints_t2mask()
1038 FT_UInt bit_count, in ps_hints_t2counter() argument
1053 if ( bit_count != count1 + count2 ) in ps_hints_t2counter()
1057 bit_count, count1 + count2 )); in ps_hints_t2counter()
/external/ltp/include/
Dtst_net.h48 static int bit_count(uint32_t i) in bit_count() function
72 return bit_count(ntohl(mask.s_addr)); in mask2prefix()
/external/freetype/include/freetype/internal/
Dpshints.h510 FT_UInt bit_count,
551 FT_UInt bit_count,
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2011-05-27-CrossClassCoalescing.ll5 @bit_count = external constant [256 x i32], align 16
30 …%arrayidx16.i = getelementptr inbounds [256 x i32], [256 x i32]* @bit_count, i64 0, i64 %idxprom15…
/external/llvm/test/CodeGen/X86/
D2011-05-27-CrossClassCoalescing.ll5 @bit_count = external constant [256 x i32], align 16
30 …%arrayidx16.i = getelementptr inbounds [256 x i32], [256 x i32]* @bit_count, i64 0, i64 %idxprom15…
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2011-05-27-CrossClassCoalescing.ll5 @bit_count = external constant [256 x i32], align 16
30 %arrayidx16.i = getelementptr inbounds [256 x i32]* @bit_count, i64 0, i64 %idxprom15.i
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc331 const int32 bit_count = byte_count * 8; in SerializeInt() local
333 const int64 bb = value >> bit_count; in SerializeInt()
360 const int32 bit_count = byte_count * 8; in SerializeFloat() local
362 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count); in SerializeFloat()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc331 const int32 bit_count = byte_count * 8; in SerializeInt() local
333 const int64 bb = value >> bit_count; in SerializeInt()
360 const int32 bit_count = byte_count * 8; in SerializeFloat() local
362 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count); in SerializeFloat()
/external/u-boot/include/
Dbmp_layout.h34 __u16 bit_count; member
/external/u-boot/drivers/video/
Dvideo_bmp.c216 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in video_bmp_display()
240 bpix, get_unaligned_le16(&bmp->header.bit_count)); in video_bmp_display()
/external/ppp/pppd/
Dauth.c1895 int bit_count; local
1898 bit_count = (int) strtol (ptr_mask+1, &endp, 10);
1899 if (bit_count <= 0 || bit_count > 32) {
1904 bit_count = 32 - bit_count; /* # bits in host part */
1914 mask <<= bit_count;
/external/u-boot/cmd/
Dbmp.c208 printf("Bits per pixel: %d\n", le16_to_cpu(bmp->header.bit_count)); in bmp_info()
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c549 int32_t bit_count = (self->bit_counts[i] << 9); // Q9. in WebRtc_ProcessBinarySpectrum() local
558 WebRtc_MeanEstimatorFix(bit_count, shifts, &(self->mean_bit_counts[i])); in WebRtc_ProcessBinarySpectrum()
/external/u-boot/common/
Dlcd.c592 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in lcd_display_bitmap()
615 bpix, get_unaligned_le16(&bmp->header.bit_count)); in lcd_display_bitmap()

12