/external/webrtc/webrtc/base/ |
bitbuffer.cc | 20 // Returns the lowest (right-most) |bit_count| bits in |byte|. 21 uint8_t LowestBits(uint8_t byte, size_t bit_count) { 22 RTC_DCHECK_LE(bit_count, 8u); 23 return byte & ((1 << bit_count) - 1); 26 // Returns the highest (left-most) |bit_count| bits in |byte|, shifted to the 28 uint8_t HighestBits(uint8_t byte, size_t bit_count) { 29 RTC_DCHECK_LE(bit_count, 8u); 30 uint8_t shift = 8 - static_cast<uint8_t>(bit_count); 64 size_t bit_count = 0; 66 bit_count++ [all...] |
bitbuffer.h | 47 bool ReadBits(uint32_t* val, size_t bit_count); 52 bool PeekBits(uint32_t* val, size_t bit_count); 71 // Moves current position |bit_count| bits forward. Returns false if 73 bool ConsumeBits(size_t bit_count); 107 bool WriteBits(uint64_t val, size_t bit_count);
|
bitbuffer_unittest.cc | 182 uint64_t bit_count = 0; local 184 bit_count++; 187 return static_cast<uint64_t>(val) << (64 - (bit_count * 2 - 1));
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
vc1parse_ppic.c | 26 uint8_t bit_count; local 69 bit_count = 0; 71 while ((picLayerHeader->MVMODE == 0) && (bit_count < 3)) 74 bit_count++; 76 if (bit_count == 3) 77 bit_count += picLayerHeader->MVMODE; 78 picLayerHeader->MVMODE = table[bit_count]; 82 bit_count = 0; 84 while ((picLayerHeader->MVMODE2 == 0) && (bit_count < 2)) 87 bit_count++ [all...] |
vc1parse_ppic_adv.c | 27 uint8_t bit_count;
local 42 bit_count = 0;
44 while ((picLayerHeader->MVMODE == 0) && (bit_count < 3))
47 bit_count++;
49 if (bit_count == 3)
50 bit_count += picLayerHeader->MVMODE;
51 picLayerHeader->MVMODE = table[bit_count];
55 bit_count = 0;
57 while ((picLayerHeader->MVMODE2 == 0) && (bit_count < 2))
60 bit_count++; 211 uint8_t bit_count; local [all...] |
vc1parse_bpic_adv.c | 166 uint8_t bit_count;
local 206 bit_count = 0;
208 while ((picLayerHeader->MVMODE == 0) && (bit_count < 2))
211 bit_count++;
213 if ((bit_count == 2) && (picLayerHeader->MVMODE == 0))
214 bit_count++;
215 picLayerHeader->MVMODE = table[bit_count];
|
/external/v4l2_codec2/vda/ |
vp8_bool_decoder.cc | 177 int bit_count = count_ + 8; local 178 if (bit_count > VP8_BD_VALUE_BIT) 180 bit_count = std::max(0, bit_count - VP8_LOTS_OF_BITS); 181 return (user_buffer_ - user_buffer_start_) * 8 - bit_count;
|
/toolchain/binutils/binutils-2.27/opcodes/ |
cgen-bitset.c | 29 cgen_bitset_create (unsigned bit_count) 32 cgen_bitset_init (mask, bit_count); 39 cgen_bitset_init (CGEN_BITSET * mask, unsigned bit_count) 43 mask->length = (bit_count / 8) + 1;
|
/external/ltp/include/ |
tst_net.h | 46 * Function bit_count is from ipcalc project, ipcalc.c. 48 static int bit_count(uint32_t i) function 72 return bit_count(ntohl(mask.s_addr));
|
/external/libxaac/decoder/ |
ixheaacd_headerdecode.c | 822 WORD32 bit_count = aac_state_struct->bit_count; local 832 bit_count += 11; 835 bit_count += 1; 844 bit_count += 13; 848 bit_count += audio_mux_len_bits_last; 851 bit_count += 11; 856 bit_count -= 11 + audio_mux_len_bits_last + 13 + 11; 861 bit_count -= audio_mux_len_bits_last + 24 + 11 - 1; 866 bit_count -= (13 + 11) [all...] |
ixheaacd_drc_freq_dec.c | 672 int bit_count = 0; local [all...] |
ixheaacd_bitbuffer.h | 79 WORD32 bit_count; member in struct:ia_bit_buf_struct
|
ixheaacd_arith_dec.c | 1698 WORD32 bit_count = 16; local 1803 WORD32 bit_count = 0; local [all...] |
ixheaacd_bitbuffer.c | 241 it_bit_buff->bit_count += no_of_bits;
|
ixheaacd_struct_def.h | 192 WORD32 bit_count; member in struct:ia_aac_dec_state_struct
|
/external/freetype/include/freetype/internal/ |
pshints.h | 489 * bit_count :: 499 * `bit_count' is the number of meaningful bits in the `bytes' array; it 510 FT_UInt bit_count, 531 * bit_count :: 541 * `bit_count' is the number of meaningful bits in the `bytes' array; it 551 FT_UInt bit_count,
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/ |
condition_util.go | 73 func bit_count(x uint32) uint8 { func
|
condition.go | 273 return instr&0x780000 != 0x0 && bit_count((instr>>19)&0xf) == 1 328 return instr&0x780000 != 0x0 && bit_count((instr>>19)&0xf) == 1
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/ |
condition_util.go | 73 func bit_count(x uint32) uint8 { func
|
condition.go | 273 return instr&0x780000 != 0x0 && bit_count((instr>>19)&0xf) == 1 328 return instr&0x780000 != 0x0 && bit_count((instr>>19)&0xf) == 1
|
/toolchain/binutils/binutils-2.27/bfd/ |
cpu-m68k.c | 151 bit_count (unsigned mask) function 191 this_extra = bit_count (m68k_arch_features[ix] & ~features); 198 this_missing = bit_count (features & ~m68k_arch_features[ix]);
|
/external/freetype/src/pshinter/ |
pshrec.c | 313 FT_UInt bit_count, 324 error = ps_mask_ensure( mask, bit_count, memory ); 328 mask->num_bits = bit_count; 339 for ( ; bit_count > 0; bit_count-- ) 993 FT_UInt bit_count, 1008 if ( bit_count != count1 + count2 ) 1012 bit_count, count1 + count2 )); 1038 FT_UInt bit_count, 1053 if ( bit_count != count1 + count2 [all...] |
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
mkvmuxerutil.cc | 332 const int32 bit_count = byte_count * 8; local 334 const int64 bb = value >> bit_count; 361 const int32 bit_count = byte_count * 8; local 363 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count);
|
/external/ppp/pppd/ |
auth.c | 1895 int bit_count; local 1914 mask <<= bit_count; local [all...] |
/external/webrtc/webrtc/modules/audio_processing/utility/ |
delay_estimator.c | 549 int32_t bit_count = (self->bit_counts[i] << 9); // Q9. local 558 WebRtc_MeanEstimatorFix(bit_count, shifts, &(self->mean_bit_counts[i]));
|