Home
last modified time | relevance | path

Searched refs:colorSpaces (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DYuvImage.java109 ColorSpace.Named[] colorSpaces = isHdr ? sSupportedJpegRHdrColorSpaces : in printSupportedJpegRColorSpaces() local
112 for (int i = 0; i < colorSpaces.length; ++i) { in printSupportedJpegRColorSpaces()
113 sb.append(ColorSpace.get(colorSpaces[i]).getName()); in printSupportedJpegRColorSpaces()
114 if (i != colorSpaces.length - 1) { in printSupportedJpegRColorSpaces()
122 ColorSpace.Named[] colorSpaces = isHdr ? sSupportedJpegRHdrColorSpaces : in isSupportedJpegRColorSpace() local
124 for (ColorSpace.Named cs : colorSpaces) { in isSupportedJpegRColorSpace()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt55 val colorSpaces = arrayOf(sRGB, displayP3, bt2020_pq, scRGB) in onDraw() constant
57 val colWidth = width / colorSpaces.size.toFloat() in onDraw()
70 paint.setColor(toMaxColor(it, colorSpaces[colIndex])) in onDraw()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp450 std::vector<EGLint> colorSpaces; in getDriverColorSpaces() local
453 colorSpaces.push_back(EGL_GL_COLORSPACE_SRGB_KHR); in getDriverColorSpaces()
454 colorSpaces.push_back(EGL_GL_COLORSPACE_LINEAR_KHR); in getDriverColorSpaces()
457 colorSpaces.push_back(EGL_GL_COLORSPACE_DISPLAY_P3_EXT); in getDriverColorSpaces()
460 colorSpaces.push_back(EGL_GL_COLORSPACE_SCRGB_EXT); in getDriverColorSpaces()
463 colorSpaces.push_back(EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT); in getDriverColorSpaces()
466 colorSpaces.push_back(EGL_GL_COLORSPACE_BT2020_HLG_EXT); in getDriverColorSpaces()
469 colorSpaces.push_back(EGL_GL_COLORSPACE_BT2020_LINEAR_EXT); in getDriverColorSpaces()
472 colorSpaces.push_back(EGL_GL_COLORSPACE_BT2020_PQ_EXT); in getDriverColorSpaces()
475 colorSpaces.push_back(EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT); in getDriverColorSpaces()
[all …]
/frameworks/base/core/java/android/view/
DDisplay.java1613 final List<ColorSpace> colorSpaces = new ArrayList<>(); in getSupportedWideColorGamut() local
1618 colorSpaces.add(ColorSpace.get(ColorSpace.Named.DCI_P3)); in getSupportedWideColorGamut()
1621 colorSpaces.add(ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in getSupportedWideColorGamut()
1625 return colorSpaces.toArray(defaultColorSpaces); in getSupportedWideColorGamut()
DSurfaceControl.java2401 ColorSpace[] colorSpaces = { srgb, srgb }; in getCompositionColorSpaces() local
2406 colorSpaces[i] = cs; in getCompositionColorSpaces()
2410 return colorSpaces; in getCompositionColorSpaces()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1388 auto colorSpaces = c.find(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP); in deriveJpegRTags() local
1389 if (colorSpaces.count > 0 && !maxResolution) { in deriveJpegRTags()
1392 for (size_t i = 0; i < colorSpaces.count; i += 3) { in deriveJpegRTags()
1393 auto colorSpace = colorSpaces.data.i64[i]; in deriveJpegRTags()
1394 auto format = colorSpaces.data.i64[i+1]; in deriveJpegRTags()
1405 dynamicRange |= colorSpaces.data.i64[i+2]; in deriveJpegRTags()
1411 supportedColorSpaces.reserve(colorSpaces.count + 3*2); in deriveJpegRTags()
1412 supportedColorSpaces.insert(supportedColorSpaces.end(), colorSpaces.data.i64, in deriveJpegRTags()
1413 colorSpaces.data.i64 + colorSpaces.count); in deriveJpegRTags()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java630 ColorSpace[] colorSpaces = SurfaceControl.getCompositionColorSpaces(); in DisplayManagerService() local
631 mWideColorSpace = colorSpaces[1]; in DisplayManagerService()