[FFmpeg-devel] [PATCH] lavfi: port MP swapuv filter

Stefano Sabatini stefasab at gmail.com
Sat Mar 10 00:13:42 CET 2012


On date Friday 2012-03-09 18:03:43 +0100, Michael Niedermayer encoded:
> On Fri, Mar 09, 2012 at 05:02:51PM +0100, Stefano Sabatini wrote:
> > On date Thursday 2012-03-08 17:11:51 +0100, Michael Niedermayer encoded:
[...]
> > > > +#include "avfilter.h"
> > > > +
> > > > +static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms,
> > > > +                                           int w, int h)
> > > > +{
> > > > +    AVFilterBufferRef *picref =
> > > > +        avfilter_default_get_video_buffer(link, perms, w, h);
> > > > +    uint8_t *tmp;
> > > > +    int tmp2;
> > > > +
> > > > +    picref->data[0] = picref->data[0];
> > > > +    tmp = picref->data[2]; picref->data[2] = picref->data[1]; picref->data[1] = tmp;
> > > 
> > > > +    picref->data[3] = picref->data[3];
> > > > +
> > > > +    picref->linesize[0] = picref->linesize[0];
> > > 
> > > these 2 and a few others look unneeded
> > 
> > Allright.
> > Note also that I'm relicensing it to LGPL if you're fine with it.
> 
> teh codes quite trivial so sure, as far as its code copyrighted by me
> ive not checked if iam the only copyright holder ...
> 
> 
> > 
> > BTW, is OK to nuke the swapuv filter from libavfilter/libmpcodecs?
> 
> ok
> 
> and the patch should be ok if tested
> 
> [...]

Applied and swapuv wrapper removed.
-- 
FFmpeg = Fanciful Fiendish Murdering Powered Efficient Genius


More information about the ffmpeg-devel mailing list