diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-09 02:27:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-09 14:33:19 +0200 |
commit | c64f01227ff6a4f684ff9f042588cbb2e9eb5826 (patch) | |
tree | 3b8705fc4d99e45570ad502777f4e6d16640b79a /libswscale | |
parent | e66a43f69455130455cc900497e1ea400b3fe88f (diff) | |
download | ffmpeg-c64f01227ff6a4f684ff9f042588cbb2e9eb5826.tar.gz |
swscale/swscale: Document param[0..1]
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 903e1203fd..6d8d40ccc0 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -185,6 +185,12 @@ void sws_freeContext(struct SwsContext *swsContext); * @param dstH the height of the destination image * @param dstFormat the destination image format * @param flags specify which algorithm and options to use for rescaling + * @param param extra parameters to tune the used scaler + * For SWS_BICUBIC param[0] and [1] tune the shape of the basis + * function, param[0] tunes f(1) and param[1] f´(1) + * For SWS_GAUSS param[0] tunes the exponent and thus cutoff + * frequency + * For SWS_LANCZOS param[0] tunes the width of the window function * @return a pointer to an allocated context, or NULL in case of error * @note this function is to be removed after a saner alternative is * written |