Mercurial > mplayer.hg
comparison libvo/csputils.h @ 30293:aeab18b1923d
Add support for adjustable TV <-> PC level conversion.
This could also be done by modifying contrast and brightness, but
this seems a bit more flexible and easier to use.
author | reimar |
---|---|
date | Sat, 16 Jan 2010 19:59:31 +0000 |
parents | 28cbec606cbb |
children | 4b888c2d2a1d |
comparison
equal
deleted
inserted
replaced
30292:9086459837a0 | 30293:aeab18b1923d |
---|---|
29 MP_CSP_EBU, | 29 MP_CSP_EBU, |
30 MP_CSP_XYZ, | 30 MP_CSP_XYZ, |
31 MP_CSP_COUNT | 31 MP_CSP_COUNT |
32 }; | 32 }; |
33 | 33 |
34 enum mp_csp_levelconv { | |
35 MP_CSP_LEVELCONV_TV_TO_PC, | |
36 MP_CSP_LEVELCONV_PC_TO_TV, | |
37 MP_CSP_LEVELCONV_NONE, | |
38 MP_CSP_LEVELCONV_COUNT | |
39 }; | |
40 | |
34 struct mp_csp_params { | 41 struct mp_csp_params { |
35 enum mp_csp_standard format; | 42 enum mp_csp_standard format; |
43 enum mp_csp_levelconv levelconv; | |
36 float brightness; | 44 float brightness; |
37 float contrast; | 45 float contrast; |
38 float hue; | 46 float hue; |
39 float saturation; | 47 float saturation; |
40 float rgamma; | 48 float rgamma; |