diff options
Diffstat (limited to 'video/out/gl_lcms.h')
-rw-r--r-- | video/out/gl_lcms.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/video/out/gl_lcms.h b/video/out/gl_lcms.h index f1ab069574..2b34d62cca 100644 --- a/video/out/gl_lcms.h +++ b/video/out/gl_lcms.h @@ -1,7 +1,9 @@ #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; @@ -16,8 +18,12 @@ struct mp_icc_opts { struct lut3d; struct mp_log; struct mpv_global; -bool mp_icc_set_profile(struct mp_icc_opts *opts, char *profile); -struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log, - struct mpv_global *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 **); #endif |