diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-18 00:08:17 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-18 00:08:17 +0000 |
commit | 54df7e4a3e18fd212bae3bdf665cd0455f031eb6 (patch) | |
tree | 43d1dfd83eaa1c4472be09f234377cf2af6fc422 /postproc/swscale.h | |
parent | 5e71ad8c1ee1248b32924aecc0b4bce42265e3b8 (diff) | |
download | mpv-54df7e4a3e18fd212bae3bdf665cd0455f031eb6.tar.bz2 mpv-54df7e4a3e18fd212bae3bdf665cd0455f031eb6.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2
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, |