OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nbBits
(Results
1 - 2
of
2
) sorted by null
/external/speex/include/speex/
speex_bits.h
51
int
nbBits
; /**< Total number of bits stored in the stream*/
105
* @param
nbBits
number of bits to consider in "data"
107
void speex_bits_pack(SpeexBits *bits, int data, int
nbBits
);
112
* @param
nbBits
Number of bits to interpret
115
int speex_bits_unpack_signed(SpeexBits *bits, int
nbBits
);
120
* @param
nbBits
Number of bits to interpret
123
unsigned int speex_bits_unpack_unsigned(SpeexBits *bits, int
nbBits
);
135
* @param
nbBits
Number of bits to look for
138
unsigned int speex_bits_peek_unsigned(SpeexBits *bits, int
nbBits
);
/external/speex/libspeex/
bits.c
78
bits->
nbBits
=buf_size<<LOG2_BITS_PER_CHAR;
96
bits->
nbBits
=0;
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
[
all
...]
Completed in 24 milliseconds