Home
last modified time | relevance | path

Searched refs:gamut (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/ports/
DSkNDKConversions.cpp57 skcms_Matrix3x3 gamut; member
99 skcms_Matrix3x3 gamut; in toDataSpace() local
100 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&gamut)) { in toDataSpace()
102 if (nearly_equal(gamut, entry.gamut) && nearly_equal(fn, entry.transferFunction)) { in toDataSpace()
113 return SkColorSpace::MakeRGB(entry.transferFunction, entry.gamut); in toColorSpace()
/third_party/skia/tests/
DNdkEncodeTest.cpp312 for (auto gamut : { SkNamedGamut::kSRGB, SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
314 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kPQ, gamut)); in DEF_TEST()
315 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kHLG, gamut)); in DEF_TEST()
316 unsupportedCs.push_back(SkColorSpace::MakeRGB(k2Dot6, gamut)); in DEF_TEST()
319 for (auto gamut : { SkNamedGamut::kSRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
321 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, gamut)); in DEF_TEST()
324 for (auto gamut : { SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
326 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, gamut)); in DEF_TEST()
329 for (auto gamut : { SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
331 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut)); in DEF_TEST()
[all …]
DNdkDecodeTest.cpp139 for (auto gamut : { SkNamedGamut::kSRGB, SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
141 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kPQ, gamut)); in DEF_TEST()
142 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kHLG, gamut)); in DEF_TEST()
143 unsupportedCs.push_back(SkColorSpace::MakeRGB(k2Dot6, gamut)); in DEF_TEST()
146 for (auto gamut : { SkNamedGamut::kSRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
148 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, gamut)); in DEF_TEST()
151 for (auto gamut : { SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
153 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, gamut)); in DEF_TEST()
156 for (auto gamut : { SkNamedGamut::kAdobeRGB, SkNamedGamut::kDisplayP3, in DEF_TEST()
158 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut)); in DEF_TEST()
[all …]
DColorSpaceTest.cpp354 skcms_Matrix3x3 gamut = SkNamedGamut::kSRGB; in DEF_TEST() local
358 gamut.vals[1][1] = SK_FloatNaN; in DEF_TEST()
361 sk_sp<SkColorSpace> x = SkColorSpace::MakeRGB(tf, gamut), in DEF_TEST()
362 y = SkColorSpace::MakeRGB(tf, gamut); in DEF_TEST()
/third_party/skia/src/core/
DSkColorFilter.cpp333 const skcms_Matrix3x3* gamut, in SkWorkingFormatColorFilter()
337 if (gamut) { fGamut = *gamut; fUseDstGamut = false; } in SkWorkingFormatColorFilter()
344 skcms_Matrix3x3 gamut = fGamut; in workingFormat() local
347 if (fUseDstGamut) { SkAssertResult(dstCS->toXYZD50 (&gamut)); } in workingFormat()
350 return SkColorSpace::MakeRGB(tf, gamut); in workingFormat()
432 skcms_Matrix3x3 gamut; in CreateProc() local
436 if (!useDstGamut) { buffer.readScalarArray(&gamut.vals[0][0], 9); } in CreateProc()
441 useDstGamut ? nullptr : &gamut, in CreateProc()
447 const skcms_Matrix3x3* gamut, in WithWorkingFormat() argument
449 return sk_make_sp<SkWorkingFormatColorFilter>(std::move(child), tf, gamut, at); in WithWorkingFormat()
DSkColorFilterPriv.h22 const skcms_Matrix3x3* gamut,
/third_party/skia/gm/
Dcolorspace.cpp84 for (skcms_Matrix3x3 gamut : gGamuts) { in draw_colorspace_gm() local
87 sk_sp<SkColorSpace> midCS = SkColorSpace::MakeRGB(tf, gamut); in draw_colorspace_gm()
/third_party/skia/site/docs/user/
Dcolor.md35 3. convert those unpremultiplied, linear source colors to XYZ D50 gamut by
37 4. convert those XYZ D50 colors to the destination gamut by multiplying by a 3x3 matrix
54 source and destination color spaces have the same gamut)
71 fewer steps are needed, sometimes more. In general if you need to do a gamut
/third_party/skia/dm/
DDMJsonWriter.cpp83 writer.appendString("gamut", gBitmapResults[i].gamut.c_str()); in DumpJson()
130 br.gamut = options["gamut"].as<StringValue>().begin(); in ReadJson()
DDM.cpp1259 skcms_Matrix3x3 gamut; in identify_gamut() local
1260 if (cs->toXYZD50(&gamut)) { in identify_gamut()
1269 if (eq(gamut, SkNamedGamut::kSRGB )) { return SkString("sRGB"); } in identify_gamut()
1270 if (eq(gamut, SkNamedGamut::kAdobeRGB )) { return SkString("Adobe"); } in identify_gamut()
1271 if (eq(gamut, SkNamedGamut::kDisplayP3)) { return SkString("P3"); } in identify_gamut()
1272 if (eq(gamut, SkNamedGamut::kRec2020 )) { return SkString("2020"); } in identify_gamut()
1273 if (eq(gamut, SkNamedGamut::kXYZ )) { return SkString("XYZ"); } in identify_gamut()
1274 if (eq(gamut, gNarrow_toXYZD50 )) { return SkString("narrow"); } in identify_gamut()
1338 result.gamut = identify_gamut (bitmap->colorSpace()); in WriteToDisk()
DDMJsonWriter.h32 SkString gamut; member
/third_party/skia/tools/fm/
Dfm.cpp60 static DEFINE_string(gamut , "srgb", "The color gamut for any raster backend.");
557 skcms_Matrix3x3 gamut; in main() local
563 !parse_flag(FLAGS_gamut , "gamut" , kGamuts , &gamut) || in main()
569 : SkColorSpace::MakeRGB(tf,gamut); in main()
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_gl_colorspace_scrgb.txt107 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_scrgb_linear.txt97 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_bt2020_linear.txt53 Applications may wish to take advantage of a larger color gamut in the
/third_party/EGL/extensions/EXT/
DEGL_EXT_gl_colorspace_scrgb.txt107 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_scrgb_linear.txt97 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_bt2020_linear.txt53 Applications may wish to take advantage of a larger color gamut in the
/third_party/openGLES/extensions/EXT/
DWGL_EXT_display_color_table.txt27 color gamut adjustment (e.g. gamma correction). It may also be used for
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DWGL_EXT_display_color_table.txt27 color gamut adjustment (e.g. gamma correction). It may also be used for
/third_party/skia/modules/canvaskit/
DCHANGELOG.md502 - Support for wide-gamut color spaces DisplayP3 and AdobeRGB. However, correct representation on a
/third_party/ffmpeg/doc/
Dfilters.texi8828 Set contrast used to draw tongue colors that are out of active color system gamut.
15537 gamut-mapping when dealing with mismatches between wide-gamut or HDR content.
15539 gamut information to produce the best results.
15546 Perceptual gamut mapping. Currently equivalent to relative colorimetric.
15552 Saturation mapping. Forcibly stretches the source gamut to the target gamut.
15556 How to handle out-of-gamut colors that can occur as a result of colorimetric
15557 gamut mapping.
15563 Highlight out-of-gamut pixels (by coloring them pink).
15566 clipping the remaining out-of-gamut colors. As the name implies, this makes
15570 Hard-desaturates out-of-gamut colors towards white, while preserving the
[all …]