Searched refs:usedBits (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Ds_mp3bits.h84 * usedBits - number of bits read thus far from the buffer. Bit 0 is
92 uint32 usedBits; member in struct:__anon598
H A Dpvmp3_getbits.cpp127 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH);
149 ptBitStream->usedBits += neededBits;
168 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH);
180 ptBitStream->usedBits += neededBits;
205 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
217 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH);
219 ptBitStream->usedBits += neededBits;
240 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIF
[all...]
H A Dpvmp3_seek_synch.cpp141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits
155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH;
202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3;
208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3);
226 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; /// !!!!!
288 inputStream->usedBits = (inputStream->usedBits + 7) & 8;
292 while (((val&SYNC_WORD) != SYNC_WORD) && (inputStream->usedBits < availableBits))
298 if ((val&SYNC_WORD) == SYNC_WORD && (inputStream->usedBits < availableBits))
H A Dpvmp3_decode_huff_cw.cpp158 pMainData->usedBits -= (3 - (cw & 0xFF));
184 pMainData->usedBits -= (6 - (cw & 0xFF));
210 pMainData->usedBits -= (6 - (cw & 0xFF));
240 pMainData->usedBits -= (8 - (cw & 0xFF));
268 pMainData->usedBits -= (7 - (cw & 0xFF));
301 pMainData->usedBits -= (10 - (cw & 0xFF));
334 pMainData->usedBits -= (11 - (cw & 0xFF));
367 pMainData->usedBits -= (9 - (cw & 0xFF));
412 pMainData->usedBits -= (11 - (cw & 0xFF));
452 pMainData->usedBits
[all...]
H A Dpvmp3_huffman_parsing.cpp285 while ((pMainData->usedBits < grBits) &&
292 if ((pMainData->usedBits < grBits) &&
306 if (pMainData->usedBits > grBits)
323 pMainData->usedBits = grBits;
H A Dpvmp3_framedecoder.cpp176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3;
294 main_data_end = pVars->mainDataStream.usedBits >> 3; /* in bytes */
295 if ((main_data_end << 3) < pVars->mainDataStream.usedBits)
298 pVars->mainDataStream.usedBits = main_data_end << 3;
309 pVars->mainDataStream.usedBits -= (BUFSIZE << 3);
352 pVars->mainDataStream.usedBits += (bytes_to_discard << 3);
364 int32 part2_start = pVars->mainDataStream.usedBits;
506 ancillary_data_lenght -= pVars->inputStream.usedBits;
511 pVars->inputStream.usedBits += ancillary_data_lenght;
533 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >>
[all...]

Completed in 85 milliseconds