diff options
Diffstat (limited to 'video/out/opengl/lcms.h')
-rw-r--r-- | video/out/opengl/lcms.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/video/out/opengl/lcms.h b/video/out/opengl/lcms.h index ee2a48b59c..094514ac9e 100644 --- a/video/out/opengl/lcms.h +++ b/video/out/opengl/lcms.h @@ -13,9 +13,14 @@ struct mp_icc_opts { char *cache_dir; char *size_str; int intent; + int contrast; +}; + +struct lut3d { + uint16_t *data; + int size[3]; }; -struct lut3d; struct mp_log; struct mpv_global; struct gl_lcms; @@ -23,7 +28,8 @@ 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_set_memory_profile(struct gl_lcms *p, bstr profile); +bool gl_lcms_has_profile(struct gl_lcms *p); bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **, enum mp_csp_prim prim, enum mp_csp_trc trc); bool gl_lcms_has_changed(struct gl_lcms *p, enum mp_csp_prim prim, |