Home
last modified time | relevance | path

Searched refs:shared_metadata (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata_struct.h100 struct shared_metadata struct
112 shared_metadata() = default; argument
114 shared_metadata(std::string_view in_name) in shared_metadata() argument
130 static_assert(offsetof(shared_metadata, blend_mode) == 0, "bad alignment"); argument
131 static_assert(sizeof(shared_metadata::blend_mode) == 8, "bad size");
133 static_assert(offsetof(shared_metadata, crop) == 8, "bad alignment");
134 static_assert(sizeof(shared_metadata::crop) == 20, "bad size");
136 static_assert(offsetof(shared_metadata, cta861_3) == 28, "bad alignment");
137 static_assert(sizeof(shared_metadata::cta861_3) == 12, "bad size");
139 static_assert(offsetof(shared_metadata, dataspace) == 40, "bad alignment");
[all …]
DSharedMetadata.cpp32 new(memory) shared_metadata(name); in shared_metadata_init()
37 return sizeof(shared_metadata); in shared_metadata_size()
42 auto *metadata = reinterpret_cast<const shared_metadata *>(hnd->attr_base); in get_name()
48 auto *metadata = reinterpret_cast<const shared_metadata *>(hnd->attr_base); in get_crop_rect()
54 auto *metadata = reinterpret_cast<shared_metadata *>(hnd->attr_base); in set_crop_rect()
72 auto *metadata = reinterpret_cast<const shared_metadata *>(hnd->attr_base); in get_dataspace()
78 auto *metadata = reinterpret_cast<shared_metadata *>(hnd->attr_base); in set_dataspace()
84 auto *metadata = reinterpret_cast<const shared_metadata *>(hnd->attr_base); in get_blend_mode()
90 auto *metadata = reinterpret_cast<shared_metadata *>(hnd->attr_base); in set_blend_mode()
96 auto *metadata = reinterpret_cast<const shared_metadata *>(hnd->attr_base); in get_smpte2086()
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp32 using arm::mapper::common::shared_metadata;