/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 | 2254 mHdrMetadata.smpte2086 = *metadata; in setBuffersSmpte2086Metadata()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 1091 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 …]
|
D | CCodecBufferChannel.cpp | 937 hdr.smpte2086 = smpte2086_meta; in renderOutputBuffer()
|
/frameworks/native/libs/gui/include/gui/ |
D | HdrMetadata.h | 38 android_smpte2086_metadata smpte2086{}; 50 return ui::translate(smpte2086); in getSmpte2086()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 545 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/ |
D | DeferredLayerUpdater.cpp | 154 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/ |
D | surfaceflinger_fuzzers_utils.h | 173 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/ |
D | HWC2.cpp | 800 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/ |
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/av/services/camera/libcameraservice/device3/ |
D | Camera3Stream.cpp | 1134 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/ |
D | surface_texture.cpp | 211 *outSmpte2086 = metadata.smpte2086; in ASurfaceTexture_dequeueBuffer()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 299 std::optional<ui::Smpte2086> smpte2086) { in setSmpte2086() argument 300 return mMapper->setSmpte2086(bufferHandle, smpte2086); in setSmpte2086()
|
D | Gralloc4.cpp | 727 std::optional<ui::Smpte2086> smpte2086) const { in setSmpte2086() 728 return set(bufferHandle, gralloc4::MetadataType_Smpte2086, smpte2086, in setSmpte2086()
|
/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/libs/ui/include/ui/ |
D | GraphicBufferMapper.h | 127 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
|
D | Gralloc4.h | 110 std::optional<ui::Smpte2086> smpte2086) const override;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 127 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 187 maxLuminance = std::min(mBufferInfo.mHdrMetadata.smpte2086.maxLuminance, in prepareClientComposition() 190 maxLuminance = mBufferInfo.mHdrMetadata.smpte2086.maxLuminance; in prepareClientComposition()
|
/frameworks/native/libs/gralloc/types/include/gralloctypes/ |
D | Gralloc4.h | 318 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/ |
D | Gralloc4_test.cpp | 561 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/ |
D | Surface_test.cpp | 489 const android_smpte2086_metadata smpte2086 = { in TEST_F() local 505 int error = native_window_set_buffers_smpte2086_metadata(window.get(), &smpte2086); in TEST_F()
|