[FFmpeg-devel] [PATCH] swr: MMX2 & SSSE3 int16 resample core

Michael Niedermayer michaelni at gmx.at
Tue Jun 19 21:55:10 CEST 2012


On Tue, Jun 19, 2012 at 06:44:23PM +0000, Paul B Mahol wrote:
> On 6/19/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Tue, Jun 19, 2012 at 04:24:27PM +0000, Paul B Mahol wrote:
> >> On 6/19/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> > about 4 times faster
> >> >
> >> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> >> > ---
> >> >  libswresample/resample.c          |   62
> >> > ++++++++++++++++++++++++++++++---
> >> >  libswresample/resample_template.c |    4 +++
> >> >  libswresample/x86/resample_mmx.h  |   69
> >> > +++++++++++++++++++++++++++++++++++++
> >> >  3 files changed, 131 insertions(+), 4 deletions(-)
> >> >  create mode 100644 libswresample/x86/resample_mmx.h
> >> >
> >>
> >> Can this be moved into separate .asm file?
> >
> > as it is, no, its mostly C code with the core being asm.
> > one would have to rewrite the whole loop in asm, its doable and a
> > good idea to be done but IMHO this patch should not be held up due
> > to that not being done yet
> 
> Than add FIXME/TODO/XXX.

yes, added a note to the source

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

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120619/c58c008b/attachment.asc>


More information about the ffmpeg-devel mailing list