summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-11 23:28:58 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-11 23:28:58 +0000
commit8244aecaa8ab67023efaec22d908cd90244b2bd2 (patch)
tree05b1c7d30ba34af7dd0e18f22ad71955f41d486a /postproc
parent84d075d1cd6391f3558fc9b86fcc340d5792b94a (diff)
downloadmpv-8244aecaa8ab67023efaec22d908cd90244b2bd2.tar.bz2
mpv-8244aecaa8ab67023efaec22d908cd90244b2bd2.tar.xz
final changes to convert to C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2170 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/postprocess.c4
-rw-r--r--postproc/postprocess.h18
-rw-r--r--postproc/postprocess_template.c4
3 files changed, 13 insertions, 13 deletions
diff --git a/postproc/postprocess.c b/postproc/postprocess.c
index 34ffbe0d70..45a9dc87e8 100644
--- a/postproc/postprocess.c
+++ b/postproc/postprocess.c
@@ -1606,7 +1606,7 @@ FIND_MIN_MAX(%%ebx, %1, 2)
* 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 @@ int getModeForQuality(int quality){
return modes[ (quality*6) >>6 ];
}
-} // extern "C"
+//} // extern "C"
/**
* Copies a block from src to dst and fixes the blacklevel
diff --git a/postproc/postprocess.h b/postproc/postprocess.h
index 3ae49f0c64..f83853441a 100644
--- a/postproc/postprocess.h
+++ b/postproc/postprocess.h
@@ -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 @@ void postprocess(unsigned char * src[], int src_stride,
int mode);
int getModeForQuality(int quality);
-#ifdef __cplusplus
-}
-#endif
+//#ifdef __cplusplus
+//}
+//#endif
#endif
diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c
index 34ffbe0d70..45a9dc87e8 100644
--- a/postproc/postprocess_template.c
+++ b/postproc/postprocess_template.c
@@ -1606,7 +1606,7 @@ FIND_MIN_MAX(%%ebx, %1, 2)
* 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 @@ int getModeForQuality(int quality){
return modes[ (quality*6) >>6 ];
}
-} // extern "C"
+//} // extern "C"
/**
* Copies a block from src to dst and fixes the blacklevel