diff options
author | Arpi <arpi@thot.banki.hu> | 2001-10-13 15:53:24 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2001-10-13 15:53:24 +0000 |
commit | e939e1c35ba0e6245829f7c523306bfa90be11bc (patch) | |
tree | e07a97ccbbab6d1249fb492b5584472d6557034b /postproc/postprocess.h | |
parent | 9f3328bc91ea610090a134b635c357dd556cee43 (diff) | |
download | ffmpeg-streaming-e939e1c35ba0e6245829f7c523306bfa90be11bc.zip ffmpeg-streaming-e939e1c35ba0e6245829f7c523306bfa90be11bc.tar.gz |
Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts
Originally committed as revision 2190 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r-- | postproc/postprocess.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/postproc/postprocess.h b/postproc/postprocess.h index 63277e8..81f5435 100644 --- a/postproc/postprocess.h +++ b/postproc/postprocess.h @@ -46,23 +46,13 @@ #define H_RK1_FILTER 0x1000 // 4096 #define H_X1_FILTER 0x2000 // 8192 +#define GET_PP_QUALITY_MAX 6 -#define TIMEING -#define MORE_TIMEING - -#define MIN(a,b) ((a) > (b) ? (b) : (a)) -#define MAX(a,b) ((a) < (b) ? (b) : (a)) -#define ABS(a) ((a) > 0 ? (a) : (-(a))) -#define SIGN(a) ((a) > 0 ? 1 : -1) +//#define TIMEING +//#define MORE_TIMEING #define QP_STORE_T int -#ifdef HAVE_MMX2 -#define PAVGB(a,b) "pavgb " #a ", " #b " \n\t" -#elif defined (HAVE_3DNOW) -#define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t" -#endif - //#ifdef __cplusplus //#include <inttypes.h> @@ -74,15 +64,16 @@ //extern "C" //{ //#endif + void postprocess(unsigned char * src[], int src_stride, unsigned char * dst[], int dst_stride, int horizontal_size, int vertical_size, QP_STORE_T *QP_store, int QP_stride, int mode); + int getPpModeForQuality(int quality); + //#ifdef __cplusplus //} //#endif -#define GET_PP_QUALITY_MAX 6 - #endif |