From 9f6015dbc695521fbb5d242666ec67793264e56c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Aug 2014 22:45:03 +0200 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/calibrator.c | 5 +++++ src/calibrator.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/src/calibrator.c b/src/calibrator.c index a0dcb3a..38987d3 100644 --- a/src/calibrator.c +++ b/src/calibrator.c @@ -187,6 +187,11 @@ int draw_id(void) } +/** + * Draw squares used as reference when tweeking the gamma correction + * + * @return Zero on success, -1 on error + */ int draw_gamma(void) { size_t f, x, y, fn = fb_count(); diff --git a/src/calibrator.h b/src/calibrator.h index 1db7a3b..d953efd 100644 --- a/src/calibrator.h +++ b/src/calibrator.h @@ -63,6 +63,13 @@ int gamma_digit(drm_crtc_t* restrict crtc, int colour, size_t value); */ int draw_id(void); +/** + * Draw squares used as reference when tweeking the gamma correction + * + * @return Zero on success, -1 on error + */ +int draw_gamma(void); + #endif -- cgit v1.2.3-70-g09d2