Home
last modified time | relevance | path

Searched refs:LOG2_BITS_PER_CHAR (Results 1 – 2 of 2) sorted by relevance

/external/speex/libspeex/
Dbits.c78 bits->nbBits=buf_size<<LOG2_BITS_PER_CHAR; in speex_bits_set_bit_buffer()
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()
185 bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR; in speex_bits_read_whole_bytes()
[all …]
Darch.h223 #define LOG2_BITS_PER_CHAR 4 macro
229 #define LOG2_BITS_PER_CHAR 3 macro