/frameworks/native/libs/gui/ |
D | HdrMetadata.cpp | 25 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 …]
|
D | Surface.cpp | 2234 mHdrMetadata.smpte2086 = *metadata; in setBuffersSmpte2086Metadata()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 543 hdrMetadata.smpte2086.displayPrimaryRed.x = metadata->displayPrimaryRed.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 544 hdrMetadata.smpte2086.displayPrimaryRed.y = metadata->displayPrimaryRed.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 545 hdrMetadata.smpte2086.displayPrimaryGreen.x = metadata->displayPrimaryGreen.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 546 hdrMetadata.smpte2086.displayPrimaryGreen.y = metadata->displayPrimaryGreen.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 547 hdrMetadata.smpte2086.displayPrimaryBlue.x = metadata->displayPrimaryBlue.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 548 hdrMetadata.smpte2086.displayPrimaryBlue.y = metadata->displayPrimaryBlue.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 549 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 550 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 551 hdrMetadata.smpte2086.minLuminance = metadata->minLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086() 552 hdrMetadata.smpte2086.maxLuminance = metadata->maxLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 730 mHdrMetadata.smpte2086.displayPrimaryRed.x}, in setPerFrameMetadata() 732 mHdrMetadata.smpte2086.displayPrimaryRed.y}, in setPerFrameMetadata() 734 mHdrMetadata.smpte2086.displayPrimaryGreen.x}, in setPerFrameMetadata() 736 mHdrMetadata.smpte2086.displayPrimaryGreen.y}, in setPerFrameMetadata() 738 mHdrMetadata.smpte2086.displayPrimaryBlue.x}, in setPerFrameMetadata() 740 mHdrMetadata.smpte2086.displayPrimaryBlue.y}, in setPerFrameMetadata() 742 mHdrMetadata.smpte2086.whitePoint.x}, in setPerFrameMetadata() 744 mHdrMetadata.smpte2086.whitePoint.y}, in setPerFrameMetadata() 746 mHdrMetadata.smpte2086.maxLuminance}, in setPerFrameMetadata() 748 mHdrMetadata.smpte2086.minLuminance}}); in setPerFrameMetadata()
|
/frameworks/native/libs/gui/include/gui/ |
D | HdrMetadata.h | 36 android_smpte2086_metadata smpte2086{};
|
/frameworks/native/libs/gralloc/types/ |
D | Gralloc4.cpp | 867 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/native/opengl/libs/EGL/ |
D | egl_object.h | 140 EGLBoolean getSmpte2086Metadata(android_smpte2086_metadata& smpte2086) const;
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 102 ? mBufferItem.mHdrMetadata.smpte2086.maxLuminance in getLayerSettings()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 210 maxLuminance = std::min(mBufferInfo.mHdrMetadata.smpte2086.maxLuminance, in prepareClientComposition() 213 maxLuminance = mBufferInfo.mHdrMetadata.smpte2086.maxLuminance; in prepareClientComposition()
|
/frameworks/native/libs/gralloc/types/include/gralloctypes/ |
D | Gralloc4.h | 312 const std::optional<aidl::android::hardware::graphics::common::Smpte2086>& smpte2086, 315 const android::hardware::hidl_vec<uint8_t>& smpte2086,
|
/frameworks/native/libs/gralloc/types/tests/ |
D | Gralloc4_test.cpp | 533 std::optional<Smpte2086> smpte2086; in TEST_F() local 554 ASSERT_NE(NO_ERROR, gralloc4::decodeSmpte2086(vec, &smpte2086)); in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 484 const android_smpte2086_metadata smpte2086 = { in TEST_F() local 500 int error = native_window_set_buffers_smpte2086_metadata(window.get(), &smpte2086); in TEST_F()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 878 hdr.smpte2086 = smpte2086_meta; in renderOutputBuffer()
|