/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 | 2239 mHdrMetadata.smpte2086 = *metadata; in setBuffersSmpte2086Metadata()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 1145 std::optional<Smpte2086> smpte2086; in GetHdrMetadataFromGralloc4Handle() local 1146 status_t status = mapper.getSmpte2086(buffer.get(), &smpte2086); in GetHdrMetadataFromGralloc4Handle() 1147 if (status != OK || !smpte2086) { in GetHdrMetadataFromGralloc4Handle() 1150 if (smpte2086) { in GetHdrMetadataFromGralloc4Handle() 1151 (*staticInfo)->mastering.red.x = smpte2086->primaryRed.x; in GetHdrMetadataFromGralloc4Handle() 1152 (*staticInfo)->mastering.red.y = smpte2086->primaryRed.y; in GetHdrMetadataFromGralloc4Handle() 1153 (*staticInfo)->mastering.green.x = smpte2086->primaryGreen.x; in GetHdrMetadataFromGralloc4Handle() 1154 (*staticInfo)->mastering.green.y = smpte2086->primaryGreen.y; in GetHdrMetadataFromGralloc4Handle() 1155 (*staticInfo)->mastering.blue.x = smpte2086->primaryBlue.x; in GetHdrMetadataFromGralloc4Handle() 1156 (*staticInfo)->mastering.blue.y = smpte2086->primaryBlue.y; in GetHdrMetadataFromGralloc4Handle() [all …]
|
D | CCodecBufferChannel.cpp | 1286 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 | 582 hdrMetadata.smpte2086.displayPrimaryRed.x = metadata->displayPrimaryRed.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 583 hdrMetadata.smpte2086.displayPrimaryRed.y = metadata->displayPrimaryRed.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 584 hdrMetadata.smpte2086.displayPrimaryGreen.x = metadata->displayPrimaryGreen.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 585 hdrMetadata.smpte2086.displayPrimaryGreen.y = metadata->displayPrimaryGreen.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 586 hdrMetadata.smpte2086.displayPrimaryBlue.x = metadata->displayPrimaryBlue.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 587 hdrMetadata.smpte2086.displayPrimaryBlue.y = metadata->displayPrimaryBlue.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 588 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086() 589 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086() 590 hdrMetadata.smpte2086.minLuminance = metadata->minLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086() 591 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() 187 maxLuminanceNits = std::max(smpte2086.maxLuminance, maxLuminanceNits); in apply()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 850 mHdrMetadata.smpte2086.displayPrimaryRed.x}, in setPerFrameMetadata() 852 mHdrMetadata.smpte2086.displayPrimaryRed.y}, in setPerFrameMetadata() 854 mHdrMetadata.smpte2086.displayPrimaryGreen.x}, in setPerFrameMetadata() 856 mHdrMetadata.smpte2086.displayPrimaryGreen.y}, in setPerFrameMetadata() 858 mHdrMetadata.smpte2086.displayPrimaryBlue.x}, in setPerFrameMetadata() 860 mHdrMetadata.smpte2086.displayPrimaryBlue.y}, in setPerFrameMetadata() 862 mHdrMetadata.smpte2086.whitePoint.x}, in setPerFrameMetadata() 864 mHdrMetadata.smpte2086.whitePoint.y}, in setPerFrameMetadata() 866 mHdrMetadata.smpte2086.maxLuminance}, in setPerFrameMetadata() 868 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 | 1050 std::optional<ui::Smpte2086> smpte2086; in queueHDRMetadata() local 1051 auto res = mapper.getSmpte2086(buffer, &smpte2086); in queueHDRMetadata() 1052 if ((res == OK) && smpte2086.has_value()) { in queueHDRMetadata() 1053 const auto& metaValue = smpte2086.value(); in queueHDRMetadata()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.cpp | 249 maxLuminance = std::min(mSnapshot->hdrMetadata.smpte2086.maxLuminance, in prepareBufferStateClientComposition() 252 maxLuminance = mSnapshot->hdrMetadata.smpte2086.maxLuminance; in prepareBufferStateClientComposition()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 348 std::optional<ui::Smpte2086> smpte2086) { in setSmpte2086() argument 349 return mMapper->setSmpte2086(bufferHandle, smpte2086); in setSmpte2086()
|
D | Gralloc5.cpp | 979 std::optional<ui::Smpte2086> smpte2086) const { in setSmpte2086() 980 return setStandardMetadata<StandardMetadataType::SMPTE2086>(mMapper, bufferHandle, smpte2086); in setSmpte2086()
|
D | Gralloc4.cpp | 700 std::optional<ui::Smpte2086> smpte2086) const { in setSmpte2086() 701 return set(bufferHandle, gralloc4::MetadataType_Smpte2086, smpte2086, in setSmpte2086()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | surface_texture.cpp | 211 *outSmpte2086 = metadata.smpte2086; in ASurfaceTexture_dequeueBuffer()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 140 EGLBoolean getSmpte2086Metadata(android_smpte2086_metadata& smpte2086) const;
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 93 ? mBufferItem.mHdrMetadata.smpte2086.maxLuminance in getLayerSettings()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 161 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferMapper.h | 161 status_t setSmpte2086(buffer_handle_t bufferHandle, std::optional<ui::Smpte2086> smpte2086);
|
D | Gralloc5.h | 135 std::optional<ui::Smpte2086> smpte2086) const override;
|
D | Gralloc4.h | 110 std::optional<ui::Smpte2086> smpte2086) const override;
|
/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 | 431 const android_smpte2086_metadata smpte2086 = { in TEST_F() local 447 int error = native_window_set_buffers_smpte2086_metadata(window.get(), &smpte2086); in TEST_F()
|