[Mplayer-cvslog] CVS: main/postproc yuv2rgb_mlib.c,1.7,1.8
Alex Beregszaszi
alex at mplayerhq.hu
Wed Oct 8 00:42:42 CEST 2003
- Previous message: [Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.83,1.84
- Next message: [Mplayer-cvslog] CVS: main/vidix/drivers sis_bridge.c,NONE,1.1 sis_defs.h,NONE,1.1 sis_regs.h,NONE,1.1 sis_vid.c,NONE,1.1 Makefile,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/postproc
In directory mail:/var/tmp.root/cvs-serv7268
Modified Files:
yuv2rgb_mlib.c
Log Message:
Fixed the brokeness and also bgr32 should work now. Patch by Ken Mandelberg <km at mathcs.emory.edu>
Index: yuv2rgb_mlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/yuv2rgb_mlib.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- yuv2rgb_mlib.c 24 Feb 2003 00:12:30 -0000 1.7
+++ yuv2rgb_mlib.c 7 Oct 2003 22:41:56 -0000 1.8
@@ -42,8 +42,8 @@
assert(srcStride[1] == srcStride[2]);
- mlib_VideoColorYUV2ARGB420(dst[0], src[0], src[1], src[2], c->dstW,
- c->dstH, dstStride[0], srcStride[0], srcStride[1]);
+ mlib_VideoColorYUV2ARGB420(dst[0]+srcSliceY*dstStride[0], src[0], src[1], src[2], c->dstW,
+ srcSliceH, dstStride[0], srcStride[0], srcStride[1]);
return srcSliceH;
}
@@ -56,8 +56,8 @@
assert(srcStride[1] == srcStride[2]);
- mlib_VideoColorYUV2ABGR420(dst[0], src[0], src[1], src[2], c->dstW,
- c->dstH, dstStride[0], srcStride[0], srcStride[1]);
+ mlib_VideoColorYUV2ABGR420(dst[0]+srcSliceY*dstStride[0], src[0], src[1], src[2], c->dstW,
+ srcSliceH, dstStride[0], srcStride[0], srcStride[1]);
return srcSliceH;
}
@@ -70,8 +70,8 @@
assert(srcStride[1] == srcStride[2]);
- mlib_VideoColorYUV2RGB420(dst[0], src[0], src[1], src[2], c->dstW,
- c->dstH, dstStride[0], srcStride[0], srcStride[1]);
+ mlib_VideoColorYUV2RGB420(dst[0]+srcSliceY*dstStride[0], src[0], src[1], src[2], c->dstW,
+ srcSliceH, dstStride[0], srcStride[0], srcStride[1]);
return srcSliceH;
}
@@ -81,7 +81,7 @@
switch(c->dstFormat){
case IMGFMT_RGB24: return mlib_YUV2RGB420_24;
case IMGFMT_RGB32: return mlib_YUV2ARGB420_32;
- case IMGFMT_BGR32: return mlib_YUV2ARGB420_32;
+ case IMGFMT_BGR32: return mlib_YUV2ABGR420_32;
default: return NULL;
}
}
- Previous message: [Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.83,1.84
- Next message: [Mplayer-cvslog] CVS: main/vidix/drivers sis_bridge.c,NONE,1.1 sis_defs.h,NONE,1.1 sis_regs.h,NONE,1.1 sis_vid.c,NONE,1.1 Makefile,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list