/external/skia/src/core/ |
D | SkColorSpace.cpp | 86 SkColorSpace_Base::SkColorSpace_Base(sk_sp<SkData> profileData) in SkColorSpace_Base() function in SkColorSpace_Base 115 sk_sp<SkColorSpace> SkColorSpace_Base::MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50) in MakeRGB() 120 return SkColorSpace_Base::MakeNamed(kSRGB_Named); in MakeRGB() 125 return SkColorSpace_Base::MakeNamed(kAdobeRGB_Named); in MakeRGB() 130 return SkColorSpace_Base::MakeNamed(kSRGBLinear_Named); in MakeRGB() 146 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB() 148 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, toXYZD50); in MakeRGB() 165 return SkColorSpace_Base::MakeRGB(k2Dot2Curve_SkGammaNamed, toXYZD50); in MakeRGB() 169 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, toXYZD50); in MakeRGB() 202 sk_sp<SkColorSpace> SkColorSpace_Base::MakeNamed(Named named) { in MakeNamed() [all …]
|
D | SkColorSpace_Base.h | 139 class SkColorSpace_Base : public SkColorSpace { 209 SkColorSpace_Base(sk_sp<SkData> profileData); 221 static inline SkColorSpace_Base* as_CSB(SkColorSpace* colorSpace) { in as_CSB() 222 return static_cast<SkColorSpace_Base*>(colorSpace); in as_CSB() 225 static inline const SkColorSpace_Base* as_CSB(const SkColorSpace* colorSpace) { in as_CSB() 226 return static_cast<const SkColorSpace_Base*>(colorSpace); in as_CSB() 229 static inline SkColorSpace_Base* as_CSB(const sk_sp<SkColorSpace>& colorSpace) { in as_CSB() 230 return static_cast<SkColorSpace_Base*>(colorSpace.get()); in as_CSB()
|
D | SkColorSpace_XYZ.h | 15 class SkColorSpace_XYZ : public SkColorSpace_Base { 58 friend class SkColorSpace_Base; variable 60 typedef SkColorSpace_Base INHERITED;
|
D | SkColorSpace_A2B.h | 28 class SkColorSpace_A2B : public SkColorSpace_Base { 174 friend class SkColorSpace_Base; variable 176 typedef SkColorSpace_Base INHERITED;
|
D | SkColorSpace_XYZ.cpp | 89 return SkColorSpace_Base::MakeRGB(kLinear_SkGammaNamed, fToXYZD50); in makeLinearGamma() 96 return SkColorSpace_Base::MakeRGB(kSRGB_SkGammaNamed, fToXYZD50); in makeSRGBGamma()
|
D | SkColorSpace_ICC.cpp | 1183 static inline int icf_channels(SkColorSpace_Base::ICCTypeFlag iccType) { in icf_channels() 1185 case SkColorSpace_Base::kRGB_ICCTypeFlag: in icf_channels() 1187 case SkColorSpace_Base::kCMYK_ICCTypeFlag: in icf_channels() 1197 SkColorSpace_Base::ICCTypeFlag iccType) { in load_a2b0() 1430 return SkColorSpace_Base::MakeRGB(gammaNamed, mat); in make_xyz() 1455 return SkColorSpace_Base::MakeRGB(data.fNamed, toXYZD50); in make_gray() 1475 static sk_sp<SkColorSpace> make_a2b(SkColorSpace_Base::ICCTypeFlag iccType, in make_a2b() 1494 return SkColorSpace_Base::MakeICC(input, len, SkColorSpace_Base::kRGB_ICCTypeFlag); in MakeICC() 1497 sk_sp<SkColorSpace> SkColorSpace_Base::MakeICC(const void* input, size_t len, in MakeICC()
|
D | SkColorSpaceXform_A2B.cpp | 111 case SkColorSpace_Base::kRGB_ICCTypeFlag: in SkColorSpaceXform_A2B() 114 case SkColorSpace_Base::kCMYK_ICCTypeFlag: { in SkColorSpaceXform_A2B()
|
D | SkICC.cpp | 71 if (SkColorSpace_Base::Type::kA2B == as_CSB(fColorSpace)->type()) { in rawTransferFnData()
|
D | SkColorSpaceXform.cpp | 311 if (SkColorSpace_Base::Type::kA2B == as_CSB(dstSpace)->type()) { in New() 316 if (SkColorSpace_Base::Type::kA2B == as_CSB(srcSpace)->type()) { in New()
|
/external/skia/tests/ |
D | ColorSpaceTest.cpp | 27 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(space)->type()); in test_space() 182 SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in DEF_TEST() 202 SkColorSpace_Base::Named fNamed; in DEF_TEST() 205 { SkColorSpace_Base::kSRGB_Named, kSRGB_SkGammaNamed }, in DEF_TEST() 206 { SkColorSpace_Base::kAdobeRGB_Named, k2Dot2Curve_SkGammaNamed }, in DEF_TEST() 207 { SkColorSpace_Base::kSRGBLinear_Named, kLinear_SkGammaNamed }, in DEF_TEST() 211 auto cs = SkColorSpace_Base::MakeNamed(rec.fNamed); in DEF_TEST() 214 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(cs)->type()); in DEF_TEST() 245 test_serialize(r, SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named).get(), true); in DEF_TEST() 272 sk_sp<SkColorSpace> adobe = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in DEF_TEST() [all …]
|
D | ColorSpaceXformTest.cpp | 53 SkColorSpace_Base::kRGB_ICCTypeFlag, in CreateIdentityXform_A2B() 63 SkColorSpace_Base::ICCTypeFlag iccType, in CreateA2BSpace() 312 SkColorSpace_Base::kRGB_ICCTypeFlag, in DEF_TEST() 336 sk_sp<SkColorSpace> adobe = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in DEF_TEST()
|
D | ICCTest.cpp | 128 SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named).get(), false); in DEF_TEST() 180 ICCTest::MakeICC(SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named)); in DEF_TEST()
|
D | ImageIsOpaqueTest.cpp | 56 SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named), in DEF_TEST()
|
D | SurfaceTest.cpp | 819 auto adobeColorSpace = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in test_surface_creation_and_snapshot_with_color_space()
|
D | CodecTest.cpp | 1160 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(infoF16.colorSpace())->type()); in test_conversion_possible()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 303 gColorSpaces[2] = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in TestColorSpace() 314 … sk_sp<SkColorSpace> adobe = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in TestColorXform()
|
/external/skia/src/codec/ |
D | SkHeifCodec.cpp | 144 SkColorSpace_Base::ICCTypeFlag iccType = SkColorSpace_Base::kRGB_ICCTypeFlag; in NewFromStream() 145 colorSpace = SkColorSpace_Base::MakeICC( in NewFromStream()
|
D | SkJpegCodec.cpp | 234 SkColorSpace_Base::ICCTypeFlag iccType = SkColorSpace_Base::kRGB_ICCTypeFlag; in ReadHeader() 238 iccType = SkColorSpace_Base::kCMYK_ICCTypeFlag; in ReadHeader() 242 iccType |= SkColorSpace_Base::kGray_ICCTypeFlag; in ReadHeader() 247 colorSpace = SkColorSpace_Base::MakeICC(iccData->data(), iccData->size(), iccType); in ReadHeader()
|
D | SkPngCodec.cpp | 344 SkColorSpace_Base::ICCTypeFlag iccType) { in read_color_space() 361 return SkColorSpace_Base::MakeICC(profile, length, iccType); in read_color_space() 901 SkColorSpace_Base::ICCTypeFlag iccType = SkColorSpace_Base::kRGB_ICCTypeFlag; in infoCallback() 903 iccType |= SkColorSpace_Base::kGray_ICCTypeFlag; in infoCallback()
|
D | SkRawCodec.cpp | 657 colorSpace = SkColorSpace_Base::MakeNamed(SkColorSpace_Base::kAdobeRGB_Named); in NewFromStream()
|
/external/skia/include/core/ |
D | SkColorSpace.h | 169 friend class SkColorSpace_Base; variable
|
/external/skia/tools/ |
D | colorspaceinfo.cpp | 496 if (SkColorSpace_Base::Type::kXYZ == as_CSB(colorSpace)->type()) { in main() 543 case SkColorSpace_Base::kRGB_ICCTypeFlag: in main() 546 case SkColorSpace_Base::kCMYK_ICCTypeFlag: in main() 549 case SkColorSpace_Base::kGray_ICCTypeFlag: in main()
|
/external/skia/bench/ |
D | ColorCodecBench.cpp | 90 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(fDstSpace)->type()); in onDelayedSetup()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 1941 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(fColorSpace)->type()); in RandomGradientParams()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 1082 SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(decodeInfo.colorSpace())->type()); in draw()
|