diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-16 19:59:31 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-16 19:59:31 +0000 |
commit | cbd5caef0e8862dcafd40d80d28f4bca73882f97 (patch) | |
tree | 309ed78a00d4235d5d11318e71b772dc09e332c5 /libvo/csputils.h | |
parent | 68544d15da70e99724f6e7df43ab2d74d4750b66 (diff) |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30335 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/csputils.h')
-rw-r--r-- | libvo/csputils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libvo/csputils.h b/libvo/csputils.h index 4723c7006d..54c6926b96 100644 --- a/libvo/csputils.h +++ b/libvo/csputils.h @@ -31,8 +31,16 @@ enum mp_csp_standard { MP_CSP_COUNT }; +enum mp_csp_levelconv { + MP_CSP_LEVELCONV_TV_TO_PC, + MP_CSP_LEVELCONV_PC_TO_TV, + MP_CSP_LEVELCONV_NONE, + MP_CSP_LEVELCONV_COUNT +}; + struct mp_csp_params { enum mp_csp_standard format; + enum mp_csp_levelconv levelconv; float brightness; float contrast; float hue; |