aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-17 17:16:28 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-17 17:16:28 +0000
commitdaa7691bcea75067e642f7be6f45e2312181c947 (patch)
tree4f21100696306bf8dedbdffd20f2c011e30ba759 /vidix
parentf893a30cbf87c064b44a9b6ead2912b2910e4682 (diff)
I420 support patch by Benjamin Zores <ben@tutuxclan.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13657 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/drivers/cyberblade_vid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vidix/drivers/cyberblade_vid.c b/vidix/drivers/cyberblade_vid.c
index 02a408035d..a188c98092 100644
--- a/vidix/drivers/cyberblade_vid.c
+++ b/vidix/drivers/cyberblade_vid.c
@@ -252,6 +252,7 @@ static int is_supported_fourcc(uint32_t fourcc)
{
case IMGFMT_YUY2:
case IMGFMT_YV12:
+ case IMGFMT_I420:
case IMGFMT_YVU9:
case IMGFMT_BGR16:
return 1;
@@ -407,6 +408,7 @@ int vixConfigPlayback(vidix_playback_t *info)
layout=0x0; /* packed */
break;
case IMGFMT_YV12:
+ case IMGFMT_I420:
y_pitch = (src_w+15) & ~15;
uv_pitch = ((src_w/2)+7) & ~7;
YOffs=info->offset.y = 0;