aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-facade.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
commit9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5 (patch)
tree32386de8407b95650998dfbbf1350094d2663711 /src/lib/libgamma-facade.h
parentm doc (diff)
downloadlibgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.gz
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.bz2
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.xz
ramps => ramps16
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/libgamma-facade.h')
-rw-r--r--src/lib/libgamma-facade.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libgamma-facade.h b/src/lib/libgamma-facade.h
index 89c166a..cfcf085 100644
--- a/src/lib/libgamma-facade.h
+++ b/src/lib/libgamma-facade.h
@@ -36,7 +36,7 @@
* @param encoding [0, 1] float encoding value.
* @return [0, 2¹⁶ − 1] integer output value.
*/
-typedef uint16_t libgamma_gamma_ramps_fun(float encoding);
+typedef uint16_t libgamma_gamma_ramps16_fun(float encoding);
/**
* Mapping function from [0, 1] float encoding value to [0, 2³² − 1] integer output value.
@@ -323,8 +323,8 @@ unsigned char* libgamma_unhex_edid(const char* restrict edid);
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_t* restrict ramps);
+int libgamma_crtc_get_gamma_ramps16(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps16_t* restrict ramps);
/**
* Set the gamma ramps for a CRTC, 16-bit gamma-depth version.
@@ -334,8 +334,8 @@ int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_t ramps) __attribute__((hot));
+int libgamma_crtc_set_gamma_ramps16(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps16_t ramps) __attribute__((hot));
/**
@@ -442,10 +442,10 @@ int libgamma_crtc_set_gamma_rampsd(libgamma_crtc_state_t* restrict this,
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-int libgamma_crtc_set_gamma_ramps_f(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_fun* red_function,
- libgamma_gamma_ramps_fun* green_function,
- libgamma_gamma_ramps_fun* blue_function) __attribute__((cold));
+int libgamma_crtc_set_gamma_ramps16_f(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps16_fun* red_function,
+ libgamma_gamma_ramps16_fun* green_function,
+ libgamma_gamma_ramps16_fun* blue_function) __attribute__((cold));
/**
* Set the gamma ramps for a CRTC, 32-bit gamma-depth function version.