Searched refs:BUFSIZE (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/codecs/mp3dec/src/ |
D | pvmp3_getbits.cpp | 138 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits() 141 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits() 144 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits() 147 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getNbits() 191 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits() 192 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits() 196 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits() 238 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo17bits() 239 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits() 240 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getUpTo17bits() [all …]
|
D | pvmp3_framedecoder.cpp | 314 if (main_data_end > BUFSIZE) /* check overflow on the buffer */ in pvmp3_framedecoder() 316 pVars->frame_start -= BUFSIZE; in pvmp3_framedecoder() 318 pVars->mainDataStream.usedBits -= (BUFSIZE << 3); in pvmp3_framedecoder() 571 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf() 585 if ((offset + temp) < BUFSIZE) in fillMainDataBuf() 594 if ((offset + temp) < BUFSIZE) in fillMainDataBuf() 608 pVars->mainDataStream.offset = module(pVars->mainDataStream.offset, BUFSIZE); in fillMainDataBuf() 615 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
|
D | s_tmp3dec_file.h | 95 uint8 mainDataBuffer[BUFSIZE];
|
D | pvmp3_dec_defs.h | 62 #define BUFSIZE 8192 // big enough to hold 4608 bytes == biggest mp3 frame macro
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 552 const size_t BUFSIZE = 32 * 1024; in write_tarfile() local 553 char* buf = (char *)calloc(1,BUFSIZE); in write_tarfile() 556 const size_t PAXDATA_SIZE = BUFSIZE - (PAXHEADER_SIZE + PAXHEADER_OFFSET); in write_tarfile() 679 calc_tar_checksum(buf, BUFSIZE); in write_tarfile() 688 if (toRead > BUFSIZE) { in write_tarfile() 689 toRead = BUFSIZE; in write_tarfile()
|