Home
last modified time | relevance | path

Searched refs:numPageSamples (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp324 int32_t numPageSamples; in doRead() local
325 if (!in_buf->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in doRead()
326 numPageSamples = -1; in doRead()
328 if (cpLen + sizeof(numPageSamples) <= in_buffer->capacity()) { in doRead()
329 memcpy(in_buffer->base() + cpLen, &numPageSamples, sizeof(numPageSamples)); in doRead()
330 cpLen += sizeof(numPageSamples); in doRead()
DNuMediaExtractor.cpp642 int32_t numPageSamples; in appendVorbisNumPageSamples() local
644 kKeyValidSamples, &numPageSamples)) { in appendVorbisNumPageSamples()
645 numPageSamples = -1; in appendVorbisNumPageSamples()
651 &numPageSamples, in appendVorbisNumPageSamples()
652 sizeof(numPageSamples)); in appendVorbisNumPageSamples()
653 buffer->setRange(buffer->offset(), buffer->size() + sizeof(numPageSamples)); in appendVorbisNumPageSamples()
689 int32_t int32Size = sizeof(numPageSamples); in appendVorbisNumPageSamples()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp357 int32_t numPageSamples = 0; in onQueueFilled() local
460 if (inHeader->nFilledLen < sizeof(numPageSamples)) { in onQueueFilled()
464 inHeader->nFilledLen, sizeof(numPageSamples)); in onQueueFilled()
467 memcpy(&numPageSamples, in onQueueFilled()
469 sizeof(numPageSamples)); in onQueueFilled()
476 inHeader->nFilledLen -= sizeof(numPageSamples);; in onQueueFilled()
480 if (numPageSamples >= 0) { in onQueueFilled()
481 mNumFramesLeftOnPage = numPageSamples; in onQueueFilled()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1230 int32_t numPageSamples; in mediaBufferToABuffer() local
1231 if (!mb->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1232 numPageSamples = -1; in mediaBufferToABuffer()
1236 memcpy(abEnd, &numPageSamples, sizeof(numPageSamples)); in mediaBufferToABuffer()