/third_party/skia/tests/ |
D | NdkDecodeTest.cpp | 81 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kSRGB), in DEF_TEST() 82 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020), in DEF_TEST() 83 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3), in DEF_TEST() 84 SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST() 85 SkColorSpace::MakeRGB(k2Dot6, kDCIP3), in DEF_TEST() 125 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kSRGB), in DEF_TEST() 126 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020), in DEF_TEST() 127 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3), in DEF_TEST() 128 SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST() 129 SkColorSpace::MakeRGB(k2Dot6, kDCIP3), in DEF_TEST() [all …]
|
D | NdkEncodeTest.cpp | 274 { SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kSRGB), "bt709" }, in DEF_TEST() 275 { SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020), "rec2020" }, in DEF_TEST() 276 { SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3), "p3" }, in DEF_TEST() 277 { SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), "adobeRGB"}, in DEF_TEST() 278 { SkColorSpace::MakeRGB(k2Dot6, kDCIP3), "dci-p3" }, 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() 321 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, gamut)); in DEF_TEST() 326 unsupportedCs.push_back(SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, gamut)); in DEF_TEST() [all …]
|
D | ColorSpaceTest.cpp | 146 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ), false); in DEF_TEST() 179 sk_sp<SkColorSpace> rgb4 = SkColorSpace::MakeRGB(fn, toXYZ); in DEF_TEST() 225 sk_sp<SkColorSpace> space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, srgbToXYZ); in DEF_TEST() 272 space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST() 287 space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST() 304 sk_sp<SkColorSpace> strange = SkColorSpace::MakeRGB(fn, SkNamedGamut::kSRGB); in DEF_TEST() 320 sk_sp<SkColorSpace> twoDotTwo = SkColorSpace::MakeRGB(fn, SkNamedGamut::kSRGB); in DEF_TEST() 348 sk_sp<SkColorSpace> bad = SkColorSpace::MakeRGB(fn, SkNamedGamut::kSRGB); in DEF_TEST() 361 sk_sp<SkColorSpace> x = SkColorSpace::MakeRGB(tf, gamut), in DEF_TEST() 362 y = SkColorSpace::MakeRGB(tf, gamut); in DEF_TEST()
|
D | SkColorSpaceXformStepsTest.cpp | 14 adobe = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST() 15 srgb22 = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kSRGB), in DEF_TEST()
|
D | ICCTest.cpp | 23 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); in DEF_TEST()
|
D | NonlinearBlendingTest.cpp | 15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
|
D | AndroidCodecTest.cpp | 163 auto expected = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
|
/third_party/skia/src/core/ |
D | SkColorSpace.cpp | 40 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const skcms_TransferFunction& transferFn, in MakeRGB() function in SkColorSpace 163 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, fToXYZD50); in makeLinearGamma() 170 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, fToXYZD50); in makeSRGBGamma() 231 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make() 236 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make() 313 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize() 322 return SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, in Deserialize() 337 return SkColorSpace::MakeRGB(tf, toXYZ); in Deserialize() 377 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize()
|
/third_party/skia/gm/ |
D | makecolorspace.cpp | 48 sk_sp<SkColorSpace> wideGamut = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, 85 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
|
D | pictureshadercache.cpp | 80 sk_sp<SkColorSpace> gty = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw()
|
D | colorspace.cpp | 87 sk_sp<SkColorSpace> midCS = SkColorSpace::MakeRGB(tf, gamut); in draw_colorspace_gm()
|
D | p3.cpp | 115 auto p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); 390 auto p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3);
|
/third_party/skia/src/gpu/vk/ |
D | GrVkUtil.h | 89 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 95 return GrColorFormatDesc::MakeRGB(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc()
|
/third_party/skia/docs/examples/ |
D | Pixmap_setColorSpace.cpp | 9 sk_sp<SkColorSpace> colorSpace1 = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma,
|
D | Image_makeColorSpace.cpp | 8 sk_sp<SkColorSpace> normalColorSpace = SkColorSpace::MakeRGB(
|
D | Image_colorSpace.cpp | 15 sk_sp<SkColorSpace> colorSpace = SkColorSpace::MakeRGB(gamma, SkColorSpace::kSRGB_Gamut);
|
D | Image_refColorSpace.cpp | 15 sk_sp<SkColorSpace> colorSpace = SkColorSpace::MakeRGB(gamma, SkColorSpace::kSRGB_Gamut);
|
/third_party/skia/tools/flags/ |
D | CommonFlagsConfig.cpp | 238 { "narrow", SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, gNarrow_toXYZD50) }, in SkCommandLineConfig() 241 { "p3", SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3) }, in SkCommandLineConfig() 243 { "rec2020", SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020) }, in SkCommandLineConfig()
|
/third_party/skia/include/private/ |
D | GrTypesPriv.h | 1030 static constexpr GrColorFormatDesc MakeRGB(int rgb, GrColorTypeEncoding e) { in MakeRGB() function 1034 static constexpr GrColorFormatDesc MakeRGB(int r, int g, int b, GrColorTypeEncoding e) { in MakeRGB() function 1103 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrGetColorTypeDesc() 1111 return GrColorFormatDesc::MakeRGB(8, GrColorTypeEncoding::kUnorm); in GrGetColorTypeDesc() 1147 return GrColorFormatDesc::MakeRGB(8, GrColorTypeEncoding::kUnorm); in GrGetColorTypeDesc()
|
/third_party/skia/include/core/ |
D | SkColorSpace.h | 119 static sk_sp<SkColorSpace> MakeRGB(const skcms_TransferFunction& transferFn,
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DUtil.h | 68 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc()
|
/third_party/skia/src/ports/ |
D | SkNDKConversions.cpp | 113 return SkColorSpace::MakeRGB(entry.transferFunction, entry.gamut); in toColorSpace()
|
/third_party/skia/gm/verifiers/ |
D | gmverifier.cpp | 87 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020)); in VerifierColorInfo()
|
/third_party/skia/tools/ |
D | HashAndEncode.cpp | 10 return SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020); in rec2020()
|
/third_party/skia/fuzz/ |
D | FuzzCreateDDL.cpp | 121 SkColorSpace::MakeRGB(skcmsFn, skcmsMat)); in gen_fuzzed_imageinfo()
|