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 19:25:40 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-17 19:56:43 +0000 |
commit | 53ea91139ad9f5ec32fba2cfd167277a5cc3f443 (patch) | |
tree | f7db453c32a943da059318b88387eb393684ae44 /third_party/skcms/src/GaussNewton.h | |
parent | 8f288d9399db95cd0a0994f037f6c08410a7c354 (diff) |
Roll skia/third_party/skcms 3e527c6..5bfec77 (1 commits)
https://skia.googlesource.com/skcms.git/+log/3e527c6..5bfec77
2018-05-17 mtklein@chromium.org rm GaussNewton.[ch]
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: Idf7e24d60750f69db9d09a71e9665073380b8912
Reviewed-on: https://skia-review.googlesource.com/128987
Reviewed-by: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Commit-Queue: skcms-skia-autoroll <skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'third_party/skcms/src/GaussNewton.h')
-rw-r--r-- | third_party/skcms/src/GaussNewton.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/third_party/skcms/src/GaussNewton.h b/third_party/skcms/src/GaussNewton.h deleted file mode 100644 index 5de9927ed3..0000000000 --- a/third_party/skcms/src/GaussNewton.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2018 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#pragma once - -#include <stdbool.h> - -// One Gauss-Newton step, tuning up to 3 parameters P to minimize [ r(x,ctx) ]^2. -// -// rg: residual function r(x,P) to minimize, and gradient at x in dfdP -// ctx: arbitrary context argument passed to rg -// P: in-out, both your initial guess for parameters of r(), and our updated values -// x0,dx,N: N x-values to test with even dx spacing, [x0, x0+dx, x0+2dx, ...] -// -// If you have fewer than 3 parameters, set the unused P to zero, don't touch their dfdP. -// -// Returns true and updates P on success, or returns false on failure. -bool skcms_gauss_newton_step(float (*rg)(float x, const void*, const float P[3], float dfdP[3]), - const void* ctx, - float P[3], - float x0, float dx, int N); |