diff options
author | 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 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-17 18:40:14 +0000 |
commit | 86168a1972c23221a3900f5b8c1eab0480109fc4 (patch) | |
tree | a36b22f3f700df6ad68eb0c9626d8d7df394d050 /third_party/skcms/src/Transform_inl.h | |
parent | 29ede9b0c31c611bbd56799676c3b0b35bc20942 (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_inl.h')
-rw-r--r-- | third_party/skcms/src/Transform_inl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/third_party/skcms/src/Transform_inl.h b/third_party/skcms/src/Transform_inl.h index 97b2ea0c07..cb11777e52 100644 --- a/third_party/skcms/src/Transform_inl.h +++ b/third_party/skcms/src/Transform_inl.h @@ -252,13 +252,6 @@ SI ATTR F NS(apply_transfer_function_)(const skcms_TransferFunction* tf, F x) { } #define apply_transfer_function NS(apply_transfer_function_) -SI ATTR F NS(apply_poly_tf_)(const skcms_PolyTF* tf, F x) { - // TODO: handle x<0 - return (F)if_then_else(x < tf->D, tf->C*x - , tf->A*(x*x*x-1) + tf->B*(x*x-1) + 1); -} -#define apply_poly_tf NS(apply_poly_tf_) - // Strided loads and stores of N values, starting from p. #if N == 1 #define LOAD_3(T, p) (T)(p)[0] @@ -860,10 +853,6 @@ static void NS(exec_ops)(const Op* ops, const void** args, case Op_tf_b:{ b = apply_transfer_function(*args++, b); } break; case Op_tf_a:{ a = apply_transfer_function(*args++, a); } break; - case Op_poly_tf_r:{ r = apply_poly_tf(*args++, r); } break; - case Op_poly_tf_g:{ g = apply_poly_tf(*args++, g); } break; - case Op_poly_tf_b:{ b = apply_poly_tf(*args++, b); } break; - case Op_table_8_r: { r = NS(table_8_ )(*args++, r); } break; case Op_table_8_g: { g = NS(table_8_ )(*args++, g); } break; case Op_table_8_b: { b = NS(table_8_ )(*args++, b); } break; |