Searched refs:mGraphicAllocation (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 62 const C2Handle* handle() const override { return mGraphicAllocation->handle(); } in handle() 68 const std::shared_ptr<C2GraphicAllocation> mGraphicAllocation; member in android::C2AllocationBlob 76 mGraphicAllocation(std::move(graphicAllocation)), in C2AllocationBlob() 85 return mGraphicAllocation->map(rect, usage, fence, &layout, reinterpret_cast<uint8_t**>(addr)); in map() 90 return mGraphicAllocation->unmap(reinterpret_cast<uint8_t**>(&addr), rect, fenceFd); in unmap()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 294 &mGraphicAllocation); in allocateGraphic() 296 mGraphicAllocation.reset(); in allocateGraphic() 302 ASSERT_TRUE(mGraphicAllocation); in mapGraphic() 303 c2_status_t err = mGraphicAllocation->map( in mapGraphic() 321 ASSERT_TRUE(mGraphicAllocation); in unmapGraphic() 324 ASSERT_EQ(C2_OK, mGraphicAllocation->unmap(mAddrGraphic, mMappedRect, nullptr)); in unmapGraphic() 341 std::shared_ptr<C2GraphicAllocation> mGraphicAllocation; member in android::C2BufferTest
|