Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dbits.c191 int max_nchars = max_nbytes/BYTES_PER_CHAR; in speex_bits_write() local
203 if (max_nchars > ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)) in speex_bits_write()
204 max_nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); in speex_bits_write()
206 for (i=0;i<max_nchars;i++) in speex_bits_write()
208 return max_nchars*BYTES_PER_CHAR; in speex_bits_write()
213 int max_nchars = max_nbytes/BYTES_PER_CHAR; in speex_bits_write_whole_bytes() local
215 if (max_nchars > ((bits->nbBits)>>LOG2_BITS_PER_CHAR)) in speex_bits_write_whole_bytes()
216 max_nchars = ((bits->nbBits)>>LOG2_BITS_PER_CHAR); in speex_bits_write_whole_bytes()
217 for (i=0;i<max_nchars;i++) in speex_bits_write_whole_bytes()
221 bits->chars[0]=bits->chars[max_nchars]; in speex_bits_write_whole_bytes()
[all …]