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

Unified Diff: third_party/qcms/src/transform_util.h

Issue 1214343002: [qcms] Keep the output of the TRC between 0 and 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: third_party/qcms/src/transform_util.h
diff --git a/third_party/qcms/src/transform_util.h b/third_party/qcms/src/transform_util.h
index 44ff63ec8f0a87e3c914d1a94e32e9875b58db77..f83477aed66b51f7627086c4a3ebe47955b8cd62 100644
--- a/third_party/qcms/src/transform_util.h
+++ b/third_party/qcms/src/transform_util.h
@@ -31,8 +31,8 @@
//XXX: could use a bettername
typedef uint16_t uint16_fract_t;
-float lut_interp_linear(double value, uint16_t *table, size_t length);
-float lut_interp_linear_float(float value, float *table, size_t length);
+float lut_interp_linear(double input_value, uint16_t *table, size_t length);
Matt Giuca 2015/07/01 01:46:59 The upstream patch doesn't change these names in t
Noel Gordon 2015/07/01 03:48:54 Well, "consistency" maybe.
Matt Giuca 2015/07/01 07:10:50 It would be consistent with the .c file to use the
+float lut_interp_linear_float(float input_value, float *table, size_t length);
uint16_t lut_interp_linear16(uint16_t input_value, uint16_t *table, size_t length);

Powered by Google App Engine
This is Rietveld 408576698