changeset 98:eaae16507d9b libavcodec

final changes to convert to C
author michael
date Thu, 11 Oct 2001 23:28:58 +0000
parents e57b1d38d71f
children 4f072fa99ccf
files libpostproc/postprocess.c libpostproc/postprocess.h libpostproc/postprocess_template.c
diffstat 3 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/postprocess.c	Thu Oct 11 22:35:45 2001 +0000
+++ b/libpostproc/postprocess.c	Thu Oct 11 23:28:58 2001 +0000
@@ -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
--- a/libpostproc/postprocess.h	Thu Oct 11 22:35:45 2001 +0000
+++ b/libpostproc/postprocess.h	Thu Oct 11 23:28:58 2001 +0000
@@ -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
--- a/libpostproc/postprocess_template.c	Thu Oct 11 22:35:45 2001 +0000
+++ b/libpostproc/postprocess_template.c	Thu Oct 11 23:28:58 2001 +0000
@@ -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