aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms/src/Transform.c
diff options
context:
space:
mode:
authorGravatar skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>2018-05-17 17:58:48 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-17 18:40:14 +0000
commit86168a1972c23221a3900f5b8c1eab0480109fc4 (patch)
treea36b22f3f700df6ad68eb0c9626d8d7df394d050 /third_party/skcms/src/Transform.c
parent29ede9b0c31c611bbd56799676c3b0b35bc20942 (diff)
Roll skia/third_party/skcms 06d773b..3f444c5 (1 commits)
https://skia.googlesource.com/skcms.git/+log/06d773b..3f444c5 2018-05-17 mtklein@chromium.org rm skcms_PolyTF and skcms_OptimizeForSpeed() The AutoRoll server is located here: https://skcms-skia-roll.skia.org 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=herb@google.com Change-Id: Ibdab92aa3d3cd9cc478623051ad1abb915765a7e Reviewed-on: https://skia-review.googlesource.com/128981 Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'third_party/skcms/src/Transform.c')
-rw-r--r--third_party/skcms/src/Transform.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/third_party/skcms/src/Transform.c b/third_party/skcms/src/Transform.c
index 79feebcb01..791671e6f9 100644
--- a/third_party/skcms/src/Transform.c
+++ b/third_party/skcms/src/Transform.c
@@ -321,11 +321,6 @@ typedef struct {
const void* arg;
} OpAndArg;
-static OpAndArg select_poly_tf_op(const skcms_PolyTF* tf, int channel) {
- static const Op ops[] = { Op_poly_tf_r, Op_poly_tf_g, Op_poly_tf_b };
- return (OpAndArg){ops[channel], tf};
-}
-
static OpAndArg select_curve_op(const skcms_Curve* curve, int channel) {
static const struct { Op parametric, table_8, table_16; } ops[] = {
{ Op_tf_r, Op_table_8_r, Op_table_16_r },
@@ -518,9 +513,6 @@ bool skcms_Transform(const void* src,
for (int i = 0; i < 3; i++) {
OpAndArg oa = select_curve_op(&srcProfile->trc[i], i);
if (oa.op != Op_noop) {
- if (srcProfile->has_poly_tf[i]) {
- oa = select_poly_tf_op(&srcProfile->poly_tf[i], i);
- }
*ops++ = oa.op;
*args++ = oa.arg;
}