From 6ea82ed46c3c42ae002f31c1018af41b30aecdbb Mon Sep 17 00:00:00 2001 From: stefano Date: Tue, 10 Feb 2009 23:32:16 +0000 Subject: Document sws_getConstVec(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libswscale/swscale.h') 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); -- cgit v1.2.3