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

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


On date Wednesday 2009-02-11 01:01:35 +0100, Stefano Sabatini encoded:
> On date Tuesday 2009-02-10 02:06:40 +0100, Michael Niedermayer encoded:
> > On Tue, Feb 10, 2009 at 01:19:03AM +0100, Stefano Sabatini wrote:
[...]
> > > Index: ffmpeg/libswscale/swscale.h
> > > ===================================================================
> > > --- ffmpeg.orig/libswscale/swscale.h	2009-02-10 01:11:45.000000000 +0100
> > > +++ ffmpeg/libswscale/swscale.h	2009-02-10 01:12:45.000000000 +0100
> > > @@ -136,6 +136,11 @@
> > >   * with the same value \p c.
> > >   */
> > >  SwsVector *sws_getConstVec(double c, int length);
> > > +
> > > +/**
> > > + * Allocates and returns a vector with just one coefficient set to
> > > + * 1.0.
> > > + */
> > >  SwsVector *sws_getIdentityVec(void);
> > >  void sws_scaleVec(SwsVector *a, double scalar);
> > >  void sws_normalizeVec(SwsVector *a, double height);
> > 
> > how many coeffs does this vector have?

I see your point, now it should be more clear.

Also attaching a list of fixes for sws_getCachedContext(), summary:

* remove-getcached-context-line.patch
  Remove misleading/confusing first line.

* sws-fix-getcached-context-typos.patch
  Fix typos.

* sws-fix-getcached-context-add-p.patch
  Add doxygen \p params.

* sws-fix-getcached-context-sw-cosmetics.patch
  Whitespaces cosmetics.

Regards.
-- 
FFmpeg = Faboulous and Foolish Minimalistic Proud Easy Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-getcached-context-line.patch
Type: text/x-diff
Size: 1266 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090211/8566a2a5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-fix-getcached-context-typos.patch
Type: text/x-diff
Size: 726 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090211/8566a2a5/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-fix-getcached-context-add-p.patch
Type: text/x-diff
Size: 1030 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090211/8566a2a5/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-fix-getcached-context-sw-cosmetics.patch
Type: text/x-diff
Size: 1055 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090211/8566a2a5/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws-document-getidentityvec.patch
Type: text/x-diff
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090211/8566a2a5/attachment-0004.patch>



More information about the ffmpeg-devel mailing list