Home
last modified time | relevance | path

Searched refs:MetadataType (Results 1 – 25 of 26) sorted by relevance

12

/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.h52 class MetadataType {
57 MetadataType(const IMapper::MetadataType &meta) { in MetadataType() function
61 operator IMapper::MetadataType() const { in MetadataType() function
62 IMapper::MetadataType meta; in MetadataType()
68 MetadataType(const AIMapper_MetadataType &meta) { in MetadataType() function
80 MetadataType() {} in MetadataType() function
81 MetadataType(std::string strname, uint64_t val) { in MetadataType() function
85MetadataType(StandardMetadataType meta) : MetadataType(GRALLOC4_STANDARD_METADATA_TYPE, static_cas… in MetadataType() function
88 const static MetadataType ArmMetadataType_PLANE_FDS = MetadataType(GRALLOC_ARM_METADATA_TYPE_NAME, …
93 MetadataType metadataType;
[all …]
DMapper.cpp549 Error get(buffer_handle_t buffer, const MetadataType &metadataType, std::vector<uint8_t> &vec) in get()
568 Error set(buffer_handle_t buffer, const MetadataType &metadataType, const hidl_vec<uint8_t> &metada… in set()
589 return MetadataTypeDescription(MetadataType(GRALLOC4_STANDARD_METADATA_TYPE, in describeStandard()
631 static std::array<MetadataType, 21> standardMetadataTypes = { in dumpBufferHelper()
632 MetadataType(StandardMetadataType::BUFFER_ID), in dumpBufferHelper()
633 MetadataType(StandardMetadataType::NAME), in dumpBufferHelper()
634 MetadataType(StandardMetadataType::WIDTH), in dumpBufferHelper()
635 MetadataType(StandardMetadataType::HEIGHT), in dumpBufferHelper()
636 MetadataType(StandardMetadataType::LAYER_COUNT), in dumpBufferHelper()
637 MetadataType(StandardMetadataType::PIXEL_FORMAT_REQUESTED), in dumpBufferHelper()
[all …]
DMapper.h197 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> &…
DMapperMetadata.cpp56 bool isStandardMetadataType(const MetadataType &metadataType) { in isStandardMetadataType()
403 Error get_metadata(const private_handle_t *handle, const MetadataType &metadataType, std::vector<ui… in get_metadata()
578 switch (static_cast<::pixel::graphics::MetadataType>(metadataType.value)) { in get_metadata()
579 case ::pixel::graphics::MetadataType::VIDEO_HDR: in get_metadata()
582 case ::pixel::graphics::MetadataType::VIDEO_ROI: in get_metadata()
592 case ::pixel::graphics::MetadataType::PLANE_DMA_BUFS: in get_metadata()
601 case ::pixel::graphics::MetadataType::VIDEO_GMV: in get_metadata()
620 Error set_metadata(const private_handle_t *handle, const MetadataType &metadataType, const framewor… in set_metadata()
712 switch (static_cast<::pixel::graphics::MetadataType>(metadataType.value)) in set_metadata()
714 case ::pixel::graphics::MetadataType::VIDEO_GMV: in set_metadata()
[all …]
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dmapper.h35 template <MetadataType T>
38 template <MetadataType T>
44 template <MetadataType T>
53 struct ReturnType<MetadataType::metadata> { \
58 [[maybe_unused]] std::optional<typename ReturnType<MetadataType::metadata>::type> \
59 get<MetadataType::metadata>(buffer_handle_t handle) { \
61 IMapper::MetadataType type = { \
63 .value = static_cast<int64_t>(MetadataType::metadata), \
97 template <MetadataType T>
106 set<MetadataType::metadata>(buffer_handle_t handle, \
[all …]
Dmetadata.h23 enum class MetadataType : int64_t { enum
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualProgram.cpp32 using V1_0::MetadataType;
39 MetaData bmp = {MetadataType::INT, key, resources::demoPngId, {}, {}, {}}; in createDemoBitmap()
41 bmp.type = MetadataType::RAW; in createDemoBitmap()
60 {MetadataType::TEXT, MetadataKey::RDS_PS, {}, {}, programName, {}}, in getProgramInfo()
61 {MetadataType::TEXT, MetadataKey::TITLE, {}, {}, songTitle, {}}, in getProgramInfo()
62 {MetadataType::TEXT, MetadataKey::ARTIST, {}, {}, songArtist, {}}, in getProgramInfo()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.h71 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 …Return<void> getFromBufferDescriptorInfo(BufferDescriptorInfo const &description, MetadataType con…
DGrallocMapper.cpp179 Return<void> GrallocMapper::get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hid… in get()
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()
191 …return static_cast<hidl::Error>(common::set(bufferHandle, common::MetadataType(metadataType), meta… in set()
195 const MetadataType &metadataType, in getFromBufferDescriptorInfo()
200 description, common::MetadataType(metadataType), vec)); in getFromBufferDescriptorInfo()
/hardware/interfaces/broadcastradio/1.0/default/
DUtils.cpp71 static_assert(RADIO_METADATA_TYPE_INVALID == static_cast<int>(MetadataType::INVALID),
73 static_assert(RADIO_METADATA_TYPE_INT == static_cast<int>(MetadataType::INT),
75 static_assert(RADIO_METADATA_TYPE_TEXT == static_cast<int>(MetadataType::TEXT),
77 static_assert(RADIO_METADATA_TYPE_RAW == static_cast<int>(MetadataType::RAW),
79 static_assert(RADIO_METADATA_TYPE_CLOCK == static_cast<int>(MetadataType::CLOCK),
281 newMetadata[outCount].type = static_cast<MetadataType>(type); in convertMetaDataFromHal()
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal143 enum MetadataType : int32_t {
196 MetadataType type;
198 /** Value used for type MetadataType.INT */
200 /** Value used for type MetadataType.CLOCK */
202 /** Value used for type MetadataType.TEXT */
204 /** Value used for type MetadataType.RAW */
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper4.h74 using MetadataType = ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataType; variable
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,
DQtiMapper4.cpp252 Return<void> QtiMapper::get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) { in get()
268 Return<Error> QtiMapper::set(void *buffer, const MetadataType &metadataType, in set()
279 const MetadataType &metadataType, in getFromBufferDescriptorInfo()
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper4.h74 using MetadataType = ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataType; variable
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,
DQtiMapper4.cpp252 Return<void> QtiMapper::get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) { in get()
268 Return<Error> QtiMapper::set(void *buffer, const MetadataType &metadataType, in set()
279 const MetadataType &metadataType, in getFromBufferDescriptorInfo()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h150 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/4.0/
DIMapper.hal399 * The token struct (MetadataType) is defined as a HIDL struct since it
406 * HIDL versions. For more information see the description of "struct MetadataType".
424 * MetadataType represents the different types of buffer metadata that could be
436 * (eg. "vendor.mycompanyname.graphics.common.MetadataType"). Set the struct's value
442 struct MetadataType {
448 * Gets the buffer metadata for a given MetadataType.
460 * @param metadataType MetadataType for the metadata value being queried
470 * the MetadataType.
472 get(pointer buffer, MetadataType metadataType)
477 * Sets the global value for a given MetadataType.
[all …]
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp37 using PixelMetadataType = ::pixel::graphics::MetadataType;
227 bool isPixelMetadataType(common::MetadataType meta) { in isPixelMetadataType()
266 if (isStandardMetadataType(common::MetadataType(metadataType))) { in getMetadata()
268 } else if (isPixelMetadataType(common::MetadataType(metadataType))) { in getMetadata()
357 if (isStandardMetadataType(common::MetadataType(metadataType))) { in setMetadata()
359 } else if (isPixelMetadataType(common::MetadataType(metadataType))) { in setMetadata()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_imapper4_api.cpp33 using MetadataType = typedef
34 android::hardware::graphics::mapper::V4_0::IMapper::MetadataType;
38 MetadataType type, hidl_vec<uint8_t> *metadata) in GetMetadata()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp45 using MapperMetadataType = android::hardware::graphics::mapper::V4_0::IMapper::MetadataType;
250 auto out_oe = mapper::get<MetadataType::VIDEO_HDR>(handle); in get_video_metadata()
268 auto out_oe = mapper::get<MetadataType::VIDEO_ROI>(handle); in get_video_metadata_roiinfo()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp344 Error Gralloc::get(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in get()
355 Error Gralloc::set(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in set()
361 const IMapper::MetadataType& metadataType, in getFromBufferDescriptorInfo()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp282 auto output = ::pixel::graphics::mapper::get<::pixel::graphics::MetadataType::VIDEO_HDR>(hnd); in get_video_metadata()
297 auto output = ::pixel::graphics::mapper::get<::pixel::graphics::MetadataType::VIDEO_ROI>(hnd); in get_video_metadata_roiinfo()
/hardware/interfaces/broadcastradio/1.1/
DIBroadcastRadio.hal34 * passing an image data blob in the MetadataType.RAW field, the HAL
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp62 using V1_0::MetadataType;
420 EXPECT_NE(MetadataType::RAW, entry.type); in TEST_P()
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp49 using ::android::hardware::broadcastradio::V1_0::MetadataType;
723 EXPECT_EQ(MetadataType::RAW, entry.type); in TEST_P()

12