comparison libvo/csputils.h @ 30109:0f25d3062987

First steps to supporting different YUV->RGB conversion definitions. The numbers are possibly still wrong though.
author reimar
date Thu, 31 Dec 2009 19:59:58 +0000
parents 0898adc64a6f
children 28cbec606cbb
comparison
equal deleted inserted replaced
30108:0898adc64a6f 30109:0f25d3062987
19 #ifndef MPLAYER_CSPUTILS_H 19 #ifndef MPLAYER_CSPUTILS_H
20 #define MPLAYER_CSPUTILS_H 20 #define MPLAYER_CSPUTILS_H
21 21
22 #include <stdint.h> 22 #include <stdint.h>
23 23
24 enum mp_csp_standard {
25 MP_CSP_DEFAULT,
26 MP_CSP_BT_601,
27 MP_CSP_BT_709,
28 MP_CSP_SMPTE_240M,
29 MP_CSP_EBU,
30 MP_CSP_COUNT
31 };
32
24 struct mp_csp_params { 33 struct mp_csp_params {
34 enum mp_csp_standard format;
25 float brightness; 35 float brightness;
26 float contrast; 36 float contrast;
27 float hue; 37 float hue;
28 float saturation; 38 float saturation;
29 float rgamma; 39 float rgamma;