Home
last modified time | relevance | path

Searched refs:whitePoint (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt52 private val whitePoint get() = SDR_WHITE_POINTS[targetSdrWhitePointIndex] constant in com.android.test.silkfx.common.ColorModeControls
92 threadedRenderer?.setColorMode(newMode, whitePoint) in setColorMode()
94 val whitePoint = whitePoint.toInt() in setColorMode() constant
99 ActivityInfo.COLOR_MODE_HDR -> "HDR (sdr white point $whitePoint)" in setColorMode()
100 COLOR_MODE_HDR10 -> "HDR10 (sdr white point $whitePoint)" in setColorMode()
142 threadedRenderer?.setColorMode(window!!.colorMode, whitePoint) in onAttachedToWindow()
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp65 egl_smpte2086_metadata.whitePoint = {EGL_DONT_CARE, EGL_DONT_CARE}; in egl_surface_t()
124 egl_smpte2086_metadata.whitePoint.x = value; in setSmpte2086Attribute()
128 egl_smpte2086_metadata.whitePoint.y = value; in setSmpte2086Attribute()
165 egl_smpte2086_metadata.whitePoint.x == EGL_DONT_CARE || in getSmpte2086Metadata()
166 egl_smpte2086_metadata.whitePoint.y == EGL_DONT_CARE || in getSmpte2086Metadata()
189 metadata.whitePoint.x = in getSmpte2086Metadata()
190 static_cast<float>(egl_smpte2086_metadata.whitePoint.x) / EGL_METADATA_SCALING_EXT; in getSmpte2086Metadata()
191 metadata.whitePoint.y = in getSmpte2086Metadata()
192 static_cast<float>(egl_smpte2086_metadata.whitePoint.y) / EGL_METADATA_SCALING_EXT; in getSmpte2086Metadata()
254 *value = egl_smpte2086_metadata.whitePoint.x; in getSmpte2086Attribute()
[all …]
Degl_object.h170 struct egl_xy_color whitePoint; member
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1308 @NonNull @Size(min = 2, max = 3) float[] whitePoint) { in adapt()
1309 return adapt(colorSpace, whitePoint, Adaptation.BRADFORD); in adapt()
1337 @NonNull @Size(min = 2, max = 3) float[] whitePoint, in adapt()
1341 if (compare(rgb.mWhitePoint, whitePoint)) return colorSpace; in adapt()
1343 float[] xyz = whitePoint.length == 3 ? in adapt()
1344 Arrays.copyOf(whitePoint, 3) : xyYToXyz(whitePoint); in adapt()
1349 return new ColorSpace.Rgb(rgb, transform, whitePoint); in adapt()
2433 @NonNull @Size(min = 2, max = 3) float[] whitePoint, in Rgb()
2438 this(name, primaries, whitePoint, null, oetf, eotf, min, max, null, MIN_ID); in Rgb()
2507 @NonNull @Size(min = 2, max = 3) float[] whitePoint, in Rgb()
[all …]
DParcelableColorSpace.java119 float[] whitePoint = in.createFloatArray();
130 new ColorSpace.Rgb(name, primaries, whitePoint, function));
DHardwareRenderer.java661 public void setColorMode(@ActivityInfo.ColorMode int colorMode, float whitePoint) { in setColorMode() argument
662 nSetSdrWhitePoint(mNativeProxy, whitePoint); in setColorMode()
1392 private static native void nSetSdrWhitePoint(long nativeProxy, float whitePoint); in nSetSdrWhitePoint() argument
/frameworks/native/libs/ui/
DColorSpace.cpp151 const float2& whitePoint, in ColorSpace() argument
156 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
162 , mWhitePoint(whitePoint) { in ColorSpace()
168 const float2& whitePoint, in ColorSpace() argument
172 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
179 , mWhitePoint(whitePoint) { in ColorSpace()
185 const float2& whitePoint, in ColorSpace() argument
189 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
196 , mWhitePoint(whitePoint) {
200 const std::array<float2, 3>& primaries, const float2& whitePoint) { in computeXYZMatrix() argument
[all …]
/frameworks/base/libs/hwui/utils/
DHostColorSpace.cpp152 const float2& whitePoint, in ColorSpace() argument
157 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
163 , mWhitePoint(whitePoint) { in ColorSpace()
169 const float2& whitePoint, in ColorSpace() argument
173 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
180 , mWhitePoint(whitePoint) { in ColorSpace()
186 const float2& whitePoint, in ColorSpace() argument
190 , mRGBtoXYZ(computeXYZMatrix(primaries, whitePoint)) in ColorSpace()
197 , mWhitePoint(whitePoint) {
201 const std::array<float2, 3>& primaries, const float2& whitePoint) { in computeXYZMatrix() argument
[all …]
/frameworks/native/libs/gui/
DHdrMetadata.cpp108 smpte2086.whitePoint.x != rhs.smpte2086.whitePoint.x || in operator ==()
109 smpte2086.whitePoint.y != rhs.smpte2086.whitePoint.y || in operator ==()
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java128 float[] whitePoint = WHITE_POINT_D65; in argbFromLstar() local
129 return argbFromXyz(x * whitePoint[0], y * whitePoint[1], z * whitePoint[2]); in argbFromLstar()
/frameworks/native/libs/ui/include_types/ui/
DColorSpace.h108 const float2& whitePoint,
126 const float2& whitePoint,
142 const float2& whitePoint,
258 const std::array<float2, 3>& primaries, const float2& whitePoint);
DGraphicTypes.h73 .whitePoint = translate(metadata.whitePoint), in translate()
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h108 const float2& whitePoint,
126 const float2& whitePoint,
142 const float2& whitePoint,
258 const std::array<float2, 3>& primaries, const float2& whitePoint);
DGraphicTypes.h73 .whitePoint = translate(metadata.whitePoint), in translate()
/frameworks/native/libs/ui/include/ui/
DGraphicTypes.h73 .whitePoint = translate(metadata.whitePoint), in translate()
/frameworks/native/libs/nativewindow/include/android/
Dhdr_metadata.h59 struct AColor_xy whitePoint; member
/frameworks/base/native/android/
Dsurface_control.cpp551 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
552 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp1100 (*staticInfo)->mastering.white.x = smpte2086->whitePoint.x; in GetHdrMetadataFromGralloc4Handle()
1101 (*staticInfo)->mastering.white.y = smpte2086->whitePoint.y; in GetHdrMetadataFromGralloc4Handle()
1201 && 0.0 <= smpte2086->whitePoint.x && smpte2086->whitePoint.x <= 1.0 in SetMetadataToGralloc4Handle()
1202 && 0.0 <= smpte2086->whitePoint.y && smpte2086->whitePoint.y <= 1.0 in SetMetadataToGralloc4Handle()
DCCodecBufferChannel.cpp930 .whitePoint = { in renderOutputBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp1145 .whitePoint.x = metaValue.whitePoint.x, in queueHDRMetadata()
1146 .whitePoint.y = metaValue.whitePoint.y, in queueHDRMetadata()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp152 .whitePoint = { in setNativeWindowHdrMetadata()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h179 hdrMetadata.smpte2086.whitePoint.x = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
180 hdrMetadata.smpte2086.whitePoint.y = fdp->ConsumeFloatingPoint<float>(); in getFuzzedHdrMetadata()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp812 mHdrMetadata.smpte2086.whitePoint.x}, in setPerFrameMetadata()
814 mHdrMetadata.smpte2086.whitePoint.y}, in setPerFrameMetadata()
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp880 err = encodeXyColor(smpte2086.whitePoint, outOutputHidlVec); in encodeSmpte2086Helper()
904 err = decodeXyColor(inputHidlVec, &outSmpte2086->whitePoint); in decodeSmpte2086Helper()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1975 {vulkanMetadata.whitePoint.x, vulkanMetadata.whitePoint.y}, in SetHdrMetadataEXT()