summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-08-19 05:16:26 +0000
committerrodri <rgl@antares-labs.eu>2024-08-19 05:16:26 +0000
commit1ec784ed5ae593f3d382c37c6f34fabe1497a861 (patch)
tree14c25635bb9645ac41ae129858a2e3e9ae911b7b /graphics.h
parent10e8543f5aeabb345fa146c7401ef4ac9eb5df28 (diff)
downloadlibgraphics-1ec784ed5ae593f3d382c37c6f34fabe1497a861.tar.gz
libgraphics-1ec784ed5ae593f3d382c37c6f34fabe1497a861.tar.bz2
libgraphics-1ec784ed5ae593f3d382c37c6f34fabe1497a861.zip
color: add ACES tone mapping functions.
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index 35d4d0c..42aef67 100644
--- a/graphics.h
+++ b/graphics.h
@@ -418,6 +418,8 @@ Memimage *dupmemimage(Memimage*);
Color srgb2linear(Color);
Color linear2srgb(Color);
ulong rgba2xrgb(ulong);
+Color aces(Color);
+Color aces2(Color);
/* shadeop */
double sign(double);