From c326825e51d533bc7fcf3cb7279ed2be774affea Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 10 Feb 2009 23:32:16 +0000 Subject: [PATCH] Document sws_getConstVec(). Originally committed as revision 28524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index dbc1cd5c0e..a20b5e2159 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -130,6 +130,11 @@ int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[ int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation); int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, int *srcRange, int **table, int *dstRange, int *brightness, int *contrast, int *saturation); SwsVector *sws_getGaussianVec(double variance, double quality); + +/** + * Allocates and returns a vector with \p lenght coefficients, all + * with the same value \p c. + */ SwsVector *sws_getConstVec(double c, int length); SwsVector *sws_getIdentityVec(void); void sws_scaleVec(SwsVector *a, double scalar);