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

Paul B Mahol onemda at gmail.com
Tue Jun 19 20:44:23 CEST 2012


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.


More information about the ffmpeg-devel mailing list