Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp463 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local
471 if (sAllocator == nullptr) in CreateLinearBlock()
474 bool isValidHandle = sAllocator->checkHandle(handle); in CreateLinearBlock()
478 c2_status_t err = sAllocator->priorLinearAllocation(handle, &alloc); in CreateLinearBlock()
490 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local
498 if (sAllocator == nullptr) in CreateLinearBlock()
501 bool isValidHandle = sAllocator->checkHandle(cHandle); in CreateLinearBlock()
505 c2_status_t err = sAllocator->priorLinearAllocation(cHandle, &alloc); in CreateLinearBlock()
521 static std::shared_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local
530 if (sAllocator == nullptr) in CreateLinearBlock()
[all …]
/frameworks/av/media/codec2/vndk/platform/
DC2IgbaBuffer.cpp125 static std::shared_ptr<C2AllocatorAhwb> sAllocator = std::make_shared<C2AllocatorAhwb>(0); in CreateGraphicBlock() local
128 ahwb, std::static_pointer_cast<C2Allocator>(sAllocator), nullptr, &block); in CreateGraphicBlock()
DC2BqBuffer.cpp132 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local
146 c2_status_t err = sAllocator->priorGraphicAllocation(handle, &alloc); in CreateGraphicBlock()