Home
last modified time | relevance | path

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

/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/pdfium/third_party/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/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/freetype/include/freetype/internal/
Dpshints.h510 FT_UInt bit_count,
551 FT_UInt bit_count,
/external/pdfium/third_party/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.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/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/master/
Dgles31-master.txt16699 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.bit_count
17157 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.bit_count
17613 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