Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: ui/gfx/skia_color_space_util.h

Issue 2717263003: color: Update ICC histograms based on results (Closed)
Patch Set: Add obsolete tags Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/color_space_unittest.cc ('k') | ui/gfx/skia_color_space_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/skia_color_space_util.h
diff --git a/ui/gfx/skia_color_space_util.h b/ui/gfx/skia_color_space_util.h
index 14bdab171de718e679ef1b3dc56c5b097a9344e5..f22b040e8848708656b917ff48ec511e61c8dc79 100644
--- a/ui/gfx/skia_color_space_util.h
+++ b/ui/gfx/skia_color_space_util.h
@@ -22,12 +22,12 @@ SkTransferFnsApproximatelyCancel(const SkColorSpaceTransferFn& a,
bool GFX_EXPORT
SkTransferFnIsApproximatelyIdentity(const SkColorSpaceTransferFn& fn);
-void GFX_EXPORT SkApproximateTransferFn(const float* x,
+// Approximates the |n| points in |x| and |t| by the transfer function |fn|.
+// Returns true if the approximation converged.
+bool GFX_EXPORT SkApproximateTransferFn(const float* x,
const float* t,
size_t n,
- SkColorSpaceTransferFn* fn,
- float* error,
- bool* nonlinear_fit_converged);
+ SkColorSpaceTransferFn* fn);
bool GFX_EXPORT SkMatrixIsApproximatelyIdentity(const SkMatrix44& m);
« no previous file with comments | « ui/gfx/color_space_unittest.cc ('k') | ui/gfx/skia_color_space_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698