Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2CCDecoder.cpp316 sp<ABuffer> mpegUserData; in extractFromMPEGUserData() local
317 if (!accessUnit->meta()->findBuffer(AMEDIAFORMAT_KEY_MPEG_USER_DATA, &mpegUserData) in extractFromMPEGUserData()
318 || mpegUserData == NULL) { in extractFromMPEGUserData()
327 const size_t *userData = (size_t *)mpegUserData->data(); in extractFromMPEGUserData()
329 for (size_t i = 0; i < mpegUserData->size() / sizeof(size_t); ++i) { in extractFromMPEGUserData()
DGenericSource2.cpp1157 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer() local
1158 meta->setBuffer(AMEDIAFORMAT_KEY_MPEG_USER_DATA, mpegUserData); in mediaBufferToABuffer()
/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.cpp1285 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer() local
1286 meta->setBuffer("mpeg-user-data", mpegUserData); in mediaBufferToABuffer()
/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.cpp1770 sp<ABuffer> mpegUserData = in dequeueAccessUnitMPEGVideo() local
1772 if (mpegUserData != NULL && mpegUserData->data() != NULL) { in dequeueAccessUnitMPEGVideo()
1775 mpegUserData->data() + i * sizeof(size_t), in dequeueAccessUnitMPEGVideo()
1778 accessUnit->meta()->setBuffer("mpeg-user-data", mpegUserData); in dequeueAccessUnitMPEGVideo()
/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()