Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp160 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams()
540 if (srcSize < sizeof(VideoNativeMetadata)) { in extractGraphicBuffer()
541 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoNativeMetadata)); in extractGraphicBuffer()
545 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)src; in extractGraphicBuffer()
670 max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)) in validateInputBuffer()
DOMXNodeInstance.cpp1190 allottedSize = sizeof(VideoNativeMetadata); in useBuffer_l()
1463 && data->capacity() >= sizeof(VideoNativeMetadata)) { in updateGraphicBufferInMeta_l()
1464 VideoNativeMetadata &metadata = *(VideoNativeMetadata *)(data->data()); in updateGraphicBufferInMeta_l()
1827 && metaSize >= sizeof(VideoNativeMetadata)) { in storeFenceInMeta_l()
1828 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l()
1850 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()
1851 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in retrieveFenceFromMeta_l()
1931 header->nFilledLen = sizeof(VideoNativeMetadata); in emptyGraphicBuffer_l()
2012 header->nFilledLen = (nativeHandle == NULL) ? 0 : sizeof(VideoNativeMetadata); in emptyNativeHandleBuffer_l()
/frameworks/av/media/libstagefright/
DCameraSource.cpp608 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()
949 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in releaseRecordingFrame()
1386 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in processBufferQueueFrame()
1388 memset(payload, 0, sizeof(VideoNativeMetadata)); in processBufferQueueFrame()
DACodec.cpp881 bufSize = sizeof(VideoNativeMetadata); in allocateBuffersOnPort()
987 VideoNativeMetadata* metaData = (VideoNativeMetadata*)( in allocateBuffersOnPort()
1333 ((VideoNativeMetadata *)info.mData->base())->nFenceFd = -1; in allocateOutputMetadataBuffers()
1612 && info->mCodecData->size() >= sizeof(VideoNativeMetadata)) { in freeBuffer()
1613 int fenceFd = ((VideoNativeMetadata *)info->mCodecData->base())->nFenceFd; in freeBuffer()
6143 if (info->mCodecData->size() >= sizeof(VideoNativeMetadata)) { in onInputBufferFilled()
6144 VideoNativeMetadata *vnmd = (VideoNativeMetadata*)info->mCodecData->base(); in onInputBufferFilled()
/frameworks/native/headers/media_plugin/media/hardware/
DHardwareAPI.h143 struct VideoNativeMetadata { struct
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp563 : Codec2Buffer(format, new ABuffer(sizeof(VideoNativeMetadata))), in GraphicMetadataBuffer()
565 ((VideoNativeMetadata *)base())->pBuffer = nullptr; in GraphicMetadataBuffer()
570 VideoNativeMetadata *meta = (VideoNativeMetadata *)base(); in asC2Buffer()