Home
last modified time | relevance | path

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

12

/external/skia/tests/
DSRGBReadWritePixelsTest.cpp153 kSRGB, enumerator
161 case Encoding::kSRGB: return SkColorSpace::MakeSRGB(); in encoding_as_color_space()
170 case Encoding::kSRGB: return kSRGBA_8888_GrPixelConfig; in encoding_as_pixel_config()
179 case Encoding::kSRGB: return "sRGB"; in encoding_as_str()
263 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kSRGB, smallError, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 test_write_read(Encoding::kSRGB, Encoding::kUntagged, Encoding::kSRGB, smallError, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
280 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kSRGB, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
283 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DColorSpaceTest.cpp224 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()
DTableColorFilterTest.cpp20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST()
DNonlinearBlendingTest.cpp15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
/external/skqp/tests/
DSRGBReadWritePixelsTest.cpp153 kSRGB, enumerator
161 case Encoding::kSRGB: return SkColorSpace::MakeSRGB(); in encoding_as_color_space()
170 case Encoding::kSRGB: return kSRGBA_8888_GrPixelConfig; in encoding_as_pixel_config()
179 case Encoding::kSRGB: return "sRGB"; in encoding_as_str()
263 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kSRGB, smallError, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 test_write_read(Encoding::kSRGB, Encoding::kUntagged, Encoding::kSRGB, smallError, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
280 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kSRGB, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
283 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DColorSpaceTest.cpp224 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()
DTableColorFilterTest.cpp20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST()
DNonlinearBlendingTest.cpp15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
/external/skqp/src/core/
DSkColorSpacePriv.h85 return transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.a, coeffs.a) && in is_almost_srgb()
86 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.b, coeffs.b) && in is_almost_srgb()
87 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.c, coeffs.c) && in is_almost_srgb()
88 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.d, coeffs.d) && in is_almost_srgb()
89 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.e, coeffs.e) && in is_almost_srgb()
90 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.f, coeffs.f) && in is_almost_srgb()
91 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.g, coeffs.g); in is_almost_srgb()
DSkColorSpace.cpp48 if (xyz_almost_equal(toXYZ, SkNamedGamut::kSRGB)) { in MakeRGB()
51 tf = &SkNamedTransferFn::kSRGB.g; in MakeRGB()
55 if (xyz_almost_equal(toXYZ, SkNamedGamut::kSRGB)) { in MakeRGB()
73 static SkColorSpace* cs = SkColorSpaceSingletonFactory::Make(SkNamedTransferFn::kSRGB, in sk_srgb_singleton()
74 SkNamedGamut::kSRGB); in sk_srgb_singleton()
80 SkNamedGamut::kSRGB); in sk_srgb_linear_singleton()
161 return memcmp(fTransferFn, &SkNamedTransferFn::kSRGB.g, 7*sizeof(float)) == 0; in gammaCloseToSRGB()
184 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in makeSRGBGamma()
241 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make()
352 return make_named_tf(SkNamedTransferFn::kSRGB); in Deserialize()
DSkICC.cpp233 bool srgb_xfer = nearly_equal(fn, SkNamedTransferFn::kSRGB); in get_color_profile_description()
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
/external/skia/src/core/
DSkColorSpacePriv.h85 return transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.a, coeffs.a) && in is_almost_srgb()
86 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.b, coeffs.b) && in is_almost_srgb()
87 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.c, coeffs.c) && in is_almost_srgb()
88 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.d, coeffs.d) && in is_almost_srgb()
89 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.e, coeffs.e) && in is_almost_srgb()
90 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.f, coeffs.f) && in is_almost_srgb()
91 transfer_fn_almost_equal(SkNamedTransferFn::kSRGB.g, coeffs.g); in is_almost_srgb()
DSkColorSpace.cpp48 if (xyz_almost_equal(toXYZ, SkNamedGamut::kSRGB)) { in MakeRGB()
51 tf = &SkNamedTransferFn::kSRGB.g; in MakeRGB()
55 if (xyz_almost_equal(toXYZ, SkNamedGamut::kSRGB)) { in MakeRGB()
73 static SkColorSpace* cs = SkColorSpaceSingletonFactory::Make(SkNamedTransferFn::kSRGB, in sk_srgb_singleton()
74 SkNamedGamut::kSRGB); in sk_srgb_singleton()
80 SkNamedGamut::kSRGB); in sk_srgb_linear_singleton()
161 return memcmp(fTransferFn, &SkNamedTransferFn::kSRGB.g, 7*sizeof(float)) == 0; in gammaCloseToSRGB()
184 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, gamut); in makeSRGBGamma()
241 return SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, profile.toXYZD50); in Make()
352 return make_named_tf(SkNamedTransferFn::kSRGB); in Deserialize()
DSkICC.cpp233 bool srgb_xfer = nearly_equal(fn, SkNamedTransferFn::kSRGB); in get_color_profile_description()
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
/external/skia/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()
94 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
/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);
Dpictureshadercache.cpp68 sk_sp<SkColorSpace> gty = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw()
/external/skia/include/core/
DSkColorSpace.h43 static constexpr skcms_TransferFunction kSRGB = variable
56 static constexpr skcms_Matrix3x3 kSRGB = {{ variable
/external/skqp/include/core/
DSkColorSpace.h43 static constexpr skcms_TransferFunction kSRGB = variable
56 static constexpr skcms_Matrix3x3 kSRGB = {{ variable
/external/skqp/bench/
DColorCanvasDrawBitmapBench.cpp57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
DColorSpaceXformBench.cpp37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()
/external/skia/bench/
DColorCanvasDrawBitmapBench.cpp57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
DColorSpaceXformBench.cpp37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()

12