summaryrefslogtreecommitdiffstats
path: root/video/out/gl_lcms.h
blob: f1ab06957493d6d8b1c39099e81168ca7ebafe82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MP_GL_LCMS_H
#define MP_GL_LCMS_H

#include <stdbool.h>

extern const struct m_sub_options mp_icc_conf;

struct mp_icc_opts {
    char *profile;
    int profile_auto;
    char *cache;
    char *size_str;
    int intent;
};

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);

#endif