Lines Matching refs:AVSharedMemoryPool
22 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_DOMAIN_FOUNDATION, "AVSharedMemoryPool" };
31 AVSharedMemoryPool::AVSharedMemoryPool(const std::string &name) : name_(name)
36 AVSharedMemoryPool::~AVSharedMemoryPool()
42 int32_t AVSharedMemoryPool::Init(const InitializeOption &option)
68 AVSharedMemory *AVSharedMemoryPool::AllocMemory(int32_t size)
81 void AVSharedMemoryPool::ReleaseMemory(AVSharedMemory *memory)
108 bool AVSharedMemoryPool::DoAcquireMemory(int32_t size, AVSharedMemory **outMemory)
151 bool AVSharedMemoryPool::CheckSize(int32_t size)
174 std::shared_ptr<AVSharedMemory> AVSharedMemoryPool::AcquireMemory(int32_t size, bool blocking)
203 std::shared_ptr<AVSharedMemoryPool> pool = weakPool.lock();
216 void AVSharedMemoryPool::SetNonBlocking(bool enable)
226 void AVSharedMemoryPool::Reset()