[FFmpeg-devel] [PATCH] swscale cleanup

Pedro Arthur bygrandao at gmail.com
Mon Mar 28 21:21:48 CEST 2016


It was a little typo, attached patch fixed.

2016-03-28 16:09 GMT-03:00 Michael Niedermayer <michael at niedermayer.cc>:

> On Mon, Mar 28, 2016 at 01:56:08PM -0300, Pedro Arthur wrote:
> > Hi,
> >
> > This patch removes the previous swscale code which where under the
> '#ifndef
> > NEW_FILTER'.
> > It also remove a few unused fields of SwsContext.
> > Seems it doesn't introduce any regression (passes all FATE tests) but it
> > would be better if someone could test it more.
>
> >  input.c                |    2
> >  output.c               |   40 ++---
> >  ppc/swscale_altivec.c  |    4
> >  slice.c                |    4
> >  swscale.c              |  336
> +++----------------------------------------------
> >  swscale_internal.h     |   10 -
> >  utils.c                |   78 -----------
> >  vscale.c               |    4
> >  x86/swscale.c          |   38 +----
> >  x86/swscale_template.c |   12 -
> >  10 files changed, 65 insertions(+), 463 deletions(-)
> > fbdf78f3edb890f485d5bcfc2b3edf55465db1f5  sws_cleanup.patch
> > From d52cb0e25332a0327acdac89256beac4701f675a Mon Sep 17 00:00:00 2001
> > From: Pedro Arthur <bygrandao at gmail.com>
> > Date: Mon, 28 Mar 2016 13:25:18 -0300
> > Subject: [PATCH] swscale: cleanup unused code
> >
> > Removed previous swscale code under '#ifndef NEW_FILTER'
> > and removed unused fields of SwsContext
>
> fails to build on x86-32 here
>
> libswscale/x86/swscale.c: In function ‘ff_sws_init_swscale_x86’:
> libswscale/x86/swscale.c:460:18: error: ‘SwsContext’ has no member named
> ‘needApha’
>
> [...]
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> The worst form of inequality is to try to make unequal things equal.
> -- Aristotle
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws_cleanup.patch
Type: text/x-patch
Size: 45032 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160328/dc4be2d9/attachment.bin>


More information about the ffmpeg-devel mailing list