Searched refs:colorSpaces (Results 1 – 7 of 7) sorted by relevance
109 ColorSpace.Named[] colorSpaces = isHdr ? sSupportedJpegRHdrColorSpaces : in printSupportedJpegRColorSpaces() local112 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() local124 for (ColorSpace.Named cs : colorSpaces) { in isSupportedJpegRColorSpace()
55 val colorSpaces = arrayOf(sRGB, displayP3, bt2020_pq, scRGB) in onDraw() constant57 val colWidth = width / colorSpaces.size.toFloat() in onDraw()70 paint.setColor(toMaxColor(it, colorSpaces[colIndex])) in onDraw()
450 std::vector<EGLint> colorSpaces; in getDriverColorSpaces() local453 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 …]
1613 final List<ColorSpace> colorSpaces = new ArrayList<>(); in getSupportedWideColorGamut() local1618 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()
2401 ColorSpace[] colorSpaces = { srgb, srgb }; in getCompositionColorSpaces() local2406 colorSpaces[i] = cs; in getCompositionColorSpaces()2410 return colorSpaces; in getCompositionColorSpaces()
1388 auto colorSpaces = c.find(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP); in deriveJpegRTags() local1389 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()
630 ColorSpace[] colorSpaces = SurfaceControl.getCompositionColorSpaces(); in DisplayManagerService() local631 mWideColorSpace = colorSpaces[1]; in DisplayManagerService()