Home
last modified time | relevance | path

Searched refs:BufferDescriptorInfo (Results 1 – 25 of 56) sorted by relevance

123

/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp30 android::hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo;
31 static_assert(sizeof(OldBufferDescriptorInfo) == sizeof(IMapper::BufferDescriptorInfo) &&
33 offsetof(IMapper::BufferDescriptorInfo, width) &&
35 offsetof(IMapper::BufferDescriptorInfo, height) &&
37 offsetof(IMapper::BufferDescriptorInfo, layerCount) &&
39 offsetof(IMapper::BufferDescriptorInfo, format) &&
41 offsetof(IMapper::BufferDescriptorInfo, usage),
70 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
95 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
106 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
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,
DMapper.h42 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
66 Return<void> createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor_2_1()
/hardware/interfaces/graphics/allocator/aidl/android/hardware/graphics/allocator/
DIAllocator.aidl20 import android.hardware.graphics.allocator.BufferDescriptorInfo;
54 AllocationResult allocate2(in BufferDescriptorInfo descriptor, in int count); in allocate2()
67 boolean isSupported(in BufferDescriptorInfo descriptor); in isSupported()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h94 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
97 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
102 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
107 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
120 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
140 const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t stride);
144 bool isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo);
148 bool isSupportedNoFailure(const IMapper::BufferDescriptorInfo& descriptorInfo);
156 Error getFromBufferDescriptorInfo(const IMapper::BufferDescriptorInfo& descriptorInfo,
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
DMapperVts.h42 const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t stride);
46 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
48 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.h49 …Return<void> createDescriptor(const BufferDescriptorInfo &descriptorInfo, createDescriptor_cb hidl…
55 …Return<hidl::Error> validateBufferSize(void *buffer, const IMapper::BufferDescriptorInfo &descript…
69 …Return<void> isSupported(const IMapper::BufferDescriptorInfo &description, isSupported_cb hidl_cb)…
75 …Return<void> getFromBufferDescriptorInfo(BufferDescriptorInfo const &description, MetadataType con…
DGrallocMapper.cpp44 Return<void> GrallocMapper::createDescriptor(const BufferDescriptorInfo &descriptorInfo, createDesc… in createDescriptor()
83 Return<hidl::Error> GrallocMapper::validateBufferSize(void *buffer, const BufferDescriptorInfo &des… in validateBufferSize()
87 if (!common::validateDescriptorInfo<BufferDescriptorInfo>(descriptorInfo)) in validateBufferSize()
194 Return<void> GrallocMapper::getFromBufferDescriptorInfo(const BufferDescriptorInfo &description, in getFromBufferDescriptorInfo()
214 Return<void> GrallocMapper::isSupported(const IMapper::BufferDescriptorInfo &description, isSupport… in isSupported()
216 if (!common::validateDescriptorInfo<BufferDescriptorInfo>(description)) in isSupported()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h57 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
64 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
80 const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t stride);
84 bool isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo);
/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/allocator/aidl/vts/
DVtsHalGraphicsAllocatorAidl_TargetTest.cpp69 static IMapper4::BufferDescriptorInfo convert(const BufferDescriptorInfo& info) { in convert()
70 return IMapper4::BufferDescriptorInfo{ in convert()
88 const BufferDescriptorInfo mInfo;
95 uint32_t stride, const BufferDescriptorInfo& info) in BufferHandle()
165 BufferDescriptor createDescriptor(const BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
177 std::unique_ptr<BufferHandle> allocate(const BufferDescriptorInfo& descriptorInfo) { in allocate()
207 bool isSupported(const BufferDescriptorInfo& descriptorInfo) { in isSupported()
330 BufferDescriptorInfo info{ in TEST_P()
356 BufferDescriptorInfo info{ in TEST_P()
372 BufferDescriptorInfo info{ in TEST_P()
[all …]
/hardware/interfaces/graphics/allocator/aidl/aidl_api/android.hardware.graphics.allocator/2/android/hardware/graphics/allocator/
DIAllocator.aidl41 …AllocationResult allocate2(in android.hardware.graphics.allocator.BufferDescriptorInfo descriptor,… in allocate2()
42 boolean isSupported(in android.hardware.graphics.allocator.BufferDescriptorInfo descriptor); in isSupported()
/hardware/interfaces/graphics/allocator/aidl/aidl_api/android.hardware.graphics.allocator/current/android/hardware/graphics/allocator/
DIAllocator.aidl41 …AllocationResult allocate2(in android.hardware.graphics.allocator.BufferDescriptorInfo descriptor,… in allocate2()
42 boolean isSupported(in android.hardware.graphics.allocator.BufferDescriptorInfo descriptor); in isSupported()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h38 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
71 Error createDescriptor_2_1(const IMapper::BufferDescriptorInfo& descriptorInfo, in createDescriptor_2_1()
74 V2_0::IMapper::BufferDescriptorInfo{ in createDescriptor_2_1()
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/google/gchips/include/
DGrallocWrapper.h44 const IMapper::BufferDescriptorInfo& descriptorInfo,
99 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, in allocate()
110 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
/hardware/google/gchips/gralloc4/src/aidl/
DGrallocAllocator2.h26 virtual ndk::ScopedAStatus allocate2(const AidlAllocator::BufferDescriptorInfo& descriptor,
30 virtual ndk::ScopedAStatus isSupported(const AidlAllocator::BufferDescriptorInfo& descriptor,
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h56 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
63 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
/hardware/google/camera/common/sensor_listener/
Dgoog_gralloc_wrapper.h61 BufferDescriptorInfo& descriptor_info,
70 BufferDescriptorInfo& descriptor_info);
/hardware/interfaces/graphics/mapper/2.1/
DIMapper.hal27 * This is the same as @2.0::IMapper::BufferDescriptorInfo except that it
30 struct BufferDescriptorInfo {
74 BufferDescriptorInfo descriptorInfo,
101 * accepts @2.1::IMapper::BufferDescriptorInfo.
121 createDescriptor_2_1(BufferDescriptorInfo descriptorInfo)
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp144 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
180 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
302 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
327 bool Gralloc::isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo) { in isSupported()
336 bool Gralloc::isSupportedNoFailure(const IMapper::BufferDescriptorInfo& descriptorInfo) { in isSupportedNoFailure()
360 Error Gralloc::getFromBufferDescriptorInfo(const IMapper::BufferDescriptorInfo& descriptorInfo, in getFromBufferDescriptorInfo()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.h136 Error validateBufferSize(void *buffer, const IMapper::BufferDescriptorInfo &descriptorInfo, uint32_…
161 bool isSupported(const IMapper::BufferDescriptorInfo &description);
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.h70 android::hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo;
98 hidl_vec<uint32_t> Encode(const IMapper_3_0::BufferDescriptorInfo &bd_info) { in Encode()
131 bool ValidDescriptor(const IMapper::BufferDescriptorInfo &bd);
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper.h70 android::hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo;
98 hidl_vec<uint32_t> Encode(const IMapper_3_0::BufferDescriptorInfo &bd_info) { in Encode()
131 bool ValidDescriptor(const IMapper::BufferDescriptorInfo &bd);
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp128 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
147 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
268 const IMapper::BufferDescriptorInfo& descriptorInfo, in validateBufferSize()
293 bool Gralloc::isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo) { in isSupported()

123