Home
last modified time | relevance | path

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

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getNbits()
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo9bits()
171 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
207 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo17bits()
208 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits()
209 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getUpTo17bits()
242 returnValue = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in get1bit()
Dpvmp3_framedecoder.cpp305 if (main_data_end > BUFSIZE) /* check overflow on the buffer */ in pvmp3_framedecoder()
307 pVars->frame_start -= BUFSIZE; in pvmp3_framedecoder()
309 pVars->mainDataStream.usedBits -= (BUFSIZE << 3); in pvmp3_framedecoder()
562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf()
576 if ((offset + temp) < BUFSIZE) in fillMainDataBuf()
585 if ((offset + temp) < BUFSIZE) in fillMainDataBuf()
607 pVars->mainDataStream.offset = module(pVars->mainDataStream.offset, BUFSIZE); in fillMainDataBuf()
614 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
615 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
619 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset , BUFSIZE))); in fillMainDataBuf()
[all …]
Ds_tmp3dec_file.h95 uint8 mainDataBuffer[BUFSIZE];
Dpvmp3_dec_defs.h62 #define BUFSIZE 8192 // big enough to hold 4608 bytes == biggest mp3 frame macro
/frameworks/base/libs/utils/
DBackupHelpers.cpp548 const size_t BUFSIZE = 32 * 1024; in write_tarfile() local
549 char* buf = new char[BUFSIZE]; in write_tarfile()
560 memset(buf, 0, BUFSIZE); in write_tarfile()
640 memset(paxData, 0, BUFSIZE - (paxData - buf)); in write_tarfile()
687 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE; in write_tarfile()