Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp340 int32_t numPageSamples = 0; in onQueueFilled() local
348 if (inHeader->nFilledLen < sizeof(numPageSamples)) { in onQueueFilled()
352 inHeader->nFilledLen, sizeof(numPageSamples)); in onQueueFilled()
355 memcpy(&numPageSamples, in onQueueFilled()
358 sizeof(numPageSamples)); in onQueueFilled()
365 inHeader->nFilledLen -= sizeof(numPageSamples);; in onQueueFilled()
369 if (numPageSamples >= 0) { in onQueueFilled()
370 mNumFramesLeftOnPage = numPageSamples; in onQueueFilled()
/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp298 int32_t numPageSamples; in doRead() local
299 if (!in_buf->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) { in doRead()
300 numPageSamples = -1; in doRead()
302 memcpy(in_buffer->base() + cpLen, &numPageSamples, sizeof(numPageSamples)); in doRead()
DNuMediaExtractor.cpp470 int32_t numPageSamples; in appendVorbisNumPageSamples() local
472 kKeyValidSamples, &numPageSamples)) { in appendVorbisNumPageSamples()
473 numPageSamples = -1; in appendVorbisNumPageSamples()
477 &numPageSamples, in appendVorbisNumPageSamples()
478 sizeof(numPageSamples)); in appendVorbisNumPageSamples()
514 int32_t int32Size = sizeof(numPageSamples); in appendVorbisNumPageSamples()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1293 int32_t numPageSamples; in mediaBufferToABuffer() local
1294 if (!mb->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1295 numPageSamples = -1; in mediaBufferToABuffer()
1299 memcpy(abEnd, &numPageSamples, sizeof(numPageSamples)); in mediaBufferToABuffer()