Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp399 static std::unique_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local
410 if (sAllocator == nullptr) in CreateLinearBlock()
414 if (sAllocator->getId() == android::C2PlatformAllocatorStore::BLOB) { in CreateLinearBlock()
422 c2_status_t err = sAllocator->priorLinearAllocation(handle, &alloc); in CreateLinearBlock()
434 static std::unique_ptr<C2Allocator> sAllocator = []{ in CreateLinearBlock() local
445 if (sAllocator == nullptr) in CreateLinearBlock()
449 if (sAllocator->getId() == android::C2PlatformAllocatorStore::BLOB) { in CreateLinearBlock()
457 c2_status_t err = sAllocator->priorLinearAllocation(cHandle, &alloc); in CreateLinearBlock()
1148 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local
1152 c2_status_t err = sAllocator->priorGraphicAllocation(cHandle, &alloc); in CreateGraphicBlock()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp223 static std::unique_ptr<C2AllocatorGralloc> sAllocator = std::make_unique<C2AllocatorGralloc>(0); in CreateGraphicBlock() local
237 c2_status_t err = sAllocator->priorGraphicAllocation(handle, &alloc); in CreateGraphicBlock()