Home
last modified time | relevance | path

Searched defs:gammas (Results 1 – 12 of 12) sorted by relevance

/external/skia/tests/
DColorSpaceXformTest.cpp23 static std::unique_ptr<SkColorSpaceXform> CreateIdentityXform(const sk_sp<SkGammas>& gammas) { in CreateIdentityXform()
33 SkGammaNamed gammaNamed, const sk_sp<SkGammas>& gammas) { in CreateIdentityXform_A2B()
74 static void test_identity_xform(skiatest::Reporter* r, const sk_sp<SkGammas>& gammas, in test_identity_xform()
111 const sk_sp<SkGammas>& gammas, int tol=1) { in test_identity_xform_A2B()
144 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(kChannels)); in DEF_TEST() local
174 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(kChannels)); in DEF_TEST() local
202 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new SkGammas(kChannels)); in DEF_TEST() local
212 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new SkGammas(kChannels)); in DEF_TEST() local
228 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(kChannels)); in DEF_TEST() local
DICCTest.cpp168 static sk_sp<SkICC> MakeICC(sk_sp<SkGammas> gammas) { in MakeICC()
186 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(3)); in DEF_TEST() local
/external/skia/src/core/
DSkColorSpaceXform_A2B.cpp81 static inline bool gamma_to_parametric(SkColorSpaceTransferFn* coeffs, const SkGammas& gammas, in gamma_to_parametric()
159 const SkGammas& gammas = e.gammas(); in SkColorSpaceXform_A2B() local
254 const SkGammas& gammas = *dstSpace->gammas(); in SkColorSpaceXform_A2B() local
DSkColorSpace_A2B.h81 explicit Element(sk_sp<SkGammas> gammas) in Element()
123 const SkGammas& gammas() const { in gammas() function
DSkColorSpace_XYZ.h35 const SkGammas* gammas() const { return fGammas.get(); } in gammas() function
DSkColorSpace_XYZ.cpp22 SkColorSpace_XYZ::SkColorSpace_XYZ(SkGammaNamed gammaNamed, sk_sp<SkGammas> gammas, in SkColorSpace_XYZ()
DSkColorSpace_ICC.cpp723 static inline SkGammaNamed is_named(const sk_sp<SkGammas>& gammas) { in is_named()
748 static bool parse_and_load_gamma(SkGammaNamed* gammaNamed, sk_sp<SkGammas>* gammas, in parse_and_load_gamma()
845 static bool load_lut_gammas(sk_sp<SkGammas>* gammas, SkGammaNamed* gammaNamed, size_t numTables, in load_lut_gammas()
956 sk_sp<SkGammas> gammas; in load_a2b0_a_to_b_type() local
1001 sk_sp<SkGammas> gammas; in load_a2b0_a_to_b_type() local
1027 sk_sp<SkGammas> gammas; in load_a2b0_a_to_b_type() local
1343 sk_sp<SkGammas> gammas = nullptr; in make_xyz() local
1463 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(3)); in make_gray() local
DSkColorSpace.cpp173 sk_sp<SkGammas> gammas = sk_sp<SkGammas>(new (memory) SkGammas(3)); in MakeRGB() local
382 const SkGammas* gammas = thisXYZ->gammas(); in writeToMemory() local
DSkICC.cpp63 void copy_to_table(float* tablePtr, const SkGammas* gammas, int index) { in copy_to_table()
85 const SkGammas* gammas = colorSpace->gammas(); in rawTransferFnData() local
DSkColorSpaceXform.cpp226 const SkGammas* gammas = space->gammas(); in build_gamma_tables() local
927 const SkGammas* gammas = space->gammas(); in num_tables() local
/external/skia/tools/
Dcolorspaceinfo.cpp100 static void dump_transfer_fn(const SkGammas& gammas) { in dump_transfer_fn()
139 static void draw_transfer_fn(SkCanvas* canvas, SkGammaNamed gammaNamed, const SkGammas* gammas, in draw_transfer_fn()
/external/libpng/contrib/libtests/
Dpngvalid.c2371 double *gammas; member
11624 gammas[]={2.2, 1.0, 2.2/1.45, 1.8, 1.5, 2.4, 2.5, 2.62, 2.9}; in main() local