Home
last modified time | relevance | path

Searched refs:bit_count (Results 1 – 25 of 29) 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.c822 WORD32 bit_count = aac_state_struct->bit_count; in ixheaacd_latm_header_decode() local
832 bit_count += 11; in ixheaacd_latm_header_decode()
835 bit_count += 1; in ixheaacd_latm_header_decode()
844 bit_count += 13; in ixheaacd_latm_header_decode()
848 bit_count += audio_mux_len_bits_last; in ixheaacd_latm_header_decode()
851 bit_count += 11; in ixheaacd_latm_header_decode()
856 bit_count -= 11 + audio_mux_len_bits_last + 13 + 11; in ixheaacd_latm_header_decode()
861 bit_count -= audio_mux_len_bits_last + 24 + 11 - 1; in ixheaacd_latm_header_decode()
866 bit_count -= (13 + 11); in ixheaacd_latm_header_decode()
877 bit_count += 11; in ixheaacd_latm_header_decode()
[all …]
Dixheaacd_arith_dec.c1698 WORD32 bit_count = 16; in ixheaacd_arith_first_symbol() local
1707 return bit_count; in ixheaacd_arith_first_symbol()
1732 WORD32 bit_count, WORD32 *m, state_arith *s, in ixheaacd_arith_decode() argument
1782 bit_count++; in ixheaacd_arith_decode()
1791 return bit_count; in ixheaacd_arith_decode()
1803 WORD32 bit_count = 0; in ixheaacd_arth_decoding_level2() local
1814 bit_count = ixheaacd_arith_first_symbol(&it_bit_buff_temp, &as); in ixheaacd_arth_decoding_level2()
1824 bit_count = ixheaacd_arith_decode(&it_bit_buff_temp, bit_count, &m, &as, in ixheaacd_arth_decoding_level2()
1826 if (bit_count == -1) { in ixheaacd_arth_decoding_level2()
1858 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
706 bit_count += 24; in ixheaacd_drc_read_compression()
710 bit_count += 8; in ixheaacd_drc_read_compression()
720 bit_count += 16; in ixheaacd_drc_read_compression()
740 bit_count += 16; in ixheaacd_drc_read_compression()
744 bit_count += 16; in ixheaacd_drc_read_compression()
756 bit_count += ext_bits; in ixheaacd_drc_read_compression()
759 return (bit_count); in ixheaacd_drc_read_compression()
Dixheaacd_bitbuffer.h79 WORD32 bit_count; member
Dixheaacd_bitbuffer.c241 it_bit_buff->bit_count += no_of_bits; in ixheaacd_write_bit()
Dixheaacd_struct_def.h192 WORD32 bit_count; member
Dixheaacd_huff_code_reorder.c1470 itt_bit_buff->bit_count = 0; in ixheaacd_decode_hcr_non_pcw()
1537 ixheaacd_write_bit(itt_bit_buff, 0, 32 - itt_bit_buff->bit_count % 32); in ixheaacd_decode_hcr_non_pcw()
Dixheaacd_api.c1338 p_state_enhaacplus_dec->bit_count = 0; in ixheaacd_dec_init()
/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/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.cc332 const int32 bit_count = byte_count * 8; in SerializeInt() local
334 const int64 bb = value >> bit_count; in SerializeInt()
361 const int32 bit_count = byte_count * 8; in SerializeFloat() local
363 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count); in SerializeFloat()
/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/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/deqp/doc/testspecs/GLES31/
Dfunctional.shaders.sample_variables.txt89 sample_mask_in.bit_count cases test gl_SampleMaskIn contains only a certain
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp645 void bit_count (NegativeTestContext& ctx) in bit_count() function
4407 {bit_count, "bit_count", "Invalid usage of bitCount." }, in getNegativeShaderFunctionTestFunctions()
/external/deqp/android/cts/nyc/
Dgles31-master.txt16685 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.bit_count
17130 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.bit_count
17573 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.bit_count
/external/deqp/android/cts/nyc/src/
Dgles31-master.txt16685 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.bit_count
17130 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.bit_count
17573 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.bit_count
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/master/
Dgles31-master.txt18643 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.bit_count
19141 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.bit_count
19637 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.bit_count

12