Searched refs:mpegUserData (Results 1 – 4 of 4) sorted by relevance
303 sp<ABuffer> mpegUserData; in extractFromMPEGUserData() local304 if (!accessUnit->meta()->findBuffer("mpegUserData", &mpegUserData) in extractFromMPEGUserData()305 || mpegUserData == NULL) { in extractFromMPEGUserData()314 const size_t *userData = (size_t *)mpegUserData->data(); in extractFromMPEGUserData()316 for (size_t i = 0; i < mpegUserData->size() / sizeof(size_t); ++i) { in extractFromMPEGUserData()
1353 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in mediaBufferToABuffer() local1354 meta->setBuffer("mpegUserData", mpegUserData); in mediaBufferToABuffer()
221 sp<ABuffer> mpegUserData; in read() local222 if (buffer->meta()->findBuffer("mpegUserData", &mpegUserData) && mpegUserData != NULL) { in read()224 kKeyMpegUserData, 0, mpegUserData->data(), mpegUserData->size()); in read()
1463 sp<ABuffer> mpegUserData = in dequeueAccessUnitMPEGVideo() local1465 if (mpegUserData != NULL && mpegUserData->data() != NULL) { in dequeueAccessUnitMPEGVideo()1468 mpegUserData->data() + i * sizeof(size_t), in dequeueAccessUnitMPEGVideo()1471 accessUnit->meta()->setBuffer("mpegUserData", mpegUserData); in dequeueAccessUnitMPEGVideo()