Home
last modified time | relevance | path

Searched refs:syncMem (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp80 std::shared_ptr<C2SurfaceSyncMemory> syncMem(new C2SurfaceSyncMemory); in Import() local
81 syncMem->mInit = true; in Import()
82 syncMem->mHandle = o; in Import()
83 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Import()
84 return syncMem; in Import()
101 std::shared_ptr<C2SurfaceSyncMemory> syncMem(new C2SurfaceSyncMemory); in Create() local
102 syncMem->mInit = true; in Create()
103 syncMem->mHandle = handle; in Create()
104 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Create()
105 return syncMem; in Create()
DC2BqBuffer.cpp76 std::shared_ptr<C2SurfaceSyncMemory> syncMem) { in HoldBlockFromBufferQueue() argument
79 return poolData->holdBlockFromBufferQueue(owner, igbp, syncMem); in HoldBlockFromBufferQueue()
109 std::shared_ptr<C2SurfaceSyncMemory> syncMem, in EndAttachBlockToBufferQueue() argument
115 return poolData->endAttachBlockToBufferQueue(owner, igbp, syncMem, generation, bqId, bqSlot); in EndAttachBlockToBufferQueue()
803 std::shared_ptr<C2SurfaceSyncMemory> syncMem) : in C2BufferQueueBlockPoolData() argument
808 mOwner(owner), mIgbp(producer), mSyncMem(syncMem) { in C2BufferQueueBlockPoolData()
851 std::shared_ptr<C2SurfaceSyncMemory> syncMem) { in migrate() argument
932 mSyncMem = syncMem; in migrate()
934 C2SyncVariables *syncVar = syncMem ? syncMem->mem() : nullptr; in migrate()
960 std::shared_ptr<C2SurfaceSyncMemory> syncMem) { in holdBlockFromBufferQueue() argument
[all …]
/frameworks/av/media/codec2/hidl/client/
Doutput.cpp110 std::shared_ptr<C2SurfaceSyncMemory> syncMem) { in attachToBufferQueue() argument
131 C2SyncVariables *syncVar = syncMem ? syncMem->mem() : nullptr; in attachToBufferQueue()
190 std::shared_ptr<C2SurfaceSyncMemory> syncMem; in configure() local
196 syncMem = C2SurfaceSyncMemory::Create(memFd, memSize); in configure()
197 if (syncMem) { in configure()
200 (*syncObj)->syncMemory = syncMem->handle(); in configure()
249 if (syncMem) { in configure()
250 mSyncMem = syncMem; in configure()
380 std::shared_ptr<C2SurfaceSyncMemory> syncMem; in outputBuffer() local
385 syncMem = mSyncMem; in outputBuffer()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp157 SurfaceFenceImpl(std::shared_ptr<C2SurfaceSyncMemory> syncMem, uint32_t waitId) : in SurfaceFenceImpl() argument
158 mSyncMem(syncMem), in SurfaceFenceImpl()
159 mPtr(syncMem ? syncMem->mem() : nullptr), in SurfaceFenceImpl()
160 mWaitId(syncMem ? waitId : 0) {} in SurfaceFenceImpl()
170 std::shared_ptr<C2SurfaceSyncMemory> syncMem, in CreateSurfaceFence() argument
172 if (syncMem) { in CreateSurfaceFence()
174 = new _C2FenceFactory::SurfaceFenceImpl(syncMem, waitId); in CreateSurfaceFence()
/frameworks/av/media/codec2/vndk/include/
DC2BqBufferPriv.h143 std::shared_ptr<C2SurfaceSyncMemory> syncMem);
151 std::shared_ptr<C2SurfaceSyncMemory> syncMem);
157 std::shared_ptr<C2SurfaceSyncMemory> syncMem,
DC2FenceFactory.h40 std::shared_ptr<C2SurfaceSyncMemory> syncMem,
/frameworks/av/media/codec2/vndk/internal/
DC2BlockInternal.h295 std::shared_ptr<C2SurfaceSyncMemory> syncMem = nullptr);