Searched refs:nativeMeta (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp536 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)src; local
537 ANativeWindowBuffer *buffer = nativeMeta.pBuffer;
549 if (nativeMeta.nFenceFd >= 0) {
550 sp<Fence> fence = new Fence(nativeMeta.nFenceFd);
551 nativeMeta.nFenceFd = -1;
H A DOMXNodeInstance.cpp1321 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); local
1322 if (nativeMeta.nFenceFd >= 0) {
1323 ALOGE("fence (%d) already exists in meta", nativeMeta.nFenceFd);
1329 nativeMeta.nFenceFd = fenceFd;
1344 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); local
1345 if (nativeMeta.eType == kMetadataBufferTypeANWBuffer) {
1346 fenceFd = nativeMeta.nFenceFd;
1347 nativeMeta.nFenceFd = -1;
1349 if (metaSize < sizeof(nativeMeta) && fenceFd >= 0) {
1351 NULL, header, nativeMeta
[all...]
H A DGraphicBufferSource.cpp383 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)data; local
384 if (nativeMeta.pBuffer != codecBuffer.mGraphicBuffer->getNativeBuffer()) {
387 nativeMeta.pBuffer, codecBuffer.mGraphicBuffer->getNativeBuffer());
/frameworks/av/media/libstagefright/
H A DACodec.cpp1495 VideoNativeMetadata *nativeMeta = local
1500 (void *)(uintptr_t)nativeMeta->pBuffer,
6032 VideoNativeHandleMetadata &nativeMeta = local
6034 if (info->mData->size() >= sizeof(nativeMeta)
6035 && nativeMeta.eType == kMetadataBufferTypeNativeHandleSource) {
6040 handle = (native_handle_t *)nativeMeta.pHandle;

Completed in 242 milliseconds