/external/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 | ICCTest.cpp | 23 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); 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 | NonlinearBlendingTest.cpp | 15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
|
/external/skqp/src/core/ |
D | SkColorSpace.cpp | 39 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const skcms_TransferFunction& transferFn, in MakeRGB() function in SkColorSpace 175 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut); in makeLinearGamma() 184 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in makeSRGBGamma() 241 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make() 246 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make() 323 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize() 332 return SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, in Deserialize() 347 return SkColorSpace::MakeRGB(tf, toXYZ); in Deserialize() 387 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize()
|
/external/skia/src/core/ |
D | SkColorSpace.cpp | 39 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const skcms_TransferFunction& transferFn, in MakeRGB() function in SkColorSpace 162 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, fToXYZD50); in makeLinearGamma() 169 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, fToXYZD50); in makeSRGBGamma() 217 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make() 222 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make() 299 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize() 308 return SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, in Deserialize() 323 return SkColorSpace::MakeRGB(tf, toXYZ); in Deserialize() 363 return SkColorSpace::MakeRGB(transferFn, toXYZ); in Deserialize()
|
/external/skqp/tests/ |
D | ColorSpaceTest.cpp | 145 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ), false); in DEF_TEST() 178 sk_sp<SkColorSpace> rgb4 = SkColorSpace::MakeRGB(fn, toXYZ); in DEF_TEST() 224 sk_sp<SkColorSpace> space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, srgbToXYZ); in DEF_TEST() 271 space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST() 286 space = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST() 303 sk_sp<SkColorSpace> strange = SkColorSpace::MakeRGB(fn, SkNamedGamut::kSRGB); in DEF_TEST() 319 sk_sp<SkColorSpace> twoDotTwo = SkColorSpace::MakeRGB(fn, SkNamedGamut::kSRGB); in DEF_TEST()
|
D | ICCTest.cpp | 24 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); in DEF_TEST()
|
D | ToSRGBColorFilter.cpp | 25 auto dci_p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, SkNamedGamut::kDCIP3); in DEF_TEST()
|
D | TableColorFilterTest.cpp | 20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); 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 | NonlinearBlendingTest.cpp | 15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
|
/external/skqp/gm/ |
D | tosrgb_colorfilter.cpp | 29 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); 39 auto narrow = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, narrowGamutRGBMatrix);
|
D | makecolorspace.cpp | 52 sk_sp<SkColorSpace> wideGamut = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw() 92 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
|
/external/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);
|
/external/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()
|
/external/skqp/bench/ |
D | ColorCanvasDrawBitmapBench.cpp | 57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
|
D | ColorSpaceXformBench.cpp | 37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()
|