[FFmpeg-devel] [PATCH] Some documentation for swscale.h

Stefano Sabatini stefano.sabatini-lala
Wed Feb 11 01:05:05 CET 2009


On date Tuesday 2009-02-10 02:10:50 +0100, Michael Niedermayer encoded:
> On Tue, Feb 10, 2009 at 01:41:43AM +0100, Stefano Sabatini wrote:
[...]
> > Index: ffmpeg/libswscale/swscale.h
> > ===================================================================
> > --- ffmpeg.orig/libswscale/swscale.h	2009-02-10 01:28:28.000000000 +0100
> > +++ ffmpeg/libswscale/swscale.h	2009-02-10 01:39:19.000000000 +0100
> > @@ -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);
> >  
> >  /**
> > Index: ffmpeg/libswscale/swscale.c
> > ===================================================================
> > --- ffmpeg.orig/libswscale/swscale.c	2009-02-10 01:28:28.000000000 +0100
> > +++ ffmpeg/libswscale/swscale.c	2009-02-10 01:29:08.000000000 +0100
> > @@ -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;
> 
> ok

Applied.
 
[...]

Regards.
-- 
FFmpeg = Faithless and Fundamentalist Multipurpose Prodigious Egregious Gadget




More information about the ffmpeg-devel mailing list