diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-08-29 01:10:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-09 18:09:25 +0200 |
commit | deebc55014074fef121c1df6b117e9c0bf97d516 (patch) | |
tree | a69b532d4e17dd8ecf03ecec94cbfb74f2696620 /video/out/opengl/gl_lcms.h | |
parent | 944fa1214a14baf24f629f41ce6c05965028ae1a (diff) | |
download | mpv-deebc55014074fef121c1df6b117e9c0bf97d516.tar.bz2 mpv-deebc55014074fef121c1df6b117e9c0bf97d516.tar.xz |
vo_opengl: move gl_* files to their own subdir
This is mainly just to keep things a bit more organized and separated
inside the codebase.
Diffstat (limited to 'video/out/opengl/gl_lcms.h')
-rw-r--r-- | video/out/opengl/gl_lcms.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/video/out/opengl/gl_lcms.h b/video/out/opengl/gl_lcms.h new file mode 100644 index 0000000000..5ad08b7d64 --- /dev/null +++ b/video/out/opengl/gl_lcms.h @@ -0,0 +1,30 @@ +#ifndef MP_GL_LCMS_H +#define MP_GL_LCMS_H + +#include <stddef.h> +#include <stdbool.h> +#include "misc/bstr.h" + +extern const struct m_sub_options mp_icc_conf; + +struct mp_icc_opts { + char *profile; + int profile_auto; + char *cache_dir; + char *size_str; + int intent; +}; + +struct lut3d; +struct mp_log; +struct mpv_global; +struct gl_lcms; + +struct gl_lcms *gl_lcms_init(void *talloc_ctx, struct mp_log *log, + struct mpv_global *global); +void gl_lcms_set_options(struct gl_lcms *p, struct mp_icc_opts *opts); +void gl_lcms_set_memory_profile(struct gl_lcms *p, bstr *profile); +bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **); +bool gl_lcms_has_changed(struct gl_lcms *p); + +#endif |