Roll skia/third_party/skcms 0eb21d4ecadd..1c1d5560df11 (1 commits)

https://skia.googlesource.com/skcms.git/+log/0eb21d4ecadd..1c1d5560df11

2018-09-27 mtklein@google.com make skcms_TransferFunction_invert public


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.



CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=bsalomon@google.com

Change-Id: Ibf5abe0a4bcaec4cf9e73d630e105408ebafa826
Reviewed-on: https://skia-review.googlesource.com/157552
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
This commit is contained in:
skia-autoroll@skia-public.iam.gserviceaccount.com 2018-09-27 18:18:50 +00:00 committed by Skia Commit-Bot
parent a17a6ab0dd
commit 7bfd7466d9
3 changed files with 4 additions and 5 deletions

View File

@ -43,6 +43,9 @@ typedef struct skcms_TransferFunction {
float g, a,b,c,d,e,f;
} skcms_TransferFunction;
SKCMS_API bool skcms_TransferFunction_invert(const skcms_TransferFunction*,
skcms_TransferFunction*);
// Unified representation of 'curv' or 'para' tag data, or a 1D table from 'mft1' or 'mft2'
typedef union skcms_Curve {
struct {
@ -136,9 +139,6 @@ SKCMS_API bool skcms_TRCs_AreApproximateInverse(const skcms_ICCProfile* profile,
// will be used.
SKCMS_API bool skcms_Parse(const void*, size_t, skcms_ICCProfile*);
// No-op, to be removed.
static inline void skcms_OptimizeForSpeed(skcms_ICCProfile* p) { (void)p; }
SKCMS_API bool skcms_ApproximateCurve(const skcms_Curve* curve,
skcms_TransferFunction* approx,
float* max_error);

View File

@ -23,7 +23,6 @@ extern "C" {
// ~~~~ skcms_TransferFunction ~~~~
float skcms_TransferFunction_eval (const skcms_TransferFunction*, float);
bool skcms_TransferFunction_invert(const skcms_TransferFunction*, skcms_TransferFunction*);
// ~~~~ skcms_ICCProfile ~~~~
bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m);

View File

@ -1 +1 @@
0eb21d4ecaddfc3c439be8962d480f03795f9c34
1c1d5560df1177e865823b632a0c12fffef52766