1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/video/out/gl_lcms.h
Niklas Haas 701c8c8254
vo_opengl: Add :icc-approx-gamma suboption to approximate BT.709 gamma
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.
2014-02-24 14:34:12 +01:00

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