summaryrefslogtreecommitdiffstats
path: root/src/blueshift_quartz_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-16 00:30:22 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-16 00:30:22 +0200
commit9204b84ecdc1905cf03534223f5cb5f392104ef5 (patch)
tree94d294f0a0dbdfae14fdf2f2f5c53da164118719 /src/blueshift_quartz_c.c
parentadd dummy c code for quartz (diff)
downloadblueshift-9204b84ecdc1905cf03534223f5cb5f392104ef5.tar.gz
blueshift-9204b84ecdc1905cf03534223f5cb5f392104ef5.tar.bz2
blueshift-9204b84ecdc1905cf03534223f5cb5f392104ef5.tar.xz
change quartz functions to utilize that quarts expects floats rather than uint16_t
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/blueshift_quartz_c.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/blueshift_quartz_c.c b/src/blueshift_quartz_c.c
index 0943c76..a74b219 100644
--- a/src/blueshift_quartz_c.c
+++ b/src/blueshift_quartz_c.c
@@ -57,11 +57,13 @@ uint16_t* blueshift_quartz_read(int use_crtc)
/**
* Apply stage of colour curve control
*
- * @param use_crtc The CRTC to use, -1 for all
- * @param rgb_curve The concatenation of the red, the green and the blue colour curves
- * @return Zero on success
+ * @param use_crtc The CRTC to use, -1 for all
+ * @param r_curve The red colour curve
+ * @param g_curve The green colour curve
+ * @param b_curve The blue colour curve
+ * @return Zero on success
*/
-int blueshift_quartz_apply(int use_crtc, uint16_t* rgb_curves)
+int blueshift_quartz_apply(int use_crtc, float* r_curves, float* g_curves, float* b_curves)
{
return -1;
}