Home
last modified time | relevance | path

Searched refs:HandleSyncMem (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp29 const native_handle_t C2SurfaceSyncMemory::HandleSyncMem::cHeader = {
30 C2SurfaceSyncMemory::HandleSyncMem::version,
31 C2SurfaceSyncMemory::HandleSyncMem::numFds,
32 C2SurfaceSyncMemory::HandleSyncMem::numInts,
36 bool C2SurfaceSyncMemory::HandleSyncMem::isValid(const native_handle_t * const o) { in isValid()
41 const HandleSyncMem *other = static_cast<const HandleSyncMem*>(o); in isValid()
62 if (!HandleSyncMem::isValid(handle)) { in Import()
66 HandleSyncMem *o = static_cast<HandleSyncMem*>(handle); in Import()
91 HandleSyncMem *handle = new HandleSyncMem(fd, size); in Create()
/frameworks/av/media/codec2/vndk/include/
DC2SurfaceSyncObj.h150 struct HandleSyncMem : public native_handle_t { struct
151 HandleSyncMem(int fd, size_t size) : in HandleSyncMem() function
227 HandleSyncMem *mHandle;