Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.cpp96 void get_smpte2086(const private_handle_t *hnd, std::optional<Smpte2086> *smpte2086) in get_smpte2086() argument
99 *smpte2086 = metadata->smpte2086.to_std_optional(); in get_smpte2086()
102 …oid::status_t set_smpte2086(const private_handle_t *hnd, const std::optional<Smpte2086> &smpte2086) in set_smpte2086() argument
105 metadata->smpte2086 = aligned_optional(smpte2086); in set_smpte2086()
DSharedMetadata_struct.h111 aligned_optional<Smpte2086> smpte2086 {};
145 static_assert(offsetof(shared_metadata, smpte2086) == 48, "bad alignment");
146 static_assert(sizeof(shared_metadata::smpte2086) == 44, "bad size");
DSharedMetadata.h61 void get_smpte2086(const private_handle_t *hnd, std::optional<Smpte2086> *smpte2086);
62 …id::status_t set_smpte2086(const private_handle_t *hnd, const std::optional<Smpte2086> &smpte2086);
DMapperMetadata.cpp553 std::optional<Smpte2086> smpte2086; in get_metadata() local
554 get_smpte2086(handle, &smpte2086); in get_metadata()
555 err = android::gralloc4::encodeSmpte2086(smpte2086, &vec); in get_metadata()
649 std::optional<Smpte2086> smpte2086; in set_metadata() local
650 err = android::gralloc4::decodeSmpte2086(metadata, &smpte2086); in set_metadata()
653 err = set_smpte2086(handle, smpte2086); in set_metadata()
895 std::optional<Smpte2086> smpte2086{}; in getFromBufferDescriptorInfo() local
896 err = android::gralloc4::encodeSmpte2086(smpte2086, &vec); in getFromBufferDescriptorInfo()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp1505 std::optional<Smpte2086> smpte2086; in TEST_P() local
1506 ASSERT_EQ(NO_ERROR, gralloc4::decodeSmpte2086(vec, &smpte2086)); in TEST_P()
1507 EXPECT_FALSE(smpte2086.has_value()); in TEST_P()
1935 Smpte2086 smpte2086; in TEST_P() local
1936 smpte2086.primaryRed.x = 0.680; in TEST_P()
1937 smpte2086.primaryRed.y = 0.320; in TEST_P()
1938 smpte2086.primaryGreen.x = 0.265; in TEST_P()
1939 smpte2086.primaryGreen.y = 0.690; in TEST_P()
1940 smpte2086.primaryBlue.x = 0.150; in TEST_P()
1941 smpte2086.primaryBlue.y = 0.060; in TEST_P()
[all …]
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp181 std::optional<Smpte2086> smpte2086; in getStandardMetadataHelper() local
182 common::get_smpte2086(hnd, &smpte2086); in getStandardMetadataHelper()
183 return provide(smpte2086); in getStandardMetadataHelper()