Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp48 using aidl::android::hardware::graphics::common::StandardMetadataType;
410 switch (static_cast<StandardMetadataType>(metadataType.value)) in get_metadata()
412 case StandardMetadataType::BUFFER_ID: in get_metadata()
415 case StandardMetadataType::NAME: in get_metadata()
422 case StandardMetadataType::WIDTH: in get_metadata()
425 case StandardMetadataType::HEIGHT: in get_metadata()
428 case StandardMetadataType::LAYER_COUNT: in get_metadata()
431 case StandardMetadataType::PIXEL_FORMAT_REQUESTED: in get_metadata()
434 case StandardMetadataType::PIXEL_FORMAT_FOURCC: in get_metadata()
437 case StandardMetadataType::PIXEL_FORMAT_MODIFIER: in get_metadata()
[all …]
DMapper.cpp587 MetadataTypeDescription describeStandard(StandardMetadataType meta, bool isGettable, bool isSettabl… in describeStandard()
599 describeStandard(StandardMetadataType::BUFFER_ID, true, false ), in listSupportedMetadataTypes()
600 describeStandard(StandardMetadataType::NAME, true, false ), in listSupportedMetadataTypes()
601 describeStandard(StandardMetadataType::WIDTH, true, false ), in listSupportedMetadataTypes()
602 describeStandard(StandardMetadataType::STRIDE, true, false ), in listSupportedMetadataTypes()
603 describeStandard(StandardMetadataType::HEIGHT, true, false ), in listSupportedMetadataTypes()
604 describeStandard(StandardMetadataType::LAYER_COUNT, true, false ), in listSupportedMetadataTypes()
605 describeStandard(StandardMetadataType::PIXEL_FORMAT_REQUESTED, true, false ), in listSupportedMetadataTypes()
606 describeStandard(StandardMetadataType::PIXEL_FORMAT_FOURCC, true, false ), in listSupportedMetadataTypes()
607 describeStandard(StandardMetadataType::PIXEL_FORMAT_MODIFIER, true, false ), in listSupportedMetadataTypes()
[all …]
Dhidl_common.h12 using aidl::android::hardware::graphics::common::StandardMetadataType;
DMapperMetadata.h85 …MetadataType(StandardMetadataType meta) : MetadataType(GRALLOC4_STANDARD_METADATA_TYPE, static_cas… in MetadataType()
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp84 template <typename F, StandardMetadataType metadataType>
87 if constexpr (metadataType == StandardMetadataType::BUFFER_ID) { in getStandardMetadataHelper()
90 if constexpr (metadataType == StandardMetadataType::WIDTH) { in getStandardMetadataHelper()
93 if constexpr (metadataType == StandardMetadataType::HEIGHT) { in getStandardMetadataHelper()
96 if constexpr (metadataType == StandardMetadataType::LAYER_COUNT) { in getStandardMetadataHelper()
99 if constexpr (metadataType == StandardMetadataType::PIXEL_FORMAT_REQUESTED) { in getStandardMetadataHelper()
102 if constexpr (metadataType == StandardMetadataType::PIXEL_FORMAT_FOURCC) { in getStandardMetadataHelper()
105 if constexpr (metadataType == StandardMetadataType::PIXEL_FORMAT_MODIFIER) { in getStandardMetadataHelper()
108 if constexpr (metadataType == StandardMetadataType::USAGE) { in getStandardMetadataHelper()
111 if constexpr (metadataType == StandardMetadataType::ALLOCATION_SIZE) { in getStandardMetadataHelper()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/implutils/
Dimpltests.cpp66 using BufferId = StandardMetadata<StandardMetadataType::BUFFER_ID>::value; in TEST()
83 using DataspaceValue = StandardMetadata<StandardMetadataType::DATASPACE>::value; in TEST()
100 using NameValue = StandardMetadata<StandardMetadataType::NAME>::value; in TEST()
118 using NameValue = StandardMetadata<StandardMetadataType::NAME>::value; in TEST()
137 using NameValue = StandardMetadata<StandardMetadataType::NAME>::value; in TEST()
153 using WidthValue = StandardMetadata<StandardMetadataType::WIDTH>::value; in TEST()
154 using HeightValue = StandardMetadata<StandardMetadataType::HEIGHT>::value; in TEST()
167 using CompressionValue = StandardMetadata<StandardMetadataType::COMPRESSION>::value; in TEST()
183 using PlaneLayoutValue = StandardMetadata<StandardMetadataType::PLANE_LAYOUTS>::value; in TEST()
210 using RectsValue = StandardMetadata<StandardMetadataType::CROP>::value; in TEST()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp77 static std::string toString(const std::vector<StandardMetadataType> types) { in toString()
221 template <StandardMetadataType T>
250 template <StandardMetadataType T>
325 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(bufferHandle); in verifyRGBA8888()
388 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(bufferHandle); in getAndroidYCbCr()
465 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(bufferHandle); in getAndroidYCbCr_P010()
834 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(*handle); in TEST_P()
1000 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(*handle); in TEST_P()
1050 auto decodeResult = getStandardMetadata<StandardMetadataType::PLANE_LAYOUTS>(*handle); in TEST_P()
1261 auto bufferId = getStandardMetadata<StandardMetadataType::BUFFER_ID>(*bufferHandle); in TEST_P()
[all …]
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_mgr.cpp88 using aidl::android::hardware::graphics::common::StandardMetadataType;
1211 case (int64_t)StandardMetadataType::BUFFER_ID: in GetMetadata()
1214 case (int64_t)StandardMetadataType::NAME: { in GetMetadata()
1219 case (int64_t)StandardMetadataType::WIDTH: in GetMetadata()
1222 case (int64_t)StandardMetadataType::HEIGHT: in GetMetadata()
1225 case (int64_t)StandardMetadataType::LAYER_COUNT: in GetMetadata()
1228 case (int64_t)StandardMetadataType::PIXEL_FORMAT_REQUESTED: in GetMetadata()
1233 case (int64_t)StandardMetadataType::PIXEL_FORMAT_FOURCC: { in GetMetadata()
1240 case (int64_t)StandardMetadataType::PIXEL_FORMAT_MODIFIER: { in GetMetadata()
1247 case (int64_t)StandardMetadataType::USAGE: in GetMetadata()
[all …]
DQtiMapper4.cpp52 using aidl::android::hardware::graphics::common::StandardMetadataType;
284 case static_cast<int64_t>(StandardMetadataType::NAME): in getFromBufferDescriptorInfo()
287 case static_cast<int64_t>(StandardMetadataType::WIDTH): in getFromBufferDescriptorInfo()
290 case static_cast<int64_t>(StandardMetadataType::HEIGHT): in getFromBufferDescriptorInfo()
294 case static_cast<int64_t>(StandardMetadataType::LAYER_COUNT): in getFromBufferDescriptorInfo()
298 case static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_REQUESTED): in getFromBufferDescriptorInfo()
302 case static_cast<int64_t>(StandardMetadataType::USAGE): in getFromBufferDescriptorInfo()
305 case static_cast<int64_t>(StandardMetadataType::COMPRESSION): { in getFromBufferDescriptorInfo()
317 case static_cast<int64_t>(StandardMetadataType::PROTECTED_CONTENT): { in getFromBufferDescriptorInfo()
328 case static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_FOURCC): in getFromBufferDescriptorInfo()
[all …]
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dmetadata.h14 using StandardMetadataType = aidl::android::hardware::graphics::common::StandardMetadataType; variable
16 #define MapMetadataType(f) f = static_cast<uint64_t>(StandardMetadataType::f)
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper4.cpp52 using aidl::android::hardware::graphics::common::StandardMetadataType;
284 case static_cast<int64_t>(StandardMetadataType::NAME): in getFromBufferDescriptorInfo()
287 case static_cast<int64_t>(StandardMetadataType::WIDTH): in getFromBufferDescriptorInfo()
290 case static_cast<int64_t>(StandardMetadataType::HEIGHT): in getFromBufferDescriptorInfo()
294 case static_cast<int64_t>(StandardMetadataType::LAYER_COUNT): in getFromBufferDescriptorInfo()
298 case static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_REQUESTED): in getFromBufferDescriptorInfo()
302 case static_cast<int64_t>(StandardMetadataType::USAGE): in getFromBufferDescriptorInfo()
305 case static_cast<int64_t>(StandardMetadataType::COMPRESSION): { in getFromBufferDescriptorInfo()
317 case static_cast<int64_t>(StandardMetadataType::PROTECTED_CONTENT): { in getFromBufferDescriptorInfo()
328 case static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_FOURCC): in getFromBufferDescriptorInfo()
[all …]
Dgr_buf_mgr.cpp88 using aidl::android::hardware::graphics::common::StandardMetadataType;
1246 case (int64_t)StandardMetadataType::BUFFER_ID: in GetMetadata()
1249 case (int64_t)StandardMetadataType::NAME: { in GetMetadata()
1254 case (int64_t)StandardMetadataType::WIDTH: in GetMetadata()
1257 case (int64_t)StandardMetadataType::HEIGHT: in GetMetadata()
1260 case (int64_t)StandardMetadataType::LAYER_COUNT: in GetMetadata()
1263 case (int64_t)StandardMetadataType::PIXEL_FORMAT_REQUESTED: in GetMetadata()
1268 case (int64_t)StandardMetadataType::PIXEL_FORMAT_FOURCC: { in GetMetadata()
1275 case (int64_t)StandardMetadataType::PIXEL_FORMAT_MODIFIER: { in GetMetadata()
1282 case (int64_t)StandardMetadataType::USAGE: in GetMetadata()
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp42 using aidl::android::hardware::graphics::common::StandardMetadataType;
57 AIMapper_MetadataType getMetaType(StandardMetadataType meta) { in getMetaType()
102 template <StandardMetadataType meta>
134 int err = get_metadata<StandardMetadataType::DATASPACE>(hnd, dataspace); in get_dataspace()
150 using dataspace_value = StandardMetadata<StandardMetadataType::DATASPACE>::value; in set_dataspace()
161 hnd, getMetaType(StandardMetadataType::DATASPACE), buffer.data(), in set_dataspace()
313 int err = get_metadata<StandardMetadataType::PIXEL_FORMAT_FOURCC>( in get_format_fourcc()
330 int err = get_metadata<StandardMetadataType::PIXEL_FORMAT_MODIFIER>( in get_format_modifier()
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h50 using ::aidl::android::hardware::graphics::common::StandardMetadataType;
525 template <StandardMetadataType>
530 struct StandardMetadata<StandardMetadataType::typeName> { \
534 static constexpr auto value = static_cast<int64_t>(StandardMetadataType::typeName); \
538 StandardMetadataType::typeName == \
539 ndk::internal::enum_values<StandardMetadataType>[static_cast<size_t>( \
540 StandardMetadataType::typeName)], \
573 void invokeWithStandardMetadata(F&& f, StandardMetadataType type, std::index_sequence<I...>) {
579 constexpr StandardMetadataType type = ndk::internal::enum_values<StandardMetadataType>[I];
580 if constexpr (type != StandardMetadataType::INVALID) {
[all …]
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/1/android/hardware/graphics/common/
DStandardMetadataType.aidl20 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/2/android/hardware/graphics/common/
DStandardMetadataType.aidl36 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/3/android/hardware/graphics/common/
DStandardMetadataType.aidl37 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/4/android/hardware/graphics/common/
DStandardMetadataType.aidl37 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/android/hardware/graphics/common/
DStandardMetadataType.aidl41 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/current/android/hardware/graphics/common/
DStandardMetadataType.aidl37 enum StandardMetadataType { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/5/android/hardware/graphics/common/
DStandardMetadataType.aidl37 enum StandardMetadataType { enum
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp64 using aidl::android::hardware::graphics::common::StandardMetadataType;
181 std::set<StandardMetadataType> foundMetadataTypes; in verifyBufferDump()
193 StandardMetadataType type = gralloc4::getStandardMetadataTypeValue(metadataType); in verifyBufferDump()
460 static const std::set<StandardMetadataType> sRequiredMetadataTypes;
463 const std::set<StandardMetadataType> GraphicsMapperHidlTest::sRequiredMetadataTypes{
464 StandardMetadataType::BUFFER_ID,
465 StandardMetadataType::NAME,
466 StandardMetadataType::WIDTH,
467 StandardMetadataType::HEIGHT,
468 StandardMetadataType::LAYER_COUNT,
[all …]
/hardware/interfaces/graphics/mapper/4.0/
DIMapper.hal404 * graphics/common/StandardMetadataType.aidl), vendors will be able to optionally
415 * buffer metadata types defined in StandardMetadataType.aidl, there are also
429 * "android.hardware.graphics.common.StandardMetadataType" and will contain values
430 * from StandardMetadataType.aidl.
439 * Each company should create their own StandardMetadataType.aidl extension. The name
455 * time. For StandardMetadataType values, only BUFFER_ID, NAME, WIDTH,
467 * IMapper must support getting all StandardMetadataType.aidl values defined
483 * The framework may attempt to set the following StandardMetadataType
/hardware/interfaces/graphics/mapper/stable-c/
DREADME.md109 * Getting the following StandardMetadataType is now mandatory: