diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-18 00:08:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-18 00:08:17 +0000 |
commit | 66d1cdb6728e266a2eb2c58b6fd6adffee413717 (patch) | |
tree | 6ff87eab31078cc53b3916072059dd9cedbfe40f /postproc/swscale.h | |
parent | 7c2425d239ceac0075700df252ec561327832414 (diff) | |
download | ffmpeg-66d1cdb6728e266a2eb2c58b6fd6adffee413717.tar.gz |
passing an array or double precission parameters for the scaling function, instead of missusing a few bits of the flags
fixing the naming of the scaling functions a little
Originally committed as revision 13374 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r-- | postproc/swscale.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h index 3bcb432430..97c8570e82 100644 --- a/postproc/swscale.h +++ b/postproc/swscale.h @@ -45,8 +45,7 @@ extern "C" { #define SWS_SRC_V_CHR_DROP_MASK 0x30000 #define SWS_SRC_V_CHR_DROP_SHIFT 16 -#define SWS_PARAM_MASK 0x3FC0000 -#define SWS_PARAM_SHIFT 18 +#define SWS_PARAM_DEFAULT 123456 #define SWS_PRINT_INFO 0x1000 @@ -94,7 +93,7 @@ struct SwsContext; void sws_freeContext(struct SwsContext *swsContext); struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags, - SwsFilter *srcFilter, SwsFilter *dstFilter); + SwsFilter *srcFilter, SwsFilter *dstFilter, double *param); int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]); int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, |