Home
last modified time | relevance | path

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

/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt52 private val whitePoint get() = SDR_WHITE_POINTS[targetSdrWhitePointIndex] constant
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.java1303 @NonNull @Size(min = 2, max = 3) float[] whitePoint) { in adapt()
1304 return adapt(colorSpace, whitePoint, Adaptation.BRADFORD); in adapt()
1332 @NonNull @Size(min = 2, max = 3) float[] whitePoint, in adapt()
1336 if (compare(rgb.mWhitePoint, whitePoint)) return colorSpace; in adapt()
1338 float[] xyz = whitePoint.length == 3 ? in adapt()
1339 Arrays.copyOf(whitePoint, 3) : xyYToXyz(whitePoint); in adapt()
1344 return new ColorSpace.Rgb(rgb, transform, whitePoint); in adapt()
2377 @NonNull @Size(min = 2, max = 3) float[] whitePoint, in Rgb()
2382 this(name, primaries, whitePoint, null, oetf, eotf, min, max, null, MIN_ID); in Rgb()
2451 @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.java655 public void setColorMode(@ActivityInfo.ColorMode int colorMode, float whitePoint) { in setColorMode() argument
656 nSetSdrWhitePoint(mNativeProxy, whitePoint); in setColorMode()
1304 private static native void nSetSdrWhitePoint(long nativeProxy, float whitePoint); in nSetSdrWhitePoint() argument
/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/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/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/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);
/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);
/frameworks/native/libs/nativewindow/include/android/
Dhdr_metadata.h59 struct AColor_xy whitePoint; member
/frameworks/base/native/android/
Dsurface_control.cpp549 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
550 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp152 .whitePoint = { in setNativeWindowHdrMetadata()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp742 mHdrMetadata.smpte2086.whitePoint.x}, in setPerFrameMetadata()
744 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.cpp1882 {vulkanMetadata.whitePoint.x, vulkanMetadata.whitePoint.y}, in SetHdrMetadataEXT()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp871 .whitePoint = { in renderOutputBuffer()