/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | MapperMetadata.h | 93 MetadataType metadataType; member 99 metadataType = desc.metadataType; in MetadataTypeDescription() 106 desc.metadataType = static_cast<IMapper::MetadataType>(metadataType); in MetadataTypeDescription() 114 metadataType = desc.metadataType; in MetadataTypeDescription() 121 desc.metadataType = static_cast<AIMapper_MetadataType>(metadataType); in AIMapper_MetadataTypeDescription() 130 metadataType = meta; in MetadataTypeDescription() 138 MetadataType metadataType; member 142 metadataType = MetadataType(meta.metadataType); in MetadataDump() 147 dump.metadataType = static_cast<IMapper::MetadataType>(metadataType); in MetadataDump() 154 metadataType = metaType; in MetadataDump() [all …]
|
D | MapperMetadata.cpp | 56 bool isStandardMetadataType(const MetadataType &metadataType) { in isStandardMetadataType() argument 57 return !std::strncmp(metadataType.name.c_str(), in isStandardMetadataType() 59 metadataType.name.size()); in isStandardMetadataType() 403 Error get_metadata(const private_handle_t *handle, const MetadataType &metadataType, std::vector<ui… in get_metadata() argument 408 if (isStandardMetadataType(metadataType)) in get_metadata() 410 switch (static_cast<StandardMetadataType>(metadataType.value)) in get_metadata() 577 else if (metadataType.name == ::pixel::graphics::kPixelMetadataTypeName) { in get_metadata() 578 switch (static_cast<::pixel::graphics::MetadataType>(metadataType.value)) { in get_metadata() 620 Error set_metadata(const private_handle_t *handle, const MetadataType &metadataType, const framewor… in set_metadata() argument 623 if (isStandardMetadataType(metadataType)) in set_metadata() [all …]
|
D | Mapper.h | 197 Error get(buffer_handle_t buffer, const MetadataType &metadataType, std::vector<uint8_t> &vec); 210 Error set(buffer_handle_t buffer, const MetadataType &metadataType, const frameworks_vec<uint8_t> &…
|
D | Mapper.cpp | 549 Error get(buffer_handle_t buffer, const MetadataType &metadataType, std::vector<uint8_t> &vec) in get() argument 565 return get_metadata(handle, metadataType, vec); in get() 568 Error set(buffer_handle_t buffer, const MetadataType &metadataType, const hidl_vec<uint8_t> &metada… in set() argument 584 return set_metadata(handle, metadataType, metadata); in set() 656 for (const auto& metadataType: standardMetadataTypes) in dumpBufferHelper() local 659 Error error = get_metadata(handle, metadataType, metadata); in dumpBufferHelper() 662 metadataDumps.push_back(MetadataDump(MetadataType(metadataType), metadata)); in dumpBufferHelper()
|
/hardware/google/gchips/gralloc4/src/stable-c/ |
D | GrallocMapper.cpp | 84 template <typename F, StandardMetadataType metadataType> 86 StandardMetadata<metadataType>) { in getStandardMetadataHelper() argument 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() [all …]
|
D | GrallocMapper.h | 53 int32_t getMetadata(buffer_handle_t _Nonnull buffer, AIMapper_MetadataType metadataType, 59 AIMapper_Error setMetadata(buffer_handle_t _Nonnull buffer, AIMapper_MetadataType metadataType,
|
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/ |
D | IMapper.h | 106 AIMapper_MetadataType metadataType; member 143 AIMapper_MetadataType metadataType, 468 AIMapper_MetadataType metadataType, void* _Nullable destBuffer, 536 AIMapper_MetadataType metadataType,
|
/hardware/google/gchips/gralloc4/src/4.x/ |
D | GrallocMapper.h | 71 Return<void> get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hidl_cb) override; 73 …Return<hidl::Error> set(void *buffer, const MetadataType &metadataType, const hidl_vec<uint8_t> &m… 75 …FromBufferDescriptorInfo(BufferDescriptorInfo const &description, MetadataType const &metadataType,
|
D | GrallocMapper.cpp | 179 Return<void> GrallocMapper::get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hid… in get() argument 183 common::get(common::getBuffer(buffer), common::MetadataType(metadataType), vec)); in get() 188 Return<hidl::Error> GrallocMapper::set(void *buffer, const MetadataType &metadataType, const hidl_v… in set() argument 191 …return static_cast<hidl::Error>(common::set(bufferHandle, common::MetadataType(metadataType), meta… in set() 195 const MetadataType &metadataType, in getFromBufferDescriptorInfo() argument 200 description, common::MetadataType(metadataType), vec)); in getFromBufferDescriptorInfo()
|
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/ |
D | IMapperProvider.h | 59 virtual int32_t getMetadata(buffer_handle_t _Nonnull buffer, AIMapper_MetadataType metadataType, 67 AIMapper_MetadataType metadataType, 149 AIMapper_MetadataType metadataType, void* _Nullable destBuffer, in bindV5() 151 return impl().getMetadata(buffer, metadataType, destBuffer, destBufferSize); in bindV5() 162 AIMapper_MetadataType metadataType, const void* _Nonnull metadata, in bindV5() 164 return impl().setMetadata(buffer, metadataType, metadata, metadataSize); in bindV5()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapper4.cpp | 252 Return<void> QtiMapper::get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) { in get() argument 256 if (metadataType.name != GRALLOC4_STANDARD_METADATA_TYPE && in get() 257 metadataType.name != qtigralloc::VENDOR_QTI) { in get() 262 err = static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata(hnd, metadataType.value, &metadata)); in get() 268 Return<Error> QtiMapper::set(void *buffer, const MetadataType &metadataType, in set() argument 273 err = static_cast<IMapper_4_0_Error>(buf_mgr_->SetMetadata(hnd, metadataType.value, metadata)); in set() 279 const MetadataType &metadataType, in getFromBufferDescriptorInfo() argument 283 switch (metadataType.value) { in getFromBufferDescriptorInfo() 340 if (metadataType.value == static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_FOURCC)) { in getFromBufferDescriptorInfo() 391 auto type = metadata_type_descriptions_[i].metadataType; in DumpBufferMetadata()
|
D | QtiMapper4.h | 103 Return<void> get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) override; 104 Return<Error> set(void *buffer, const MetadataType &metadataType, 107 const MetadataType &metadataType,
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapper4.cpp | 252 Return<void> QtiMapper::get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) { in get() argument 256 if (metadataType.name != GRALLOC4_STANDARD_METADATA_TYPE && in get() 257 metadataType.name != qtigralloc::VENDOR_QTI) { in get() 262 err = static_cast<IMapper_4_0_Error>(buf_mgr_->GetMetadata(hnd, metadataType.value, &metadata)); in get() 268 Return<Error> QtiMapper::set(void *buffer, const MetadataType &metadataType, in set() argument 273 err = static_cast<IMapper_4_0_Error>(buf_mgr_->SetMetadata(hnd, metadataType.value, metadata)); in set() 279 const MetadataType &metadataType, in getFromBufferDescriptorInfo() argument 283 switch (metadataType.value) { in getFromBufferDescriptorInfo() 340 if (metadataType.value == static_cast<int64_t>(StandardMetadataType::PIXEL_FORMAT_FOURCC)) { in getFromBufferDescriptorInfo() 391 auto type = metadata_type_descriptions_[i].metadataType; in DumpBufferMetadata()
|
D | QtiMapper4.h | 103 Return<void> get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) override; 104 Return<Error> set(void *buffer, const MetadataType &metadataType, 107 const MetadataType &metadataType,
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 344 Error Gralloc::get(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in get() argument 347 mMapper->get(const_cast<native_handle_t*>(bufferHandle), metadataType, in get() 355 Error Gralloc::set(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in set() argument 357 return mMapper->set(const_cast<native_handle_t*>(bufferHandle), metadataType, vec); in set() 361 const IMapper::MetadataType& metadataType, in getFromBufferDescriptorInfo() argument 365 descriptorInfo, metadataType, in getFromBufferDescriptorInfo()
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/ |
D | MapperVts.h | 150 Error get(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, 153 Error set(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, 157 const IMapper::MetadataType& metadataType,
|
/hardware/interfaces/graphics/mapper/stable-c/vts/ |
D | VtsHalGraphicsMapperStableC_TargetTest.cpp | 73 static bool isStandardMetadata(AIMapper_MetadataType metadataType) { in isStandardMetadata() argument 74 return strcmp(STANDARD_METADATA_NAME, metadataType.name) == 0; in isStandardMetadata() 1647 if (isStandardMetadata(it.metadataType)) { in TEST_P() 1648 EXPECT_GT(it.metadataType.value, static_cast<int64_t>(StandardMetadataType::INVALID)); in TEST_P() 1649 EXPECT_LT(it.metadataType.value, in TEST_P() 1654 static_cast<StandardMetadataType>(it.metadataType.value)); in TEST_P() 1658 static_cast<StandardMetadataType>(it.metadataType.value)); in TEST_P() 1687 if (isStandardMetadata(it.metadataType)) { in TEST_P() 1688 const auto type = static_cast<StandardMetadataType>(it.metadataType.value); in TEST_P() 1715 auto get = [&](AIMapper_MetadataType metadataType) -> int32_t { in TEST_P() argument [all …]
|
/hardware/interfaces/graphics/mapper/4.0/ |
D | IMapper.hal | 460 * @param metadataType MetadataType for the metadata value being queried 466 * - `UNSUPPORTED` when metadataType is unknown/unsupported. 472 get(pointer buffer, MetadataType metadataType) 493 * @param metadataType MetadataType for the metadata value being set 503 * - `UNSUPPORTED` when metadataType is unknown/unsupported or setting 507 set(pointer buffer, MetadataType metadataType, vec<uint8_t> metadata) 516 * @param metadataType MetadataType for the metadata value being queried 524 * if the metadataType is unknown/unsupported. This should also be 531 MetadataType metadataType) 536 MetadataType metadataType; [all …]
|
/hardware/interfaces/graphics/mapper/4.0/vts/functional/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 97 const MetadataType& metadataType, DecodeFunction decode) { in testGet() argument 102 const auto result = mGralloc->get(bufferHandle, metadataType, &vec); in testGet() 104 if (metadataType == gralloc4::MetadataType_Smpte2094_10 && result == Error::UNSUPPORTED) { in testGet() 114 const MetadataType& metadataType, const hidl_vec<uint8_t>& metadata, in testSet() argument 119 Error err = mGralloc->set(bufferHandle, metadataType, metadata); in testSet() 127 ASSERT_EQ(Error::NONE, mGralloc->get(bufferHandle, metadataType, &vec)); in testSet() 186 const auto& metadataType = dump.metadataType; in verifyBufferDump() local 189 if (!gralloc4::isStandardMetadataType(metadataType)) { in verifyBufferDump() 193 StandardMetadataType type = gralloc4::getStandardMetadataTypeValue(metadataType); in verifyBufferDump() 207 ASSERT_EQ(Error::NONE, mGralloc->get(bufferHandle, metadataType, &metadataFromGet)); in verifyBufferDump() [all …]
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm_arm64/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 968 "field_name" : "metadataType",
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 967 "field_name" : "metadataType",
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86_x86_64/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 967 "field_name" : "metadataType",
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm64/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 977 "field_name" : "metadataType",
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 968 "field_name" : "metadataType",
|
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86_64/source-based/ |
D | libimapper_stablec_abicheck.so.lsdump | 976 "field_name" : "metadataType",
|