Searched refs:LOG2_BITS_PER_CHAR (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/speex/libspeex/
H A Dbits.c78 bits->nbBits=buf_size<<LOG2_BITS_PER_CHAR;
141 bits->nbBits=nchars<<LOG2_BITS_PER_CHAR;
149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR);
152 bits->nbBits -= bits->charPtr<<LOG2_BITS_PER_CHAR;
161 if (((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)+nchars > bits->buf_size)
166 char *tmp = (char*)speex_realloc(bits->chars, (bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1);
169 bits->buf_size=(bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1;
172 nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1;
182 pos=bits->nbBits>>LOG2_BITS_PER_CHAR;
185 bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR;
[all...]
H A Darch.h222 #define LOG2_BITS_PER_CHAR 4 macro
228 #define LOG2_BITS_PER_CHAR 3 macro
/external/speex/libspeex/
H A Dbits.c78 bits->nbBits=buf_size<<LOG2_BITS_PER_CHAR;
141 bits->nbBits=nchars<<LOG2_BITS_PER_CHAR;
149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR);
152 bits->nbBits -= bits->charPtr<<LOG2_BITS_PER_CHAR;
161 if (((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)+nchars > bits->buf_size)
166 char *tmp = (char*)speex_realloc(bits->chars, (bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1);
169 bits->buf_size=(bits->nbBits>>LOG2_BITS_PER_CHAR)+nchars+1;
172 nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1;
182 pos=bits->nbBits>>LOG2_BITS_PER_CHAR;
185 bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR;
[all...]
H A Darch.h223 #define LOG2_BITS_PER_CHAR 4 macro
229 #define LOG2_BITS_PER_CHAR 3 macro

Completed in 313 milliseconds