Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DHdrMetadata.cpp25 size += sizeof(smpte2086); in getFlattenedSize()
44 FlattenableUtils::write(buffer, size, smpte2086); in flatten()
66 if (size < sizeof(smpte2086)) { in unflatten()
69 FlattenableUtils::read(buffer, size, smpte2086); in unflatten()
102 if (smpte2086.displayPrimaryRed.x != rhs.smpte2086.displayPrimaryRed.x || in operator ==()
103 smpte2086.displayPrimaryRed.y != rhs.smpte2086.displayPrimaryRed.y || in operator ==()
104 smpte2086.displayPrimaryGreen.x != rhs.smpte2086.displayPrimaryGreen.x || in operator ==()
105 smpte2086.displayPrimaryGreen.y != rhs.smpte2086.displayPrimaryGreen.y || in operator ==()
106 smpte2086.displayPrimaryBlue.x != rhs.smpte2086.displayPrimaryBlue.x || in operator ==()
107 smpte2086.displayPrimaryBlue.y != rhs.smpte2086.displayPrimaryBlue.y || in operator ==()
[all …]
DSurface.cpp2254 mHdrMetadata.smpte2086 = *metadata; in setBuffersSmpte2086Metadata()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp1091 std::optional<Smpte2086> smpte2086; in GetHdrMetadataFromGralloc4Handle() local
1092 gralloc4::decodeSmpte2086(vec, &smpte2086); in GetHdrMetadataFromGralloc4Handle()
1093 if (smpte2086) { in GetHdrMetadataFromGralloc4Handle()
1094 (*staticInfo)->mastering.red.x = smpte2086->primaryRed.x; in GetHdrMetadataFromGralloc4Handle()
1095 (*staticInfo)->mastering.red.y = smpte2086->primaryRed.y; in GetHdrMetadataFromGralloc4Handle()
1096 (*staticInfo)->mastering.green.x = smpte2086->primaryGreen.x; in GetHdrMetadataFromGralloc4Handle()
1097 (*staticInfo)->mastering.green.y = smpte2086->primaryGreen.y; in GetHdrMetadataFromGralloc4Handle()
1098 (*staticInfo)->mastering.blue.x = smpte2086->primaryBlue.x; in GetHdrMetadataFromGralloc4Handle()
1099 (*staticInfo)->mastering.blue.y = smpte2086->primaryBlue.y; in GetHdrMetadataFromGralloc4Handle()
1100 (*staticInfo)->mastering.white.x = smpte2086->whitePoint.x; in GetHdrMetadataFromGralloc4Handle()
[all …]
DCCodecBufferChannel.cpp937 hdr.smpte2086 = smpte2086_meta; in renderOutputBuffer()
/frameworks/native/libs/gui/include/gui/
DHdrMetadata.h38 android_smpte2086_metadata smpte2086{};
50 return ui::translate(smpte2086); in getSmpte2086()
/frameworks/base/native/android/
Dsurface_control.cpp545 hdrMetadata.smpte2086.displayPrimaryRed.x = metadata->displayPrimaryRed.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
546 hdrMetadata.smpte2086.displayPrimaryRed.y = metadata->displayPrimaryRed.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
547 hdrMetadata.smpte2086.displayPrimaryGreen.x = metadata->displayPrimaryGreen.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
548 hdrMetadata.smpte2086.displayPrimaryGreen.y = metadata->displayPrimaryGreen.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
549 hdrMetadata.smpte2086.displayPrimaryBlue.x = metadata->displayPrimaryBlue.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
550 hdrMetadata.smpte2086.displayPrimaryBlue.y = metadata->displayPrimaryBlue.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
551 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
552 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
553 hdrMetadata.smpte2086.minLuminance = metadata->minLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086()
554 hdrMetadata.smpte2086.maxLuminance = metadata->maxLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp154 android_smpte2086_metadata smpte2086; in apply() local
164 &smpte2086, transformMatrix, &outTransform, &newContent, createReleaseFence, in apply()
185 maxLuminanceNits = std::max(smpte2086.maxLuminance, maxLuminanceNits); in apply()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h173 hdrMetadata.smpte2086.displayPrimaryRed.x = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
174 hdrMetadata.smpte2086.displayPrimaryRed.y = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
175 hdrMetadata.smpte2086.displayPrimaryGreen.x = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
176 hdrMetadata.smpte2086.displayPrimaryGreen.y = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
177 hdrMetadata.smpte2086.displayPrimaryBlue.x = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
178 hdrMetadata.smpte2086.displayPrimaryBlue.y = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
179 hdrMetadata.smpte2086.whitePoint.x = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
180 hdrMetadata.smpte2086.whitePoint.y = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
181 hdrMetadata.smpte2086.minLuminance = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
182 hdrMetadata.smpte2086.maxLuminance = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp800 mHdrMetadata.smpte2086.displayPrimaryRed.x}, in setPerFrameMetadata()
802 mHdrMetadata.smpte2086.displayPrimaryRed.y}, in setPerFrameMetadata()
804 mHdrMetadata.smpte2086.displayPrimaryGreen.x}, in setPerFrameMetadata()
806 mHdrMetadata.smpte2086.displayPrimaryGreen.y}, in setPerFrameMetadata()
808 mHdrMetadata.smpte2086.displayPrimaryBlue.x}, in setPerFrameMetadata()
810 mHdrMetadata.smpte2086.displayPrimaryBlue.y}, in setPerFrameMetadata()
812 mHdrMetadata.smpte2086.whitePoint.x}, in setPerFrameMetadata()
814 mHdrMetadata.smpte2086.whitePoint.y}, in setPerFrameMetadata()
816 mHdrMetadata.smpte2086.maxLuminance}, in setPerFrameMetadata()
818 mHdrMetadata.smpte2086.minLuminance}}); in setPerFrameMetadata()
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp867 status_t encodeSmpte2086Helper(const Smpte2086& smpte2086, OutputHidlVec* outOutputHidlVec) { in encodeSmpte2086Helper() argument
868 status_t err = encodeXyColor(smpte2086.primaryRed, outOutputHidlVec); in encodeSmpte2086Helper()
872 err = encodeXyColor(smpte2086.primaryGreen, outOutputHidlVec); in encodeSmpte2086Helper()
876 err = encodeXyColor(smpte2086.primaryBlue, outOutputHidlVec); in encodeSmpte2086Helper()
880 err = encodeXyColor(smpte2086.whitePoint, outOutputHidlVec); in encodeSmpte2086Helper()
884 err = encodeInteger<float>(smpte2086.maxLuminance, outOutputHidlVec); in encodeSmpte2086Helper()
888 return encodeInteger<float>(smpte2086.minLuminance, outOutputHidlVec); in encodeSmpte2086Helper()
1107 status_t encodeSmpte2086(const std::optional<Smpte2086>& smpte2086, in encodeSmpte2086() argument
1109 …return encodeOptionalMetadata(MetadataType_Smpte2086, smpte2086, outSmpte2086, encodeSmpte2086Help… in encodeSmpte2086()
1112 status_t decodeSmpte2086(const hidl_vec<uint8_t>& smpte2086, in decodeSmpte2086() argument
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp1134 std::optional<ui::Smpte2086> smpte2086; in queueHDRMetadata() local
1135 auto res = mapper.getSmpte2086(buffer, &smpte2086); in queueHDRMetadata()
1136 if ((res == OK) && smpte2086.has_value()) { in queueHDRMetadata()
1137 const auto& metaValue = smpte2086.value(); in queueHDRMetadata()
/frameworks/native/libs/nativedisplay/surfacetexture/
Dsurface_texture.cpp211 *outSmpte2086 = metadata.smpte2086; in ASurfaceTexture_dequeueBuffer()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp299 std::optional<ui::Smpte2086> smpte2086) { in setSmpte2086() argument
300 return mMapper->setSmpte2086(bufferHandle, smpte2086); in setSmpte2086()
DGralloc4.cpp727 std::optional<ui::Smpte2086> smpte2086) const { in setSmpte2086()
728 return set(bufferHandle, gralloc4::MetadataType_Smpte2086, smpte2086, in setSmpte2086()
/frameworks/native/opengl/libs/EGL/
Degl_object.h140 EGLBoolean getSmpte2086Metadata(android_smpte2086_metadata& smpte2086) const;
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp102 ? mBufferItem.mHdrMetadata.smpte2086.maxLuminance in getLayerSettings()
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h127 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
DGralloc4.h110 std::optional<ui::Smpte2086> smpte2086) const override;
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h127 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp187 maxLuminance = std::min(mBufferInfo.mHdrMetadata.smpte2086.maxLuminance, in prepareClientComposition()
190 maxLuminance = mBufferInfo.mHdrMetadata.smpte2086.maxLuminance; in prepareClientComposition()
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h318 const std::optional<aidl::android::hardware::graphics::common::Smpte2086>& smpte2086,
321 const android::hardware::hidl_vec<uint8_t>& smpte2086,
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp561 std::optional<Smpte2086> smpte2086; in TEST_F() local
582 ASSERT_NE(NO_ERROR, gralloc4::decodeSmpte2086(vec, &smpte2086)); in TEST_F()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp489 const android_smpte2086_metadata smpte2086 = { in TEST_F() local
505 int error = native_window_set_buffers_smpte2086_metadata(window.get(), &smpte2086); in TEST_F()