Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/codec2/vndk/
H A DC2AllocatorBlob.cpp64 const C2Handle* handle() const override { return mGraphicAllocation->handle(); } in handle()
70 const std::shared_ptr<C2GraphicAllocation> mGraphicAllocation; member in android::C2AllocationBlob
82 mGraphicAllocation(std::move(graphicAllocation)), in C2AllocationBlob()
89 mGraphicAllocation->unmap(&mMappedAddr, rect, nullptr); in ~C2AllocationBlob()
111 c2_status_t err = mGraphicAllocation->map(rect, usage, fence, &layout, &mMappedAddr); in map()
146 c2_status_t err = mGraphicAllocation->unmap(&mMappedAddr, rect, fenceFd); in unmap()
/aosp12/frameworks/av/media/codec2/tests/vndk/
H A DC2BufferTest.cpp295 &mGraphicAllocation); in allocateGraphic()
297 mGraphicAllocation.reset(); in allocateGraphic()
303 ASSERT_TRUE(mGraphicAllocation); in mapGraphic()
304 c2_status_t err = mGraphicAllocation->map( in mapGraphic()
322 ASSERT_TRUE(mGraphicAllocation); in unmapGraphic()
325 ASSERT_EQ(C2_OK, mGraphicAllocation->unmap(mAddrGraphic, mMappedRect, nullptr)); in unmapGraphic()
347 std::shared_ptr<C2GraphicAllocation> mGraphicAllocation; member in android::C2BufferTest