aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-helper.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-28 15:32:01 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-28 15:32:01 +0200
commit5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271 (patch)
tree20524d8a1fd61ef466b792e335434727fa352016 /src/lib/gamma-helper.h
parentinfo: ramps => ramps16 (diff)
downloadlibgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.gz
libgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.bz2
libgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.xz
add 8-bit ramps (good for software gamma)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/gamma-helper.h')
-rw-r--r--src/lib/gamma-helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/gamma-helper.h b/src/lib/gamma-helper.h
index 48f4de5..6bc8fd2 100644
--- a/src/lib/gamma-helper.h
+++ b/src/lib/gamma-helper.h
@@ -28,6 +28,11 @@
typedef union libgamma_gamma_ramps_any
{
/**
+ * 8-bit gamma ramps.
+ */
+ libgamma_gamma_ramps8_t bits8;
+
+ /**
* 16-bit gamma ramps.
*/
libgamma_gamma_ramps16_t bits16;