mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
701c8c8254
This uses the value of 1.95 as an approximation for the exact gamma curve, which replicates the behavior of popular video software including anything in the Apple ecosystem, as per issue #534.
21 lines
386 B
C
21 lines
386 B
C
#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;
|
|
int approx;
|
|
};
|
|
|
|
struct lut3d;
|
|
struct mp_log;
|
|
struct mpv_global;
|
|
struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log,
|
|
struct mpv_global *global);
|
|
|
|
#endif
|