Searched refs:nativeMeta (Results 1 – 2 of 2) sorted by relevance
545 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)src; in extractGraphicBuffer() local546 ANativeWindowBuffer *buffer = nativeMeta.pBuffer; in extractGraphicBuffer()559 if (nativeMeta.nFenceFd >= 0) { in extractGraphicBuffer()560 sp<Fence> fence = new Fence(nativeMeta.nFenceFd); in extractGraphicBuffer()561 nativeMeta.nFenceFd = -1; in extractGraphicBuffer()
1828 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in storeFenceInMeta_l() local1829 if (nativeMeta.nFenceFd >= 0) { in storeFenceInMeta_l()1830 ALOGE("fence (%d) already exists in meta", nativeMeta.nFenceFd); in storeFenceInMeta_l()1836 nativeMeta.nFenceFd = fenceFd; in storeFenceInMeta_l()1851 VideoNativeMetadata &nativeMeta = *(VideoNativeMetadata *)(header->pBuffer); in retrieveFenceFromMeta_l() local1852 if (nativeMeta.eType == kMetadataBufferTypeANWBuffer) { in retrieveFenceFromMeta_l()1853 fenceFd = nativeMeta.nFenceFd; in retrieveFenceFromMeta_l()1854 nativeMeta.nFenceFd = -1; in retrieveFenceFromMeta_l()1856 if (metaSize < sizeof(nativeMeta) && fenceFd >= 0) { in retrieveFenceFromMeta_l()1858 NULL, header, nativeMeta.nFenceFd)); in retrieveFenceFromMeta_l()