From 9204b84ecdc1905cf03534223f5cb5f392104ef5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 16 Apr 2014 00:30:22 +0200 Subject: change quartz functions to utilize that quarts expects floats rather than uint16_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_quartz_c.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/blueshift_quartz_c.c') 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; } -- cgit v1.2.3-70-g09d2