Home
last modified time | relevance | path

Searched refs:SkColorSpace_A2B (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DColorSpaceXformTest.cpp34 std::vector<SkColorSpace_A2B::Element> srcElements; in CreateIdentityXform_A2B()
46 srcElements.push_back(SkColorSpace_A2B::Element(gammas)); in CreateIdentityXform_A2B()
48 srcElements.push_back(SkColorSpace_A2B::Element(gammaNamed, kChannels)); in CreateIdentityXform_A2B()
50 srcElements.push_back(SkColorSpace_A2B::Element(arbitraryMatrix)); in CreateIdentityXform_A2B()
52 ColorSpaceXformTest::CreateA2BSpace(SkColorSpace_A2B::PCS::kXYZ, in CreateIdentityXform_A2B()
58 return SkColorSpaceXform::New(static_cast<SkColorSpace_A2B*>(srcSpace.get()), in CreateIdentityXform_A2B()
62 static sk_sp<SkColorSpace> CreateA2BSpace(SkColorSpace_A2B::PCS pcs, in CreateA2BSpace()
64 std::vector<SkColorSpace_A2B::Element> elements) { in CreateA2BSpace()
65 return sk_sp<SkColorSpace>(new SkColorSpace_A2B(iccType, std::move(elements), in CreateA2BSpace()
309 std::vector<SkColorSpace_A2B::Element> srcElements; in DEF_TEST()
[all …]
/external/skia/src/core/
DSkColorSpace_ICC.cpp664 SkColorSpace_A2B::PCS pcs) { in load_matrix()
673 case SkColorSpace_A2B::PCS::kLAB: in load_matrix()
676 case SkColorSpace_A2B::PCS::kXYZ: in load_matrix()
924 bool load_a2b0_a_to_b_type(std::vector<SkColorSpace_A2B::Element>* elements, const uint8_t* src, in load_a2b0_a_to_b_type()
925 size_t len, SkColorSpace_A2B::PCS pcs) { in load_a2b0_a_to_b_type()
962 elements->push_back(SkColorSpace_A2B::Element(std::move(gammas))); in load_a2b0_a_to_b_type()
964 elements->push_back(SkColorSpace_A2B::Element(gammaNamed, inputChannels)); in load_a2b0_a_to_b_type()
994 elements->push_back(SkColorSpace_A2B::Element(std::move(colorLUT))); in load_a2b0_a_to_b_type()
1007 elements->push_back(SkColorSpace_A2B::Element(std::move(gammas))); in load_a2b0_a_to_b_type()
1009 elements->push_back(SkColorSpace_A2B::Element(gammaNamed, outputChannels)); in load_a2b0_a_to_b_type()
[all …]
DSkColorSpaceXform_A2B.cpp97 SkColorSpaceXform_A2B::SkColorSpaceXform_A2B(SkColorSpace_A2B* srcSpace, in SkColorSpaceXform_A2B()
136 const SkColorSpace_A2B::Element& e = srcSpace->element(i); in SkColorSpaceXform_A2B()
140 case SkColorSpace_A2B::Element::Type::kGammaNamed: in SkColorSpaceXform_A2B()
158 case SkColorSpace_A2B::Element::Type::kGammas: { in SkColorSpaceXform_A2B()
186 case SkColorSpace_A2B::Element::Type::kCLUT: { in SkColorSpaceXform_A2B()
212 case SkColorSpace_A2B::Element::Type::kMatrix: in SkColorSpaceXform_A2B()
222 if (SkColorSpace_A2B::PCS::kLAB == srcSpace->pcs()) { in SkColorSpaceXform_A2B()
DSkColorSpace_A2B.cpp10 SkColorSpace_A2B::SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, in SkColorSpace_A2B() function in SkColorSpace_A2B
DSkColorSpaceXform_A2B.h16 class SkColorSpace_A2B; variable
30 SkColorSpaceXform_A2B(SkColorSpace_A2B* srcSpace, SkColorSpace_XYZ* dstSpace);
DSkColorSpace_A2B.h28 class SkColorSpace_A2B : public SkColorSpace_Base {
166 SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, PCS pcs,
DSkColorSpaceXform.cpp317 SkColorSpace_A2B* src = static_cast<SkColorSpace_A2B*>(srcSpace); in New()
/external/skia/tools/
Dcolorspaceinfo.cpp540 SkColorSpace_A2B* a2b = static_cast<SkColorSpace_A2B*>(colorSpace.get()); in main()
559 case SkColorSpace_A2B::PCS::kXYZ: in main()
562 case SkColorSpace_A2B::PCS::kLAB: in main()
569 const SkColorSpace_A2B::Element& e = a2b->element(i); in main()
571 case SkColorSpace_A2B::Element::Type::kGammaNamed: { in main()
586 case SkColorSpace_A2B::Element::Type::kGammas: { in main()
601 case SkColorSpace_A2B::Element::Type::kCLUT: { in main()
616 case SkColorSpace_A2B::Element::Type::kMatrix: in main()
/external/skia/gn/
Dcore.gni77 "$_src/core/SkColorSpace_A2B.cpp",
78 "$_src/core/SkColorSpace_A2B.h",
/external/skia/
DAndroid.bp146 "src/core/SkColorSpace_A2B.cpp",