Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp220 sp<ABuffer> mpegUserData; in read() local
221 if (buffer->meta()->findBuffer("mpeg-user-data", &mpegUserData) && mpegUserData != NULL) { in read()
223 kKeyMpegUserData, 0, mpegUserData->data(), mpegUserData->size()); in read()
DESQueue.cpp1777 sp<ABuffer> mpegUserData = in dequeueAccessUnitMPEGVideo() local
1779 if (mpegUserData != NULL && mpegUserData->data() != NULL) { in dequeueAccessUnitMPEGVideo()
1782 mpegUserData->data() + i * sizeof(size_t), in dequeueAccessUnitMPEGVideo()
1785 accessUnit->meta()->setBuffer("mpeg-user-data", mpegUserData); in dequeueAccessUnitMPEGVideo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp317 sp<ABuffer> mpegUserData; in extractFromMPEGUserData() local
318 if (!accessUnit->meta()->findBuffer("mpeg-user-data", &mpegUserData) in extractFromMPEGUserData()
319 || mpegUserData == NULL) { in extractFromMPEGUserData()
328 const size_t *userData = (size_t *)mpegUserData->data(); in extractFromMPEGUserData()
330 for (size_t i = 0; i < mpegUserData->size() / sizeof(size_t); ++i) { in extractFromMPEGUserData()
DGenericSource.cpp1287 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer() local
1288 meta->setBuffer("mpeg-user-data", mpegUserData); in mediaBufferToABuffer()
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp468 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in AMediaExtractor_getSampleFormat() local
469 meta->setBuffer(AMEDIAFORMAT_KEY_MPEG_USER_DATA, mpegUserData); in AMediaExtractor_getSampleFormat()