diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-16 00:30:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-16 00:30:22 +0200 |
commit | 9204b84ecdc1905cf03534223f5cb5f392104ef5 (patch) | |
tree | 94d294f0a0dbdfae14fdf2f2f5c53da164118719 /src/blueshift_quartz_c.c | |
parent | add dummy c code for quartz (diff) | |
download | blueshift-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.c | 10 |
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; } |