[FFmpeg-cvslog] swscale/swscale: Document param[0..1]

Michael Niedermayer git at videolan.org
Sun Aug 9 14:34:29 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Aug  9 02:27:09 2015 +0200| [c64f01227ff6a4f684ff9f042588cbb2e9eb5826] | committer: Michael Niedermayer

swscale/swscale: Document param[0..1]

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c64f01227ff6a4f684ff9f042588cbb2e9eb5826
---

 libswscale/swscale.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 903e120..6d8d40c 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



More information about the ffmpeg-cvslog mailing list