Roll skia/third_party/skcms 1c1d5560df11..dfd5b3a4a61f (1 commits)
https://skia.googlesource.com/skcms.git/+log/1c1d5560df11..dfd5b3a4a61f 2018-09-27 mtklein@google.com expose three more private routines 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: I0f3a97c445caaef856e031848d1908dcd36e8e99 Reviewed-on: https://skia-review.googlesource.com/157553 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:
parent
7bfd7466d9
commit
b6ef9e43d7
9
third_party/skcms/skcms.h
vendored
9
third_party/skcms/skcms.h
vendored
@ -27,6 +27,10 @@ typedef struct skcms_Matrix3x3 {
|
||||
float vals[3][3];
|
||||
} skcms_Matrix3x3;
|
||||
|
||||
// It is _not_ safe to alias the pointers to invert in-place.
|
||||
SKCMS_API bool skcms_Matrix3x3_invert(const skcms_Matrix3x3*, skcms_Matrix3x3*);
|
||||
SKCMS_API skcms_Matrix3x3 skcms_Matrix3x3_concat(const skcms_Matrix3x3*, const skcms_Matrix3x3*);
|
||||
|
||||
// A row-major 3x4 matrix (ie vals[row][col])
|
||||
typedef struct skcms_Matrix3x4 {
|
||||
float vals[3][4];
|
||||
@ -43,8 +47,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*);
|
||||
SKCMS_API float skcms_TransferFunction_eval (const skcms_TransferFunction*, float);
|
||||
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 {
|
||||
|
8
third_party/skcms/skcms_internal.h
vendored
8
third_party/skcms/skcms_internal.h
vendored
@ -21,9 +21,6 @@ extern "C" {
|
||||
// ~~~~ General Helper Macros ~~~~
|
||||
#define ARRAY_COUNT(arr) (int)(sizeof((arr)) / sizeof(*(arr)))
|
||||
|
||||
// ~~~~ skcms_TransferFunction ~~~~
|
||||
float skcms_TransferFunction_eval (const skcms_TransferFunction*, float);
|
||||
|
||||
// ~~~~ skcms_ICCProfile ~~~~
|
||||
bool skcms_GetCHAD(const skcms_ICCProfile* profile, skcms_Matrix3x3* m);
|
||||
|
||||
@ -32,11 +29,6 @@ extern "C" {
|
||||
// Used for ICC profile equivalence testing.
|
||||
extern const uint8_t skcms_252_random_bytes[252];
|
||||
|
||||
// ~~~~ Linear Algebra ~~~~
|
||||
// It is _not_ safe to alias the pointers to invert in-place.
|
||||
bool skcms_Matrix3x3_invert(const skcms_Matrix3x3*, skcms_Matrix3x3*);
|
||||
skcms_Matrix3x3 skcms_Matrix3x3_concat(const skcms_Matrix3x3* A, const skcms_Matrix3x3* B);
|
||||
|
||||
// ~~~~ Portable Math ~~~~
|
||||
static inline float floorf_(float x) {
|
||||
float roundtrip = (float)((int)x);
|
||||
|
2
third_party/skcms/version.sha1
vendored
2
third_party/skcms/version.sha1
vendored
@ -1 +1 @@
|
||||
1c1d5560df1177e865823b632a0c12fffef52766
|
||||
dfd5b3a4a61f6fe1f91e0370d100132c17e29ca6
|
Loading…
Reference in New Issue
Block a user