summaryrefslogtreecommitdiffstats
path: root/libvo/csputils.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-05-24 20:52:27 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 07:31:54 +0300
commit48fdd3d9268b55fe7e1743b43699b2650fb0db55 (patch)
tree4266f5dfd81cf366ec2ce4dac3968c1c57b9f6ad /libvo/csputils.h
parent94d3e6a710c40806f44c1d39aaa0388c05487b8f (diff)
downloadmpv-48fdd3d9268b55fe7e1743b43699b2650fb0db55.tar.bz2
mpv-48fdd3d9268b55fe7e1743b43699b2650fb0db55.tar.xz
vo_gl: Support 9- and 10-bit YUV input for OpenGL VOs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33502 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix clear/border color of chroma texture for 9- and 10-bit formats. Avoids pink borders for those formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33504 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/csputils.h')
-rw-r--r--libvo/csputils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/csputils.h b/libvo/csputils.h
index acc8f59459..07d9932279 100644
--- a/libvo/csputils.h
+++ b/libvo/csputils.h
@@ -53,6 +53,7 @@ struct mp_csp_params {
float rgamma;
float ggamma;
float bgamma;
+ int input_shift;
};
void mp_gen_gamma_map(unsigned char *map, int size, float gamma);