Home
last modified time | relevance | path

Searched refs:smpte2094_40 (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.cpp124 …id get_smpte2094_40(const private_handle_t *hnd, std::optional<std::vector<uint8_t>> *smpte2094_40) in get_smpte2094_40() argument
127 if (metadata->smpte2094_40.size > 0) in get_smpte2094_40()
129 const uint8_t *begin = metadata->smpte2094_40.data(); in get_smpte2094_40()
130 const uint8_t *end = begin + metadata->smpte2094_40.size; in get_smpte2094_40()
131 smpte2094_40->emplace(begin, end); in get_smpte2094_40()
135 smpte2094_40->reset(); in get_smpte2094_40()
139 …_smpte2094_40(const private_handle_t *hnd, const std::optional<std::vector<uint8_t>> &smpte2094_40) in set_smpte2094_40() argument
142 const size_t size = smpte2094_40.has_value() ? smpte2094_40->size() : 0; in set_smpte2094_40()
143 if (size > metadata->smpte2094_40.capacity()) in set_smpte2094_40()
149 metadata->smpte2094_40.size = size; in set_smpte2094_40()
[all …]
DSharedMetadata_struct.h112 aligned_inline_vector<uint8_t, 2048> smpte2094_40 {};
148 static_assert(offsetof(shared_metadata, smpte2094_40) == 92, "bad alignment");
149 static_assert(sizeof(shared_metadata::smpte2094_40) == 2052, "bad size");
DSharedMetadata.h67 …d get_smpte2094_40(const private_handle_t *hnd, std::optional<std::vector<uint8_t>> *smpte2094_40);
68 …smpte2094_40(const private_handle_t *hnd, const std::optional<std::vector<uint8_t>> &smpte2094_40);
DMapperMetadata.cpp567 std::optional<std::vector<uint8_t>> smpte2094_40; in get_metadata() local
568 get_smpte2094_40(handle, &smpte2094_40); in get_metadata()
569 err = android::gralloc4::encodeSmpte2094_40(smpte2094_40, &vec); in get_metadata()
669 std::optional<std::vector<uint8_t>> smpte2094_40; in set_metadata() local
670 err = android::gralloc4::decodeSmpte2094_40(metadata, &smpte2094_40); in set_metadata()
673 err = set_smpte2094_40(handle, smpte2094_40); in set_metadata()
907 std::optional<std::vector<uint8_t>> smpte2094_40{}; in getFromBufferDescriptorInfo() local
908 err = android::gralloc4::encodeSmpte2094_40(smpte2094_40, &vec); in getFromBufferDescriptorInfo()
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp191 std::optional<std::vector<uint8_t>> smpte2094_40; in getStandardMetadataHelper() local
192 common::get_smpte2094_40(hnd, &smpte2094_40); in getStandardMetadataHelper()
193 return provide(smpte2094_40); in getStandardMetadataHelper()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp1529 std::optional<std::vector<uint8_t>> smpte2094_40; in TEST_P() local
1530 ASSERT_EQ(NO_ERROR, gralloc4::decodeSmpte2094_40(vec, &smpte2094_40)); in TEST_P()
1531 EXPECT_FALSE(smpte2094_40.has_value()); in TEST_P()
2569 std::optional<std::vector<uint8_t>> smpte2094_40; in TEST_P() local
2570 ASSERT_EQ(NO_ERROR, gralloc4::decodeSmpte2094_40(vec, &smpte2094_40)); in TEST_P()
2571 EXPECT_FALSE(smpte2094_40.has_value()); in TEST_P()