Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp879 && data->capacity() >= sizeof(VideoNativeMetadata)) { in updateGraphicBufferInMeta_l()
880 VideoNativeMetadata &metadata = *(VideoNativeMetadata *)(data->data()); in updateGraphicBufferInMeta_l()
1259 && backup->capacity() >= sizeof(VideoNativeMetadata) in emptyBuffer()
1261 && ((VideoNativeMetadata *)backup->base())->eType in emptyBuffer()
1263 VideoNativeMetadata &backupMeta = *(VideoNativeMetadata *)backup->base(); in emptyBuffer()
1320 && metaSize >= sizeof(VideoNativeMetadata)) { in storeFenceInMeta_l()
1321 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l()
1343 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
1344 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in retrieveFenceFromMeta_l()
1424 header->nFilledLen = sizeof(VideoNativeMetadata); in emptyGraphicBuffer()
DSoftVideoEncoderOMXComponent.cpp158 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams()
531 if (srcSize < sizeof(VideoNativeMetadata)) { in extractGraphicBuffer()
532 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoNativeMetadata)); in extractGraphicBuffer()
536 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)src; in extractGraphicBuffer()
DGraphicBufferSource.cpp382 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in codecBufferEmptied()
383 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)data; in codecBufferEmptied()
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp257 *buffer = new MediaBuffer(sizeof(VideoNativeMetadata)); in passMetadataBuffer_l()
258 VideoNativeMetadata *data = (VideoNativeMetadata *)(*buffer)->data(); in passMetadataBuffer_l()
DCameraSource.cpp583 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()
924 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in releaseRecordingFrame()
1228 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in processBufferQueueFrame()
1230 memset(payload, 0, sizeof(VideoNativeMetadata)); in processBufferQueueFrame()
DACodec.cpp803 bufSize = sizeof(VideoNativeMetadata); in allocateBuffersOnPort()
814 bufSize = max(sizeof(VideoGrallocMetadata), sizeof(VideoNativeMetadata)); in allocateBuffersOnPort()
816 bufSize = max(bufSize, sizeof(VideoNativeMetadata)); in allocateBuffersOnPort()
907 ((VideoNativeMetadata *)mem->pointer())->nFenceFd = -1; in allocateBuffersOnPort()
1188 sizeof(struct VideoNativeMetadata) : sizeof(struct VideoGrallocMetadata); in allocateOutputMetadataBuffers()
1206 ((VideoNativeMetadata *)mem->pointer())->nFenceFd = -1; in allocateOutputMetadataBuffers()
1495 VideoNativeMetadata *nativeMeta = in dequeueBufferFromNativeWindow()
1496 reinterpret_cast<VideoNativeMetadata *>(oldest->mData->base()); in dequeueBufferFromNativeWindow()
1552 && info->mData->size() >= sizeof(VideoNativeMetadata)) { in freeBuffer()
1553 int fenceFd = ((VideoNativeMetadata *)info->mData->data())->nFenceFd; in freeBuffer()
[all …]
/frameworks/native/include/media/hardware/
DHardwareAPI.h141 struct VideoNativeMetadata { struct