Mercurial > mplayer.hg
changeset 2169:a284336bfecf
final changes to convert to C
author | michael |
---|---|
date | Thu, 11 Oct 2001 23:28:58 +0000 |
parents | 21a8f158d19f |
children | a2f6f5854306 |
files | postproc/postprocess.c postproc/postprocess.h postproc/postprocess_template.c |
diffstat | 3 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/postproc/postprocess.c Thu Oct 11 22:35:45 2001 +0000 +++ b/postproc/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/postproc/postprocess.h Thu Oct 11 22:35:45 2001 +0000 +++ b/postproc/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/postproc/postprocess_template.c Thu Oct 11 22:35:45 2001 +0000 +++ b/postproc/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