[FFmpeg-devel] [PATCH] SSE2 version of vf_idet's filter_line()

Michael Niedermayer michaelni at gmx.at
Wed Sep 3 02:10:09 CEST 2014


On Tue, Sep 02, 2014 at 03:49:14PM -0700, Pascal Massimino wrote:
> Michael,
> 
> 
> On Tue, Sep 2, 2014 at 9:39 AM, Michael Niedermayer <michaelni at gmx.at>
> wrote:
> 
> > On Tue, Sep 02, 2014 at 05:13:08PM +0200, Pascal Massimino wrote:
> > > Hi,
> > >
> > > Much faster.
> > > An example (time ffmpeg -i ... -vf idet -f null /dev/null)
> > > Raw C:     user 25.007s
> > > MMX:        user 16.818s
> > > MMXEXT: user 16.191s
> > > SSE2:       user 15.481s
> > > no idet filter:  user 15.025s
> > >
> > > YMMV.
> > > skal
> >
> > >  vf_idet.c          |   34 +--------
> > >  vf_idet.h          |   55 +++++++++++++++
> > >  x86/Makefile       |    2
> > >  x86/vf_idet.asm    |  193
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++
> > >  x86/vf_idet_init.c |   53 ++++++++++++++
> > >  5 files changed, 307 insertions(+), 30 deletions(-)
> > > 0caf7533ffffd437c2f14cb0b42fd701f467a2cd  idet_sse2.patch
> > > commit de5064a0126a0a5bed9d8f151fa79b07614729fe
> > > Author: skal <pascal.massimino at gmail.com>
> > > Date:   Tue Sep 2 16:55:29 2014 +0200
> >
> > "git am" didnt like this, it needs git format-patch or
> > send-email output.
> >
> >
> > also fails to build on x86-32 after applying it with patch -p1
> >
> 
> silly question: how do you compile for x86-32?
> I tried './configure --arch=x86_32' but it didn't trigger this compile
> error...

iam using:
--arch=x86_32 --target-os=linux --extra-cflags=-m32 --extra-ldflags=-m32  --enable-cross-compile


>
> thx!
> skal
>
> [ahem: ffmpeg doesn't feel like using intrinsics, by chance?]

intrinsics are not very popular due to various issues,
gcc messing up, unpredictabilty of generated code and non gcc
compatibilty come to mind but maybe there are others too

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140903/481f1478/attachment.asc>


More information about the ffmpeg-devel mailing list