summaryrefslogtreecommitdiffstats
path: root/video/out/gl_lcms.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-01 21:19:20 +0100
committerwm4 <wm4@nowhere>2013-03-28 21:46:17 +0100
commit6ef06aa145067b816aaf3b941aba11e36bfca545 (patch)
tree116401ac1bc8fd443e936cd8ae5e8f1424afdd51 /video/out/gl_lcms.h
parent16e951c2cdfa6710f0d5cc77b513e0f2a5f1377d (diff)
downloadmpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.bz2
mpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.xz
vo_opengl: split into multiple files, convert to new option API
gl_video.c contains all rendering code, gl_lcms.c the .icc loader and creation of 3D LUT (and all LittleCMS specific code). vo_opengl.c is reduced to interfacing between the various parts.
Diffstat (limited to 'video/out/gl_lcms.h')
-rw-r--r--video/out/gl_lcms.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/video/out/gl_lcms.h b/video/out/gl_lcms.h
new file mode 100644
index 0000000000..1debef485b
--- /dev/null
+++ b/video/out/gl_lcms.h
@@ -0,0 +1,16 @@
+#ifndef MP_GL_LCMS_H
+#define MP_GL_LCMS_H
+
+extern const struct m_sub_options mp_icc_conf;
+
+struct mp_icc_opts {
+ char *profile;
+ char *cache;
+ char *size_str;
+ int intent;
+};
+
+struct lut3d;
+struct lut3d *mp_load_icc(struct mp_icc_opts *opts);
+
+#endif