Lines Matching refs:bits
57 Read and remove bits from the stream buffer.
61 numBits number of bits to read
67 bits read from stream
68 END_OF_STREAM if not enough bits left
98 Read 32 bits from the stream buffer. Buffer is left as it is, i.e.
99 no bits are removed. First bit read from the stream is the MSB of
100 the return value. If there is not enough bits in the buffer ->
101 bits beyong the end of the stream are set to '0' in the return
111 bits read from stream
118 i32 bits, shift;
130 /* number of bits left in the buffer */
131 bits = (i32)pStrmData->strmBuffSize*8 - (i32)pStrmData->strmBuffReadBits;
133 /* at least 32-bits in the buffer */
134 if (bits >= 32)
150 else if (bits > 0)
154 bits -= (i32)(8 - pStrmData->bitPosInWord);
155 while (bits > 0)
159 bits -= 8;
173 Remove bits from the stream buffer
177 numBits number of bits to remove
184 END_OF_STREAM not enough bits left