Home
last modified time | relevance | path

Searched refs:memFd (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/hidl/client/
Doutput.cpp193 int memFd = ashmem_create_region("C2SurfaceMem", sizeof(C2SyncVariables)); in configure() local
194 size_t memSize = memFd < 0 ? 0 : ashmem_get_size_region(memFd); in configure()
196 syncMem = C2SurfaceSyncMemory::Create(memFd, memSize); in configure()
208 if (memFd >= 0) { in configure()
209 ::close(memFd); in configure()
/frameworks/av/media/codec2/vndk/include/
DC2SurfaceSyncObj.h160 int memFd() const {return mFds.mMem;} in memFd() function
/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp72 void *ptr = mmap(NULL, o->size(), PROT_READ | PROT_WRITE, MAP_SHARED, o->memFd(), 0); in Import()