Searched refs:smpte2094_40 (Results 1 – 6 of 6) sorted by relevance
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | SharedMetadata.cpp | 124 …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 …]
|
D | SharedMetadata_struct.h | 112 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");
|
D | SharedMetadata.h | 67 …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);
|
D | MapperMetadata.cpp | 567 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/ |
D | GrallocMapper.cpp | 191 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/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 1529 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()
|