[Mplayer-cvslog] CVS: main/libvo yuv2rgb_mlib.c,1.2,1.3

Jürgen Keil jkeil at mplayer.dev.hu
Fri Aug 31 21:20:42 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv2902

Modified Files:
	yuv2rgb_mlib.c 
Log Message:
yuv2rgb_fun typedef uses int parameters, not uint32_t (fixes some compiler
warnings)


Index: yuv2rgb_mlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/yuv2rgb_mlib.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- yuv2rgb_mlib.c	28 Aug 2001 15:37:24 -0000	1.2
+++ yuv2rgb_mlib.c	31 Aug 2001 19:20:39 -0000	1.3
@@ -36,9 +36,8 @@
 
 static void mlib_YUV2ARGB420_32(uint8_t* image, uint8_t* py, 
 			 uint8_t* pu, uint8_t* pv, 
-			 uint32_t h_size, uint32_t v_size, 
-			 uint32_t rgb_stride, uint32_t y_stride, 
-			 uint32_t uv_stride)
+			 int h_size, int v_size, 
+			 int rgb_stride, int y_stride, int uv_stride)
 {
   mlib_VideoColorYUV2ARGB420(image, py, pu, pv, h_size,
 			     v_size, rgb_stride, y_stride, uv_stride);
@@ -46,21 +45,19 @@
 
 static void mlib_YUV2ABGR420_32(uint8_t* image, uint8_t* py, 
 			 uint8_t* pu, uint8_t* pv, 
-			 uint32_t h_size, uint32_t v_size, 
-			 uint32_t rgb_stride, uint32_t y_stride, 
-			 uint32_t uv_stride)
+			 int h_size, int v_size, 
+			 int rgb_stride, int y_stride, int uv_stride)
 {
-	mlib_VideoColorYUV2ABGR420(image, py, pu, pv, h_size,
+  mlib_VideoColorYUV2ABGR420(image, py, pu, pv, h_size,
 			     v_size, rgb_stride, y_stride, uv_stride);
 }
 
 static void mlib_YUV2RGB420_24(uint8_t* image, uint8_t* py, 
 			 uint8_t* pu, uint8_t* pv, 
-			 uint32_t h_size, uint32_t v_size, 
-			 uint32_t rgb_stride, uint32_t y_stride, 
-			 uint32_t uv_stride)
+			 int h_size, int v_size, 
+			 int rgb_stride, int y_stride, int uv_stride)
 {
-	mlib_VideoColorYUV2RGB420(image, py, pu, pv, h_size,
+  mlib_VideoColorYUV2RGB420(image, py, pu, pv, h_size,
 			    v_size, rgb_stride, y_stride, uv_stride);
 }
 




More information about the MPlayer-cvslog mailing list