Home
last modified time | relevance | path

Searched refs:iccType (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkColorSpace_A2B.cpp10 SkColorSpace_A2B::SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, in SkColorSpace_A2B() argument
13 , fICCType(iccType) in SkColorSpace_A2B()
17 SkASSERT(kRGB_ICCTypeFlag == iccType || kCMYK_ICCTypeFlag == iccType); in SkColorSpace_A2B()
DSkColorSpace_A2B.h164 ICCTypeFlag iccType() const { return fICCType; } in iccType() function
166 SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, PCS pcs,
DSkColorSpace_ICC.cpp1173 static inline int icf_channels(SkColorSpace_Base::ICCTypeFlag iccType) { in icf_channels() argument
1174 switch (iccType) { in icf_channels()
1187 SkColorSpace_Base::ICCTypeFlag iccType) { in load_a2b0() argument
1228 return kPCSChannels == icf_channels(iccType); in load_a2b0()
1231 if (icf_channels(iccType) != elements->front().inputChannels()) { in load_a2b0()
1461 static sk_sp<SkColorSpace> make_a2b(SkColorSpace_Base::ICCTypeFlag iccType, in make_a2b() argument
1470 if (load_a2b0(&elements, a2b0->addr(base), a2b0->fLength, pcs, iccType)) { in make_a2b()
1471 return sk_sp<SkColorSpace>(new SkColorSpace_A2B(iccType, std::move(elements), in make_a2b()
DSkColorSpaceXform_A2B.cpp110 switch (srcSpace->iccType()) { in SkColorSpaceXform_A2B()
/external/skia/src/codec/
DSkPngCodec.cpp356 SkColorSpace_Base::ICCTypeFlag iccType) { in read_color_space() argument
373 return SkColorSpace_Base::MakeICC(profile, length, iccType); in read_color_space()
918 SkColorSpace_Base::ICCTypeFlag iccType = SkColorSpace_Base::kRGB_ICCTypeFlag; in infoCallback() local
920 iccType |= SkColorSpace_Base::kGray_ICCTypeFlag; in infoCallback()
922 sk_sp<SkColorSpace> colorSpace = read_color_space(fPng_ptr, fInfo_ptr, iccType); in infoCallback()
DSkJpegCodec.cpp231 SkColorSpace_Base::ICCTypeFlag iccType = SkColorSpace_Base::kRGB_ICCTypeFlag; in ReadHeader() local
235 iccType = SkColorSpace_Base::kCMYK_ICCTypeFlag; in ReadHeader()
239 iccType |= SkColorSpace_Base::kGray_ICCTypeFlag; in ReadHeader()
244 colorSpace = SkColorSpace_Base::MakeICC(iccData->data(), iccData->size(), iccType); in ReadHeader()
/external/skia/tests/
DColorSpaceXformTest.cpp63 SkColorSpace_Base::ICCTypeFlag iccType, in CreateA2BSpace() argument
65 return sk_sp<SkColorSpace>(new SkColorSpace_A2B(iccType, std::move(elements), in CreateA2BSpace()