changeset 13656:99b443dd45a8

I420 support patch by Benjamin Zores <ben@tutuxclan.org>
author faust3
date Sun, 17 Oct 2004 17:16:28 +0000
parents d4048f4054b6
children 1255d1604e00
files vidix/drivers/cyberblade_vid.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/cyberblade_vid.c	Sun Oct 17 13:51:11 2004 +0000
+++ b/vidix/drivers/cyberblade_vid.c	Sun Oct 17 17:16:28 2004 +0000
@@ -252,6 +252,7 @@
 	{
 		case IMGFMT_YUY2:
 		case IMGFMT_YV12:
+		case IMGFMT_I420:
 		case IMGFMT_YVU9:
 		case IMGFMT_BGR16:
 			return 1;
@@ -407,6 +408,7 @@
 			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;