Mercurial > mplayer.hg
changeset 28489:02f445ffbccd
Document sws_getConstVec().
author | stefano |
---|---|
date | Tue, 10 Feb 2009 23:32:16 +0000 |
parents | 01afb64ccf4a |
children | 333cb4dd0ceb |
files | libswscale/swscale.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);