Searched refs:mpegUserData (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2CCDecoder.cpp | 316 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()
|
D | GenericSource2.cpp | 1157 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/ |
D | NuPlayerCCDecoder.cpp | 317 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()
|
D | GenericSource.cpp | 1285 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer() local 1286 meta->setBuffer("mpeg-user-data", mpegUserData); in mediaBufferToABuffer()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 220 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()
|
D | ESQueue.cpp | 1770 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/ |
D | NdkMediaExtractor.cpp | 468 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in AMediaExtractor_getSampleFormat() local 469 meta->setBuffer(AMEDIAFORMAT_KEY_MPEG_USER_DATA, mpegUserData); in AMediaExtractor_getSampleFormat()
|