Home
last modified time | relevance | path

Searched refs:maxBytesToRead (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp465 size_t maxBytesToRead; in read() local
467 maxBytesToRead = (mBitsPerSample / 8) * (bufferSize / 4); in read()
469 maxBytesToRead = mBitsPerSample == 8 ? bufferSize / 2 : bufferSize; in read()
476 if (maxBytesToRead > maxBytesAvailable) { in read()
477 maxBytesToRead = maxBytesAvailable; in read()
483 if (maxBytesToRead > 1024) { in read()
484 maxBytesToRead = 1024; in read()
486 maxBytesToRead = (maxBytesToRead / 65) * 65; in read()
490 maxBytesToRead -= maxBytesToRead % inputUnitFrameSize; in read()
495 maxBytesToRead); in read()
/frameworks/av/media/libstagefright/httplive/
DHTTPDownloader.cpp172 size_t maxBytesToRead = bufferRemaining; in fetchBlock() local
178 } else if (bytesLeftInRange < (int64_t)maxBytesToRead) { in fetchBlock()
179 maxBytesToRead = bytesLeftInRange; in fetchBlock()
191 maxBytesToRead); in fetchBlock()