diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-30 20:50:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-30 20:50:33 +0000 |
commit | 4407a3c47a1c39271e563df784616e4c1a0a41ca (patch) | |
tree | a1802c2e02e6b68928e30765cbbb532e2c7f9997 /postproc/postprocess.h | |
parent | 6b72ac6323ec656fd0df6460ef844c83b5e76433 (diff) | |
download | ffmpeg-4407a3c47a1c39271e563df784616e4c1a0a41ca.tar.gz |
change qscale type to int8 and fix qscale ordering
Originally committed as revision 7985 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r-- | postproc/postprocess.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/postproc/postprocess.h b/postproc/postprocess.h index 4caba6d4e2..36f3566b6a 100644 --- a/postproc/postprocess.h +++ b/postproc/postprocess.h @@ -62,9 +62,11 @@ //filters on //#define COMPILE_TIME_MODE 0x77 -#define QP_STORE_T int +#define QP_STORE_T int8_t -char *pp_help; +typedef void pp_context; + +extern char *pp_help; //FIXME decide if this should be exported at all typedef struct PPMode{ @@ -88,13 +90,13 @@ void pp_postprocess(uint8_t * src[3], int srcStride[3], uint8_t * dst[3], int dstStride[3], int horizontalSize, int verticalSize, QP_STORE_T *QP_store, int QP_stride, - PPMode *mode, void *ppContext, int pict_type); + PPMode *mode, pp_context *ppContext, int pict_type); // name is the stuff after "-pp" on the command line PPMode pp_get_mode_by_name_and_quality(char *name, int quality); -void *pp_get_context(int width, int height); -void pp_free_context(void *ppContext); +pp_context *pp_get_context(int width, int height); +void pp_free_context(pp_context *ppContext); int pp_init(int cpuCaps); #define PP_CPU_CAPS_MMX 0x80000000 |