Home
last modified time | relevance | path

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

12

/third_party/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()
DSkColorSpaceXformStepsTest.cpp14 adobe = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB), in DEF_TEST()
15 srgb22 = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kSRGB), in DEF_TEST()
DICCTest.cpp23 auto want = SkColorSpace::MakeRGB(SkNamedTransferFn::k2Dot2, SkNamedGamut::kAdobeRGB); in DEF_TEST()
DNonlinearBlendingTest.cpp15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
DAndroidCodecTest.cpp163 auto expected = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3); in DEF_TEST()
/third_party/skia/src/core/
DSkColorSpace.cpp40 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/
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()
Dp3.cpp115 auto p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3);
390 auto p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDisplayP3);
/third_party/skia/src/gpu/vk/
DGrVkUtil.h89 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc()
95 return GrColorFormatDesc::MakeRGB(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc()
/third_party/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);
/third_party/skia/tools/flags/
DCommonFlagsConfig.cpp238 { "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/
DGrTypesPriv.h1030 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/
DSkColorSpace.h119 static sk_sp<SkColorSpace> MakeRGB(const skcms_TransferFunction& transferFn,
/third_party/skia/src/gpu/d3d/
DGrD3DUtil.h68 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc()
/third_party/skia/src/ports/
DSkNDKConversions.cpp113 return SkColorSpace::MakeRGB(entry.transferFunction, entry.gamut); in toColorSpace()
/third_party/skia/gm/verifiers/
Dgmverifier.cpp87 SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020)); in VerifierColorInfo()
/third_party/skia/tools/
DHashAndEncode.cpp10 return SkColorSpace::MakeRGB(SkNamedTransferFn::kRec2020, SkNamedGamut::kRec2020); in rec2020()
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp121 SkColorSpace::MakeRGB(skcmsFn, skcmsMat)); in gen_fuzzed_imageinfo()

12