[Mplayer-cvslog] CVS: main/postproc postprocess.c,1.3,1.4 postprocess.h,1.3,1.4

Michael Niedermayer michael at mplayer.dev.hu
Fri Oct 12 01:29:17 CEST 2001


Update of /cvsroot/mplayer/main/postproc
In directory mplayer:/var/tmp.root/cvs-serv7473

Modified Files:
	postprocess.c postprocess.h 
Log Message:
final changes to convert to C


Index: postprocess.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- postprocess.c	11 Oct 2001 22:35:45 -0000	1.3
+++ postprocess.c	11 Oct 2001 23:28:57 -0000	1.4
@@ -1606,7 +1606,7 @@
  * the mode value is interpreted as a quality value if its negative, its range is then (-1 ... -63)
  * -63 is best quality -1 is worst
  */
-extern "C"{
+//extern "C"{
 void  postprocess(unsigned char * src[], int src_stride,
                  unsigned char * dst[], int dst_stride,
                  int horizontal_size,   int vertical_size,
@@ -1669,7 +1669,7 @@
 	return modes[ (quality*6) >>6 ];
 }
 
-} // extern "C"
+//} // extern "C"
 
 /**
  * Copies a block from src to dst and fixes the blacklevel

Index: postprocess.h
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- postprocess.h	11 Oct 2001 22:35:45 -0000	1.3
+++ postprocess.h	11 Oct 2001 23:28:58 -0000	1.4
@@ -64,17 +64,17 @@
 #define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t"
 #endif
 
-#ifdef __cplusplus
+//#ifdef __cplusplus
 //#include <inttypes.h>
 
 void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
 	QP_STORE_T QPs[], int QPStride, int isColor, int mode);
-#endif
+//#endif
 
-#ifdef __cplusplus
-extern "C"
-{
-#endif
+//#ifdef __cplusplus
+//extern "C"
+//{
+//#endif
 void postprocess(unsigned char * src[], int src_stride,
                  unsigned char * dst[], int dst_stride,
                  int horizontal_size,   int vertical_size,
@@ -82,9 +82,9 @@
 		 					   int mode);
 
 int getModeForQuality(int quality);
-#ifdef __cplusplus
-}
-#endif
+//#ifdef __cplusplus
+//}
+//#endif
 
 
 #endif




More information about the MPlayer-cvslog mailing list