# HG changeset patch # User stefano # Date 1234308736 0 # Node ID 02f445ffbccd66d3ef734967d68d1846f19f4549 # Parent 01afb64ccf4a283e96cdfed2e1ae05fc945297d7 Document sws_getConstVec(). diff -r 01afb64ccf4a -r 02f445ffbccd libswscale/swscale.h --- a/libswscale/swscale.h Tue Feb 10 23:26:56 2009 +0000 +++ b/libswscale/swscale.h Tue Feb 10 23:32:16 2009 +0000 @@ -130,6 +130,11 @@ 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);