Home
last modified time | relevance | path

Searched refs:smpte2086 (Results 1 – 13 of 13) 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.cpp2234 mHdrMetadata.smpte2086 = *metadata; in setBuffersSmpte2086Metadata()
/frameworks/base/native/android/
Dsurface_control.cpp543 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/
DHWC2.cpp730 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/
DHdrMetadata.h36 android_smpte2086_metadata smpte2086{};
/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/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/services/surfaceflinger/
DBufferLayer.cpp210 maxLuminance = std::min(mBufferInfo.mHdrMetadata.smpte2086.maxLuminance, in prepareClientComposition()
213 maxLuminance = mBufferInfo.mHdrMetadata.smpte2086.maxLuminance; in prepareClientComposition()
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h312 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/
DGralloc4_test.cpp533 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/
DSurface_test.cpp484 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/
DCCodecBufferChannel.cpp878 hdr.smpte2086 = smpte2086_meta; in renderOutputBuffer()