Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/codec2/vndk/
H A DC2AllocatorBlob.cpp56 C2AllocationBlob(std::shared_ptr<C2GraphicAllocation> graphicAllocation, size_t capacity,
79 std::shared_ptr<C2GraphicAllocation> graphicAllocation, size_t capacity, in C2AllocationBlob() argument
82 mGraphicAllocation(std::move(graphicAllocation)), in C2AllocationBlob()
183 std::shared_ptr<C2GraphicAllocation> graphicAllocation; in newLinearAllocation() local
185 capacity, kLinearBufferHeight, kLinearBufferFormat, usage, &graphicAllocation); in newLinearAllocation()
191 allocation->reset(new C2AllocationBlob(std::move(graphicAllocation), in newLinearAllocation()
208 std::shared_ptr<C2GraphicAllocation> graphicAllocation; in priorLinearAllocation() local
209 c2_status_t status = mC2AllocatorGralloc->priorGraphicAllocation(handle, &graphicAllocation); in priorLinearAllocation()
215 const C2Handle* const grallocHandle = graphicAllocation->handle(); in priorLinearAllocation()
223 allocation->reset(new C2AllocationBlob(std::move(graphicAllocation), capacity, mTraits->id)); in priorLinearAllocation()