Home
last modified time | relevance | path

Searched refs:nbBits (Results 1 – 4 of 4) sorted by relevance

/external/speex/libspeex/
Dbits.c78 bits->nbBits=buf_size<<LOG2_BITS_PER_CHAR; in speex_bits_set_bit_buffer()
96 bits->nbBits=0; in speex_bits_reset()
141 bits->nbBits=nchars<<LOG2_BITS_PER_CHAR; in speex_bits_read_from()
149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); in speex_bits_flush()
152 bits->nbBits -= bits->charPtr<<LOG2_BITS_PER_CHAR; in speex_bits_flush()
161 if (((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)+nchars > bits->buf_size) in speex_bits_read_whole_bytes()
166 char *tmp = (char*)speex_realloc(bits->chars, (bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1); in speex_bits_read_whole_bytes()
169 bits->buf_size=(bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1; in speex_bits_read_whole_bytes()
172 nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1; in speex_bits_read_whole_bytes()
182 pos=bits->nbBits>>LOG2_BITS_PER_CHAR; in speex_bits_read_whole_bytes()
[all …]
/external/speex/include/speex/
Dspeex_bits.h51 int nbBits; /**< Total number of bits stored in the stream*/ member
107 void speex_bits_pack(SpeexBits *bits, int data, int nbBits);
115 int speex_bits_unpack_signed(SpeexBits *bits, int nbBits);
123 unsigned int speex_bits_unpack_unsigned(SpeexBits *bits, int nbBits);
138 unsigned int speex_bits_peek_unsigned(SpeexBits *bits, int nbBits);
/external/lz4/programs/
Dframetest.c187 unsigned nbBits = 0; in FUZ_highbit() local
192 nbBits ++; in FUZ_highbit()
194 return nbBits; in FUZ_highbit()
298 unsigned nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local
299 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
421 unsigned nbBits = (FUZ_rand(&randState) % (FUZ_highbit(srcDataLength-1) - 1)) + 1; in fuzzerTests() local
422 size_t srcSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in fuzzerTests()
Dfuzzer.c121 static U32 FUZ_rotl32(U32 u32, U32 nbBits) in FUZ_rotl32() argument
123 return ((u32 << nbBits) | (u32 >> (32 - nbBits))); in FUZ_rotl32()