Searched refs:BITS_PER_CHAR (Results 1 – 4 of 4) sorted by relevance
149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>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()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()225 bits->nbBits &= (BITS_PER_CHAR-1); in speex_bits_write_whole_bytes()258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr); in speex_bits_pack()261 if (bits->bitPtr==BITS_PER_CHAR) in speex_bits_pack()293 d |= (bits->chars[bits->charPtr]>>(BITS_PER_CHAR-1 - bits->bitPtr))&1; in speex_bits_unpack_unsigned()295 if (bits->bitPtr==BITS_PER_CHAR) in speex_bits_unpack_unsigned()322 d |= (chars[charPtr]>>(BITS_PER_CHAR-1 - bitPtr))&1; in speex_bits_peek_unsigned()[all …]
221 #define BITS_PER_CHAR 16 macro227 #define BITS_PER_CHAR 8 macro
37 ch = (int)((num >> BITS_PER_CHAR * i) & ((1 << BITS_PER_CHAR) - 1));
24 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ macro