Searched defs:bit_count (Results 1 - 14 of 14) sorted by relevance

/external/webrtc/webrtc/base/
H A Dbitbuffer.cc20 // Returns the lowest (right-most) |bit_count| bits in |byte|.
21 uint8_t LowestBits(uint8_t byte, size_t bit_count) { argument
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) { argument
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...]
H A Dbitbuffer_unittest.cc182 uint64_t bit_count = 0; local
184 bit_count++;
187 return static_cast<uint64_t>(val) << (64 - (bit_count * 2 - 1));
/external/ltp/include/
H A Dtst_net.h46 * 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/v4l2_codec2/vda/
H A Dvp8_bool_decoder.cc177 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;
/external/libxaac/decoder/
H A Dixheaacd_bitbuffer.h79 WORD32 bit_count; member in struct:ia_bit_buf_struct
H A Dixheaacd_headerdecode.c822 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
[all...]
H A Dixheaacd_arith_dec.c1698 WORD32 bit_count = 16; local
1707 return bit_count;
1732 WORD32 bit_count, WORD32 *m, state_arith *s,
1782 bit_count++;
1791 return bit_count;
1803 WORD32 bit_count = 0; local
1814 bit_count = ixheaacd_arith_first_symbol(&it_bit_buff_temp, &as);
1824 bit_count = ixheaacd_arith_decode(&it_bit_buff_temp, bit_count, &m, &as,
1826 if (bit_count
1731 ixheaacd_arith_decode(ia_bit_buf_struct *it_bit_buff, WORD32 bit_count, WORD32 *m, state_arith *s, UWORD16 const *cum_freq, WORD32 cfl) argument
[all...]
H A Dixheaacd_drc_freq_dec.c672 int bit_count = 0; local
706 bit_count += 24;
710 bit_count += 8;
720 bit_count += 16;
740 bit_count += 16;
744 bit_count += 16;
756 bit_count += ext_bits;
759 return (bit_count);
H A Dixheaacd_struct_def.h192 WORD32 bit_count; member in struct:ia_aac_dec_state_struct
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
H A Dmkvmuxerutil.cc332 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/freetype/src/pshinter/
H A Dpshrec.c313 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 !
310 ps_mask_table_set_bits( PS_Mask_Table table, const FT_Byte* source, FT_UInt bit_pos, FT_UInt bit_count, FT_Memory memory ) argument
991 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) argument
1037 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) argument
[all...]
/external/webrtc/webrtc/modules/audio_processing/utility/
H A Ddelay_estimator.c549 int32_t bit_count = (self->bit_counts[i] << 9); // Q9. local
558 WebRtc_MeanEstimatorFix(bit_count, shifts, &(self->mean_bit_counts[i]));
/external/deqp/modules/gles31/functional/
H A Des31fNegativeShaderFunctionTests.cpp645 void bit_count (NegativeTestContext& ctx) function in namespace:deqp::gles31::Functional::NegativeTestShared::__anon5372
4407 {bit_count, "bit_count", "Invalid usage of bitCount." },
/external/ppp/pppd/
H A 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; local

Completed in 1289 milliseconds