Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.cpp110 void get_cta861_3(const private_handle_t *hnd, std::optional<Cta861_3> *cta861_3) in get_cta861_3() argument
113 *cta861_3 = metadata->cta861_3.to_std_optional(); in get_cta861_3()
116 android::status_t set_cta861_3(const private_handle_t *hnd, const std::optional<Cta861_3> &cta861_3) in set_cta861_3() argument
119 metadata->cta861_3 = aligned_optional(cta861_3); in set_cta861_3()
DSharedMetadata_struct.h109 aligned_optional<Cta861_3> cta861_3 {};
139 static_assert(offsetof(shared_metadata, cta861_3) == 28, "bad alignment");
140 static_assert(sizeof(shared_metadata::cta861_3) == 12, "bad size");
DSharedMetadata.h64 void get_cta861_3(const private_handle_t *hnd, std::optional<Cta861_3> *cta861_3);
65 android::status_t set_cta861_3(const private_handle_t *hnd, const std::optional<Cta861_3> &cta861_3
DMapperMetadata.cpp560 std::optional<Cta861_3> cta861_3; in get_metadata() local
561 get_cta861_3(handle, &cta861_3); in get_metadata()
562 err = android::gralloc4::encodeCta861_3(cta861_3, &vec); in get_metadata()
659 std::optional<Cta861_3> cta861_3; in set_metadata() local
660 err = android::gralloc4::decodeCta861_3(metadata, &cta861_3); in set_metadata()
663 err = set_cta861_3(handle, cta861_3); in set_metadata()
901 std::optional<Cta861_3> cta861_3{}; in getFromBufferDescriptorInfo() local
902 err = android::gralloc4::encodeCta861_3(cta861_3, &vec); in getFromBufferDescriptorInfo()
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp186 std::optional<Cta861_3> cta861_3; in getStandardMetadataHelper() local
187 common::get_cta861_3(hnd, &cta861_3); in getStandardMetadataHelper()
188 return provide(cta861_3); in getStandardMetadataHelper()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp1517 std::optional<Cta861_3> cta861_3; in TEST_P() local
1518 ASSERT_EQ(NO_ERROR, gralloc4::decodeCta861_3(vec, &cta861_3)); in TEST_P()
1519 EXPECT_FALSE(cta861_3.has_value()); in TEST_P()
1972 Cta861_3 cta861_3; in TEST_P() local
1973 cta861_3.maxContentLightLevel = 78.0; in TEST_P()
1974 cta861_3.maxFrameAverageLightLevel = 62.0; in TEST_P()
1977 ASSERT_EQ(NO_ERROR, gralloc4::encodeCta861_3(cta861_3, &vec)); in TEST_P()
1985 isEqual(cta861_3.maxContentLightLevel, realCta861_3->maxContentLightLevel)); in TEST_P()
1986 EXPECT_TRUE(isEqual(cta861_3.maxFrameAverageLightLevel, in TEST_P()
2551 std::optional<Cta861_3> cta861_3; in TEST_P() local
[all …]