Mercurial > mplayer.hg
changeset 28493:95cfbbaa4f03
Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
author | stefano |
---|---|
date | Tue, 10 Feb 2009 23:45:50 +0000 |
parents | d31543ec920a |
children | 01b2dcc76143 |
files | libswscale/swscale.c libswscale/swscale.h |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Tue Feb 10 23:43:08 2009 +0000 +++ b/libswscale/swscale.c Tue Feb 10 23:45:50 2009 +0000 @@ -2885,10 +2885,6 @@ return filter; } -/** - * Returns a normalized Gaussian curve used to filter stuff - * quality=3 is high quality, lower is lower quality. - */ SwsVector *sws_getGaussianVec(double variance, double quality){ const int length= (int)(variance*quality + 0.5) | 1; int i;
--- a/libswscale/swscale.h Tue Feb 10 23:43:08 2009 +0000 +++ b/libswscale/swscale.h Tue Feb 10 23:45:50 2009 +0000 @@ -129,6 +129,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); + +/** + * Returns a normalized Gaussian curve used to filter stuff + * quality=3 is high quality, lower is lower quality. + */ SwsVector *sws_getGaussianVec(double variance, double quality); /**