Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorSpace.h96 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, Gamut gamut);
97 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50);
98 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs, Gamut gamut);
99 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs,
/external/skia/src/core/
DSkColorSpace.cpp115 sk_sp<SkColorSpace> SkColorSpace_Base::MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50) in MakeRGB() function in SkColorSpace_Base
143 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50) { in MakeRGB() function in SkColorSpace
146 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB()
148 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, toXYZD50); in MakeRGB()
154 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const SkColorSpaceTransferFn& coeffs, in MakeRGB() function in SkColorSpace
161 return SkColorSpace::MakeRGB(kSRGB_RenderTargetGamma, toXYZD50); in MakeRGB()
165 return SkColorSpace_Base::MakeRGB(k2Dot2Curve_SkGammaNamed, toXYZD50); in MakeRGB()
169 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB()
186 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, Gamut gamut) { in MakeRGB() function in SkColorSpace
189 return SkColorSpace::MakeRGB(gamma, toXYZD50); in MakeRGB()
[all …]
DSkColorSpace_XYZ.cpp89 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, fToXYZD50); in makeLinearGamma()
96 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, fToXYZD50); in makeSRGBGamma()
DSkColorSpace_Base.h197 static sk_sp<SkColorSpace> MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50);
DSkColorSpace_ICC.cpp1416 return SkColorSpace_Base::MakeRGB(gammaNamed, mat); in make_xyz()
1441 return SkColorSpace_Base::MakeRGB(data.fNamed, toXYZD50); in make_gray()
/external/skia/tests/
DColorSpaceTest.cpp112 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, srgbToxyzD50); in DEF_TEST()
123 sk_sp<SkColorSpace> rgbColorSpace2 = SkColorSpace::MakeRGB(srgbFn, srgbToxyzD50); in DEF_TEST()
129 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, srgbToxyzD50); in DEF_TEST()
147 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, srgbToxyzD50); in DEF_TEST()
158 sk_sp<SkColorSpace> rgbColorSpace2 = SkColorSpace::MakeRGB(linearExpFn, srgbToxyzD50); in DEF_TEST()
169 sk_sp<SkColorSpace> rgbColorSpace3 = SkColorSpace::MakeRGB(linearFn, srgbToxyzD50); in DEF_TEST()
175 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, srgbToxyzD50); in DEF_TEST()
196 sk_sp<SkColorSpace> rgbColorSpace = SkColorSpace::MakeRGB(fn, adobeToxyzD50); in DEF_TEST()
267 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ).get(), false); in DEF_TEST()
292 sk_sp<SkColorSpace> rgb4 = SkColorSpace::MakeRGB(fn, toXYZ); in DEF_TEST()
[all …]
DImageTest.cpp1033 sk_sp<SkColorSpace> rec2020 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST()
1055 sk_sp<SkColorSpace> p3 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST()
1059 sk_sp<SkColorSpace> adobeGamut = SkColorSpace::MakeRGB(fn, SkColorSpace::kAdobeRGB_Gamut); in DEF_TEST()
DColorSpaceXformTest.cpp308 auto dstSpace = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkMatrix44::I()); in DEF_TEST()
DBitmapCopyTest.cpp668 sk_sp<SkColorSpace> cs = SkColorSpace::MakeRGB(fn, SkColorSpace::kRec2020_Gamut); in DEF_TEST()
DCanvasTest.cpp909 sk_sp<SkColorSpace> cs = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in DEF_TEST()
DSurfaceTest.cpp816 auto oddColorSpace = SkColorSpace::MakeRGB(oddGamma, *srgbMatrix); in test_surface_creation_and_snapshot_with_color_space()
DCodecTest.cpp1570 sk_sp<SkColorSpace> p3 = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in test_encode_icc()
/external/skia/gm/
Dgammaencodedpremul.cpp119 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kRec2020_Gamut),
121 DEF_GM(return new GammaEncodedPremulGM(SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma,
124 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut),
127 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut),
130 SkColorSpace::MakeRGB({ 1.8f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f },
Dgamut.cpp138 wideCS = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in draw_gamut_grid()
143 wideCS = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, in draw_gamut_grid()
Dcolorspacexform.cpp42 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, wideGamut); in onOnceBeforeDraw()
Dcolor4f.cpp120 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, mat)),
Dreadpixels.cpp97 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in make_srgb_transfer_fn()
/external/skia/tools/flags/
DSkCommonFlagsConfig.cpp312 *outColorSpace = SkColorSpace::MakeRGB(gamma, gamut); in parse_option_gpu_color()
326 *outColorSpace = SkColorSpace::MakeRGB(gamma, wideGamutRGBMatrix); in parse_option_gpu_color()
337 *outColorSpace = SkColorSpace::MakeRGB(gamma, narrowGamutRGBMatrix); in parse_option_gpu_color()
/external/skia/bench/
DColorCanvasDrawBitmapBench.cpp56 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kAdobeRGB_Gamut),
DColorCodecBench.cpp78 fDstSpace = SkColorSpace::MakeRGB(gamma, matrix); in onDelayedSetup()
/external/skia/src/codec/
DSkPngCodec.cpp414 return SkColorSpace::MakeRGB(fn, toXYZD50); in read_color_space()
419 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in read_color_space()
433 return SkColorSpace::MakeRGB(fn, toXYZD50); in read_color_space()
DSkAndroidCodec.cpp192 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in computeOutputColorSpace()
/external/skia/dm/
DDM.cpp890 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in adobe_rgb()
907 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in rgb_to_gbr()
/external/skia/tools/viewer/
DViewer.cpp752 cs = SkColorSpace::MakeRGB(transferFn, toXYZ); in drawSlide()
/external/skia/samplecode/
DSampleApp.cpp1706 colorSpace = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, in onEvent()