Home
last modified time | relevance | path

Searched refs:skcms_TransferFunction (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/third_party/skcms/
Dskcms.h46 typedef struct skcms_TransferFunction { struct
48 } skcms_TransferFunction; argument
50 SKCMS_API float skcms_TransferFunction_eval (const skcms_TransferFunction*, float);
51 SKCMS_API bool skcms_TransferFunction_invert(const skcms_TransferFunction*,
52 skcms_TransferFunction*);
58 skcms_TransferFunction parametric;
120 SKCMS_API const skcms_TransferFunction* skcms_sRGB_TransferFunction(void);
121 SKCMS_API const skcms_TransferFunction* skcms_sRGB_Inverse_TransferFunction(void);
122 SKCMS_API const skcms_TransferFunction* skcms_Identity_TransferFunction(void);
134 const skcms_TransferFunction* inv_tf);
[all …]
Dskcms.cc77 static float max_roundtrip_error(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in max_roundtrip_error()
89 bool skcms_AreApproximateInverses(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_AreApproximateInverses()
245 static bool tf_is_valid(const skcms_TransferFunction* tf) { in tf_is_valid()
817 curve->parametric = skcms_TransferFunction{1,1,0,0,0,0,0}; in read_a2b()
1102 const skcms_TransferFunction* skcms_sRGB_TransferFunction() { in skcms_sRGB_TransferFunction()
1106 const skcms_TransferFunction* skcms_sRGB_Inverse_TransferFunction() { in skcms_sRGB_Inverse_TransferFunction()
1107 static const skcms_TransferFunction sRGB_inv = in skcms_sRGB_Inverse_TransferFunction()
1112 const skcms_TransferFunction* skcms_Identity_TransferFunction() { in skcms_Identity_TransferFunction()
1113 static const skcms_TransferFunction identity = {1,1,0,0,0,0,0}; in skcms_Identity_TransferFunction()
1192 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse()
[all …]
/external/skqp/third_party/skcms/
Dskcms.h46 typedef struct skcms_TransferFunction { struct
48 } skcms_TransferFunction; typedef
50 SKCMS_API float skcms_TransferFunction_eval (const skcms_TransferFunction*, float);
51 SKCMS_API bool skcms_TransferFunction_invert(const skcms_TransferFunction*,
52 skcms_TransferFunction*);
58 skcms_TransferFunction parametric;
120 SKCMS_API const skcms_TransferFunction* skcms_sRGB_TransferFunction(void);
121 SKCMS_API const skcms_TransferFunction* skcms_sRGB_Inverse_TransferFunction(void);
122 SKCMS_API const skcms_TransferFunction* skcms_Identity_TransferFunction(void);
134 const skcms_TransferFunction* inv_tf);
[all …]
Dskcms.cc77 static float max_roundtrip_error(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in max_roundtrip_error()
89 bool skcms_AreApproximateInverses(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_AreApproximateInverses()
245 static bool tf_is_valid(const skcms_TransferFunction* tf) { in tf_is_valid()
817 curve->parametric = skcms_TransferFunction{1,1,0,0,0,0,0}; in read_a2b()
1102 const skcms_TransferFunction* skcms_sRGB_TransferFunction() { in skcms_sRGB_TransferFunction()
1106 const skcms_TransferFunction* skcms_sRGB_Inverse_TransferFunction() { in skcms_sRGB_Inverse_TransferFunction()
1107 static const skcms_TransferFunction sRGB_inv = in skcms_sRGB_Inverse_TransferFunction()
1112 const skcms_TransferFunction* skcms_Identity_TransferFunction() { in skcms_Identity_TransferFunction()
1113 static const skcms_TransferFunction identity = {1,1,0,0,0,0,0}; in skcms_Identity_TransferFunction()
1192 const skcms_TransferFunction* inv_tf) { in skcms_TRCs_AreApproximateInverse()
[all …]
/external/skia/include/core/
DSkColorSpace.h43 static constexpr skcms_TransferFunction kSRGB =
46 static constexpr skcms_TransferFunction k2Dot2 =
49 static constexpr skcms_TransferFunction kLinear =
111 static sk_sp<SkColorSpace> MakeRGB(const skcms_TransferFunction& transferFn,
140 bool isNumericalTransferFn(skcms_TransferFunction* fn) const;
DSkICC.h14 struct skcms_TransferFunction;
16 SK_API sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction&,
/external/skqp/include/core/
DSkColorSpace.h43 static constexpr skcms_TransferFunction kSRGB =
46 static constexpr skcms_TransferFunction k2Dot2 =
49 static constexpr skcms_TransferFunction kLinear =
111 static sk_sp<SkColorSpace> MakeRGB(const skcms_TransferFunction& transferFn,
140 bool isNumericalTransferFn(skcms_TransferFunction* fn) const;
DSkICC.h14 struct skcms_TransferFunction;
16 SK_API sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction&,
/external/skqp/src/core/
DSkColorSpacePriv.h34 static inline bool is_valid_transfer_fn(const skcms_TransferFunction& coeffs) { in is_valid_transfer_fn()
84 static inline bool is_almost_srgb(const skcms_TransferFunction& coeffs) { in is_almost_srgb()
94 static inline bool is_almost_2dot2(const skcms_TransferFunction& coeffs) { in is_almost_2dot2()
102 static inline bool is_almost_linear(const skcms_TransferFunction& coeffs) { in is_almost_linear()
DSkColorSpace.cpp39 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const skcms_TransferFunction& transferFn, in MakeRGB()
66 static SkColorSpace* Make(const skcms_TransferFunction& transferFn, in Make()
107 skcms_TransferFunction fwd, inv; in computeLazyDstFields()
118 bool SkColorSpace::isNumericalTransferFn(skcms_TransferFunction* coeffs) const { in isNumericalTransferFn()
203 skcms_TransferFunction tf; in toProfile()
317 skcms_TransferFunction transferFn; in Deserialize()
337 auto make_named_tf = [=](const skcms_TransferFunction& tf) { in Deserialize()
372 skcms_TransferFunction transferFn; in Deserialize()
DSkICC.cpp183 static void write_trc_tag(uint32_t* ptr, const skcms_TransferFunction& fn) { in write_trc_tag()
208 static bool nearly_equal(const skcms_TransferFunction& u, in nearly_equal()
209 const skcms_TransferFunction& v) { in nearly_equal()
231 const char* get_color_profile_description(const skcms_TransferFunction& fn, in get_color_profile_description()
269 const skcms_TransferFunction& fn, in get_color_profile_tag()
295 sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction& fn, in SkWriteICCProfile()
DSkColorSpaceXformSteps.cpp109 skcms_TransferFunction tf; in apply()
125 skcms_TransferFunction tf; in apply()
DSkColorSpaceXformSteps.h47 skcms_TransferFunction srcTF, // Apply for linearize.
/external/skia/src/core/
DSkColorSpace.cpp39 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(const skcms_TransferFunction& transferFn, in MakeRGB()
66 static SkColorSpace* Make(const skcms_TransferFunction& transferFn, in Make()
107 skcms_TransferFunction fwd, inv; in computeLazyDstFields()
118 bool SkColorSpace::isNumericalTransferFn(skcms_TransferFunction* coeffs) const { in isNumericalTransferFn()
203 skcms_TransferFunction tf; in toProfile()
317 skcms_TransferFunction transferFn; in Deserialize()
337 auto make_named_tf = [=](const skcms_TransferFunction& tf) { in Deserialize()
372 skcms_TransferFunction transferFn; in Deserialize()
DSkColorSpacePriv.h34 static inline bool is_valid_transfer_fn(const skcms_TransferFunction& coeffs) { in is_valid_transfer_fn()
84 static inline bool is_almost_srgb(const skcms_TransferFunction& coeffs) { in is_almost_srgb()
94 static inline bool is_almost_2dot2(const skcms_TransferFunction& coeffs) { in is_almost_2dot2()
102 static inline bool is_almost_linear(const skcms_TransferFunction& coeffs) { in is_almost_linear()
DSkICC.cpp183 static void write_trc_tag(uint32_t* ptr, const skcms_TransferFunction& fn) { in write_trc_tag()
208 static bool nearly_equal(const skcms_TransferFunction& u, in nearly_equal()
209 const skcms_TransferFunction& v) { in nearly_equal()
231 const char* get_color_profile_description(const skcms_TransferFunction& fn, in get_color_profile_description()
269 const skcms_TransferFunction& fn, in get_color_profile_tag()
295 sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction& fn, in SkWriteICCProfile()
DSkColorSpaceXformSteps.cpp109 skcms_TransferFunction tf; in apply()
125 skcms_TransferFunction tf; in apply()
DSkColorSpaceXformSteps.h53 skcms_TransferFunction srcTF, // Apply for linearize.
/external/skqp/tests/
DParametricStageTest.cpp12 static void check_error(skiatest::Reporter* r, float limit, skcms_TransferFunction fn) { in check_error()
44 skcms_TransferFunction fn = {0,0,0,0,0,0,0}; in check_error()
DColorSpaceTest.cpp132 skcms_TransferFunction fn; in DEF_TEST()
165 skcms_TransferFunction fn; in DEF_TEST()
294 skcms_TransferFunction fn; in DEF_TEST()
311 skcms_TransferFunction fn; in DEF_TEST()
/external/skia/tests/
DParametricStageTest.cpp12 static void check_error(skiatest::Reporter* r, float limit, skcms_TransferFunction fn) { in check_error()
44 skcms_TransferFunction fn = {0,0,0,0,0,0,0}; in check_error()
DColorSpaceTest.cpp132 skcms_TransferFunction fn; in DEF_TEST()
165 skcms_TransferFunction fn; in DEF_TEST()
294 skcms_TransferFunction fn; in DEF_TEST()
311 skcms_TransferFunction fn; in DEF_TEST()
/external/skia/src/effects/
DSkHighContrastFilter.cpp69 auto tf = alloc->make<skcms_TransferFunction>(); in onAppendStages()
118 auto invTF = alloc->make<skcms_TransferFunction>(); in onAppendStages()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp71 auto square = alloc->make<skcms_TransferFunction>(); in onAppendStages()
118 auto sqrt = alloc->make<skcms_TransferFunction>(); in onAppendStages()
/external/skia/tools/viewer/
DViewer.h148 skcms_TransferFunction fColorSpaceTransferFn;

12