Home
last modified time | relevance | path

Searched refs:MakeRGB (Results 1 – 25 of 65) sorted by relevance

123

/external/skia/tests/
DNdkDecodeTest.cpp81 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 …]
DNdkEncodeTest.cpp274 { 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 …]
DColorSpaceTest.cpp146 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()
DICCTest.cpp23 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); in DEF_TEST()
DSkColorSpaceXformStepsTest.cpp14 adobe = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST()
15 srgb22 = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kSRGB), in DEF_TEST()
DNonlinearBlendingTest.cpp15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
/external/skqp/src/core/
DSkColorSpace.cpp39 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/
DSkColorSpace.cpp39 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/
DColorSpaceTest.cpp145 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()
DICCTest.cpp24 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); in DEF_TEST()
DToSRGBColorFilter.cpp25 auto dci_p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, SkNamedGamut::kDCIP3); in DEF_TEST()
DTableColorFilterTest.cpp20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST()
DSkColorSpaceXformStepsTest.cpp14 adobe = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST()
15 srgb22 = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kSRGB), in DEF_TEST()
DNonlinearBlendingTest.cpp15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
/external/skqp/gm/
Dtosrgb_colorfilter.cpp29 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
39 auto narrow = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, narrowGamutRGBMatrix);
Dmakecolorspace.cpp52 sk_sp<SkColorSpace> wideGamut = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw()
92 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
/external/skia/docs/examples/
DPixmap_setColorSpace.cpp9 sk_sp<SkColorSpace> colorSpace1 = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma,
DImage_makeColorSpace.cpp8 sk_sp<SkColorSpace> normalColorSpace = SkColorSpace::MakeRGB(
DImage_colorSpace.cpp15 sk_sp<SkColorSpace> colorSpace = SkColorSpace::MakeRGB(gamma, SkColorSpace::kSRGB_Gamut);
DImage_refColorSpace.cpp15 sk_sp<SkColorSpace> colorSpace = SkColorSpace::MakeRGB(gamma, SkColorSpace::kSRGB_Gamut);
/external/skia/gm/
Dmakecolorspace.cpp48 sk_sp<SkColorSpace> wideGamut = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB,
85 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
Dpictureshadercache.cpp80 sk_sp<SkColorSpace> gty = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw()
Dcolorspace.cpp87 sk_sp<SkColorSpace> midCS = SkColorSpace::MakeRGB(tf, gamut); in draw_colorspace_gm()
/external/skqp/bench/
DColorCanvasDrawBitmapBench.cpp57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
DColorSpaceXformBench.cpp37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()

123