Home
last modified time | relevance | path

Searched refs:IMapper (Results 1 – 25 of 70) sorted by relevance

123

/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp32 android::hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo;
33 static_assert(sizeof(OldBufferDescriptorInfo) == sizeof(IMapper::BufferDescriptorInfo) &&
35 offsetof(IMapper::BufferDescriptorInfo, width) &&
37 offsetof(IMapper::BufferDescriptorInfo, height) &&
39 offsetof(IMapper::BufferDescriptorInfo, layerCount) &&
41 offsetof(IMapper::BufferDescriptorInfo, format) &&
43 offsetof(IMapper::BufferDescriptorInfo, usage),
63 mMapperV2_1 = IMapper::castFrom(V2_0::vts::Gralloc::getMapper()); in init()
67 sp<IMapper> Gralloc::getMapper() const { in getMapper()
72 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
[all …]
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h56 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
61 sp<IMapper> getMapper() const;
63 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
72 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel,
75 const IMapper::Rect& accessRegion, int acquireFence);
79 const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t stride);
83 bool isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo);
93 sp<IMapper> mMapper;
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
DMapperVts.h39 sp<IMapper> getMapper() const;
42 const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t stride);
46 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
48 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
54 sp<IMapper> mMapperV2_1;
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h55 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
60 sp<IMapper> getMapper() const;
62 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
71 const IMapper::Rect& accessRegion, int acquireFence);
73 const IMapper::Rect& accessRegion, int acquireFence);
81 sp<IMapper> mMapper;
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DGrallocWrapper.h37 sp<mapper2::IMapper> getMapper() const;
48 const native_handle_t* allocate(const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo,
52 const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo);
61 const mapper2::IMapper::Rect& accessRegion, int acquireFence);
70 sp<mapper2::IMapper> mMapper;
/hardware/interfaces/camera/common/1.0/default/include/
DHandleImporter.h25 using android::hardware::graphics::mapper::V2_0::IMapper;
53 const IMapper::Rect& accessRegion);
65 const IMapper::Rect& accessRegion);
71 sp<IMapper> mMapperV2;
72 sp<graphics::mapper::V3_0::IMapper> mMapperV3;
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h42 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
52 Return<void> getTransportSize(void* buffer, IMapper::getTransportSize_cb hidl_cb) { in getTransportSize()
66 Return<void> createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor_2_1()
67 IMapper::createDescriptor_2_1_cb hidl_cb) override { in createDescriptor_2_1()
82 using Mapper = detail::MapperImpl<IMapper, MapperHal>;
DMapperHal.h37 Error createDescriptor(const V2_0::IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor()
40 IMapper::BufferDescriptorInfo{ in createDescriptor()
50 const IMapper::BufferDescriptorInfo& descriptorInfo,
59 virtual Error createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo,
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h49 Return<void> createDescriptor(const V2_0::IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor()
50 IMapper::createDescriptor_cb hidl_cb) override { in createDescriptor()
58 IMapper::importBuffer_cb hidl_cb) override { in importBuffer()
91 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock()
92 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock()
112 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr()
114 IMapper::lockYCbCr_cb hidl_cb) override { in lockYCbCr()
134 Return<void> unlock(void* buffer, IMapper::unlock_cb hidl_cb) override { in unlock()
203 using Mapper = detail::MapperImpl<IMapper, MapperHal>;
DMapperHal.h34 virtual Error createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo,
46 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
51 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
/hardware/qcom/sdm845/display/gralloc/
DQtiMapper.h47 using ::android::hardware::graphics::mapper::V2_0::IMapper;
61 using IMapper_2_1 = android::hardware::graphics::mapper::V2_1::IMapper;
63 android::hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo;
65 android::hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo;
76 Return<void> lock(void *buffer, uint64_t cpu_usage, const IMapper::Rect &access_region,
78 Return<void> lockYCbCr(void *buffer, uint64_t cpu_usage, const IMapper::Rect &access_region,
106 bool ValidDescriptor(const IMapper::BufferDescriptorInfo &bd);
Dgr_buf_descriptor.h38 using android::hardware::graphics::mapper::V2_1::IMapper;
49 static hidl_vec<uint32_t> Encode(const IMapper::BufferDescriptorInfo &bd_info) { in Encode()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp41 mMapper = ::testing::VtsHalHidlTargetTestBase::getService<IMapper>(mapperServiceName); in init()
50 mMapper = ::testing::VtsHalHidlTargetTestBase::getService<IMapper>(mapperServiceName); in initNoErr()
124 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
139 sp<IMapper> Gralloc::getMapper() const { in getMapper()
143 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
182 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel, in lock()
215 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr()
264 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
289 bool Gralloc::isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo) { in isSupported()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp30 using IMapperV3 = android::hardware::graphics::mapper::V3_0::IMapper;
45 mMapperV2 = IMapper::getService(); in initializeLocked()
88 uint64_t cpuUsage, const IMapper::Rect& accessRegion) { in lockYCbCrInternal()
159 return importBufferInternal<IMapper, MapperErrorV2>(mMapperV2, handle); in importBuffer()
247 IMapper::Rect accessRegion { 0, 0, static_cast<int>(size), 1 }; in lock()
265 const IMapper::Rect& accessRegion) { in lockYCbCr()
278 return lockYCbCrInternal<IMapper, MapperErrorV2>( in lockYCbCr()
291 return unlockInternal<IMapper, MapperErrorV2>(mMapperV2, buf); in unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGrallocBufferDescriptor.h38 const IMapper::BufferDescriptorInfo& descriptorInfo) { in grallocEncodeBufferDescriptor()
53 IMapper::BufferDescriptorInfo* outDescriptorInfo) { in grallocDecodeBufferDescriptor()
59 *outDescriptorInfo = IMapper::BufferDescriptorInfo{ in grallocDecodeBufferDescriptor()
/hardware/interfaces/graphics/mapper/2.0/default/
Dpassthrough.cpp19 using android::hardware::graphics::mapper::V2_0::IMapper;
22 extern "C" IMapper* HIDL_FETCH_IMapper(const char* /*name*/) { in HIDL_FETCH_IMapper()
/hardware/interfaces/graphics/mapper/2.1/default/
Dpassthrough.cpp19 using android::hardware::graphics::mapper::V2_1::IMapper;
22 extern "C" IMapper* HIDL_FETCH_IMapper(const char* /*name*/) { in HIDL_FETCH_IMapper()
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp35 mMapper = mapper2::IMapper::getService(); in init()
111 const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo, bool import, in allocate()
118 sp<mapper2::IMapper> GrallocWrapper::getMapper() const { in getMapper()
123 const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
167 const mapper2::IMapper::Rect& accessRegion, int acquireFence) { in lock()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp36 mMapper = ::testing::VtsHalHidlTargetTestBase::getService<IMapper>(mapperServiceName); in init()
109 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
124 sp<IMapper> Gralloc::getMapper() const { in getMapper()
128 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
167 const IMapper::Rect& accessRegion, int acquireFence) { in lock()
193 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h38 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
62 Error createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor_2_1()
65 V2_0::IMapper::BufferDescriptorInfo{ in createDescriptor_2_1()
DGrallocLoader.h37 static IMapper* load() { in load()
68 static IMapper* createMapper(std::unique_ptr<hal::MapperHal> hal) { in createMapper()
DGralloc1Hal.h40 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
73 Error createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor_2_1()
78 V2_0::IMapper::BufferDescriptorInfo{ in createDescriptor_2_1()
/hardware/interfaces/graphics/mapper/2.1/
DIMapper.hal23 import @2.0::IMapper;
25 interface IMapper extends @2.0::IMapper {
27 * This is the same as @2.0::IMapper::BufferDescriptorInfo except that it
100 * This is the same as @2.0::IMapper::createDescriptor except that it
101 * accepts @2.1::IMapper::BufferDescriptorInfo.
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.h40 using android::hardware::graphics::mapper::V2_0::IMapper;
68 android::sp<IMapper> mapper_;
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp49 registerTestService<IMapper>(); in registerTestServices()
59 GraphicsMapperHidlEnvironment::Instance()->getServiceName<IMapper>())); in SetUp()
72 IMapper::BufferDescriptorInfo mDummyDescriptorInfo{};
224 GraphicsMapperHidlEnvironment::Instance()->getServiceName<IMapper>())); in TEST_F()
297 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_F()
344 const IMapper::Rect region{0, 0, static_cast<int32_t>(info.width), in TEST_F()

123