summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-23 19:33:55 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-23 19:33:55 +0000
commitffe95772416f2c51f390365c3e7827fc85a20b13 (patch)
tree8ec1ab2b9c6314193b92e3c356a9512ece470506 /libmpcodecs
parenta72a759ababbc9f5cc21f8986b3cfc1b9f9ec480 (diff)
downloadmpv-ffe95772416f2c51f390365c3e7827fc85a20b13.tar.bz2
mpv-ffe95772416f2c51f390365c3e7827fc85a20b13.tar.xz
yv12 osd drawer is working for y8/y800/yvu9/if09 becouse it uses only Y-plane and Y-plane is the same for all these formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6538 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_expand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/vf_expand.c b/libmpcodecs/vf_expand.c
index 3329e86250..2cf5069c22 100644
--- a/libmpcodecs/vf_expand.c
+++ b/libmpcodecs/vf_expand.c
@@ -109,6 +109,10 @@ static void draw_func(int x0,int y0, int w,int h,unsigned char* src, unsigned ch
case IMGFMT_YV12:
case IMGFMT_I420:
case IMGFMT_IYUV:
+ case IMGFMT_YVU9:
+ case IMGFMT_IF09:
+ case IMGFMT_Y800:
+ case IMGFMT_Y8:
vo_draw_alpha_yv12(w,h,src,srca,stride,dst,vf->priv->dmpi->stride[0]);
break;
case IMGFMT_YUY2: