Home
last modified time | relevance | path

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

12

/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/flutter/skia/src/core/
DSkColorSpace.cpp173 skcms_Matrix3x3 gamut; in makeLinearGamma() local
174 this->toXYZD50(&gamut); in makeLinearGamma()
175 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut); in makeLinearGamma()
182 skcms_Matrix3x3 gamut; in makeSRGBGamma() local
183 this->toXYZD50(&gamut); in makeSRGBGamma()
184 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in makeSRGBGamma()
/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/flutter/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.cpp1217 skcms_Matrix3x3 gamut; in identify_gamut() local
1218 if (cs->toXYZD50(&gamut)) { in identify_gamut()
1227 if (eq(gamut, SkNamedGamut::kSRGB )) { return SkString("sRGB"); } in identify_gamut()
1228 if (eq(gamut, SkNamedGamut::kAdobeRGB)) { return SkString("Adobe"); } in identify_gamut()
1229 if (eq(gamut, SkNamedGamut::kDCIP3 )) { return SkString("P3"); } in identify_gamut()
1230 if (eq(gamut, SkNamedGamut::kRec2020 )) { return SkString("2020"); } in identify_gamut()
1231 if (eq(gamut, SkNamedGamut::kXYZ )) { return SkString("XYZ"); } in identify_gamut()
1232 if (eq(gamut, gNarrow_toXYZD50 )) { return SkString("narrow"); } in identify_gamut()
1281 result.gamut = identify_gamut (bitmap->colorSpace()); in WriteToDisk()
DDMJsonWriter.h32 SkString gamut; member
/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/flutter/skia/tools/fm/
Dfm.cpp46 static DEFINE_string(gamut , "srgb", "The color gamut for any raster backend.");
482 skcms_Matrix3x3 gamut; in main() local
488 !parse_flag(FLAGS_gamut , "gamut" , kGamuts , &gamut) || in main()
494 : SkColorSpace::MakeRGB(tf,gamut); in main()
/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/flutter/engine/flutter/shell/platform/darwin/ios/
Dios_gl_context.mm28 // gamut just tells us what color space it makes sense to render into. We
/third_party/flutter/flutter/dev/manual_tests/lib/
Dcolor_testing_demo.dart27 … Image.network('https://flutter.github.io/assets-for-api-docs/assets/tests/colors/wide-gamut.png'),
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_gl_colorspace_scrgb_linear.txt97 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_scrgb.txt107 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_linear.txt97 The effective color gamut and luminance range of the content that extend
DEGL_EXT_gl_colorspace_scrgb.txt107 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

12