/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 153 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 …]
|
D | ColorSpaceTest.cpp | 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 | TableColorFilterTest.cpp | 20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST()
|
D | NonlinearBlendingTest.cpp | 15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
|
/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 153 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 …]
|
D | ColorSpaceTest.cpp | 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 | TableColorFilterTest.cpp | 20 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020); in DEF_TEST()
|
D | NonlinearBlendingTest.cpp | 15 auto dp3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kDCIP3); in DEF_TEST()
|
/external/skqp/src/core/ |
D | SkColorSpacePriv.h | 85 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()
|
D | SkColorSpace.cpp | 48 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()
|
D | SkICC.cpp | 233 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/ |
D | SkColorSpacePriv.h | 85 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()
|
D | SkColorSpace.cpp | 48 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()
|
D | SkICC.cpp | 233 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/ |
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() 94 auto rec2020 = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kRec2020);
|
/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);
|
D | pictureshadercache.cpp | 68 sk_sp<SkColorSpace> gty = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDraw()
|
/external/skia/include/core/ |
D | SkColorSpace.h | 43 static constexpr skcms_TransferFunction kSRGB = variable 56 static constexpr skcms_Matrix3x3 kSRGB = {{ variable
|
/external/skqp/include/core/ |
D | SkColorSpace.h | 43 static constexpr skcms_TransferFunction kSRGB = variable 56 static constexpr skcms_Matrix3x3 kSRGB = {{ variable
|
/external/skqp/bench/ |
D | ColorCanvasDrawBitmapBench.cpp | 57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
|
D | ColorSpaceXformBench.cpp | 37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()
|
/external/skia/bench/ |
D | ColorCanvasDrawBitmapBench.cpp | 57 SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, SkNamedGamut::kAdobeRGB),
|
D | ColorSpaceXformBench.cpp | 37 dst = SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in onDelayedSetup()
|