Searched refs:VideoNativeMetadata (Results 1 – 5 of 5) sorted by relevance
160 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()
1152 allottedSize = sizeof(VideoNativeMetadata); in useBuffer_l()1425 && data->capacity() >= sizeof(VideoNativeMetadata)) { in updateGraphicBufferInMeta_l()1426 VideoNativeMetadata &metadata = *(VideoNativeMetadata *)(data->data()); in updateGraphicBufferInMeta_l()1770 && metaSize >= sizeof(VideoNativeMetadata)) { in storeFenceInMeta_l()1771 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l()1793 && header->nAllocLen >= sizeof(VideoNativeMetadata)) { in retrieveFenceFromMeta_l()1794 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in retrieveFenceFromMeta_l()1874 header->nFilledLen = sizeof(VideoNativeMetadata); in emptyGraphicBuffer_l()1955 header->nFilledLen = (nativeHandle == NULL) ? 0 : sizeof(VideoNativeMetadata); in emptyNativeHandleBuffer_l()
143 struct VideoNativeMetadata { struct
607 createVideoBufferMemoryHeap(sizeof(VideoNativeMetadata), bufferCount); in initBufferQueue()947 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in releaseRecordingFrame()1379 VideoNativeMetadata *payload = reinterpret_cast<VideoNativeMetadata*>( in processBufferQueueFrame()1381 memset(payload, 0, sizeof(VideoNativeMetadata)); in processBufferQueueFrame()
881 bufSize = sizeof(VideoNativeMetadata); in allocateBuffersOnPort()987 VideoNativeMetadata* metaData = (VideoNativeMetadata*)( in allocateBuffersOnPort()1330 ((VideoNativeMetadata *)info.mData->base())->nFenceFd = -1; in allocateOutputMetadataBuffers()1609 && info->mCodecData->size() >= sizeof(VideoNativeMetadata)) { in freeBuffer()1610 int fenceFd = ((VideoNativeMetadata *)info->mCodecData->base())->nFenceFd; in freeBuffer()5942 if (info->mCodecData->size() >= sizeof(VideoNativeMetadata)) { in onInputBufferFilled()5943 VideoNativeMetadata *vnmd = (VideoNativeMetadata*)info->mCodecData->base(); in onInputBufferFilled()