Home
last modified time | relevance | path

Searched refs:_C2FenceFactory (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/tests/vndk/
DC2FenceTest.cpp118 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateNullFence()
128 C2Fence fence = _C2FenceFactory::CreateSyncFence(-1, false /* validate */); in TEST_F()
139 C2Fence fence = _C2FenceFactory::CreateSyncFence(fd, false /* validate */); in TEST_F()
161 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateSingleFdFence()
182 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F()
197 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F()
212 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F()
227 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F()
252 C2Fence fence = _C2FenceFactory::CreateFromNativeHandle(handle, true /* takeOwnership */); in TEST_F()
277 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateTwoFdUnorderedFence()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp148 class _C2FenceFactory::SurfaceFenceImpl: public C2Fence::Impl {
205 C2Fence _C2FenceFactory::CreateSurfaceFence( in CreateSurfaceFence()
210 = new _C2FenceFactory::SurfaceFenceImpl(syncMem, waitId); in CreateSurfaceFence()
269 class _C2FenceFactory::SyncFenceImpl : public C2Fence::Impl {
469 retFds = static_cast<_C2FenceFactory::SyncFenceImpl *>(fence.mImpl.get())->fds(); in ExtractFdsFromCodec2SyncFence()
474 C2Fence _C2FenceFactory::CreateSyncFence(int fenceFd, bool validate) { in CreateSyncFence()
477 p = std::make_shared<_C2FenceFactory::SyncFenceImpl>(fenceFd); in CreateSyncFence()
491 C2Fence _C2FenceFactory::CreateUnorderedMultiSyncFence( in CreateUnorderedMultiSyncFence()
552 p = std::make_shared<_C2FenceFactory::SyncFenceImpl>(finalFence); in CreateUnorderedMultiSyncFence()
559 p = std::make_shared<_C2FenceFactory::SyncFenceImpl>(fences, finalFence); in CreateUnorderedMultiSyncFence()
[all …]
/frameworks/av/media/codec2/vndk/include/
DC2FenceFactory.h46 struct _C2FenceFactory { struct
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp467 C2Fence waitFence = _C2FenceFactory::CreatePipeFence(waitFd); in TEST_F()
528 C2Fence waitFence = _C2FenceFactory::CreatePipeFence(waitFd); in TEST_F()
572 C2Fence waitFence = _C2FenceFactory::CreatePipeFence(waitFd); in TEST_F()
704 C2Fence waitFence = _C2FenceFactory::CreatePipeFence(waitFd); in TEST_F()
771 C2Fence waitFence = _C2FenceFactory::CreatePipeFence(waitFd); in TEST_F()
/frameworks/av/media/codec2/vndk/platform/
DC2IgbaBuffer.cpp179 mWaitFence = _C2FenceFactory::CreatePipeFence(std::move(ufd)); in C2IgbaBlockPool()
263 C2Fence syncFence = _C2FenceFactory::CreateSyncFence(allocation.fence.release()); in _fetchGraphicBlock()
DC2BqBuffer.cpp397 *c2Fence = _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l()
411 *c2Fence = _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l()
465 _C2FenceFactory::CreateSurfaceFence(mSyncMem, waitId); in fetchFromIgbp_l()
/frameworks/av/media/codec2/hal/aidl/
DBufferTypes.cpp172 native_handle_t* handle = _C2FenceFactory::CreateNativeHandle(s); in objcpy()
194 *d = _C2FenceFactory::CreateFromNativeHandle(handle); in objcpy()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h234 native_handle_t* handle = _C2FenceFactory::CreateNativeHandle(s); in objcpy()
563 *d = _C2FenceFactory::CreateFromNativeHandle(handle); in objcpy()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h133 friend struct _C2FenceFactory;