[FFmpeg-devel] [PATCH] Optimization of MP3 decoders for MIPS

Babic, Nedeljko nbabic at mips.com
Tue Jul 3 12:32:59 CEST 2012


If the question is: why we are using inline assembler, the answer would be: 
it is easier to maintain code (and we are not loosing on performance here 
by using inline assembler).

-Nedeljko
________________________________________
From: ffmpeg-devel-bounces at ffmpeg.org [ffmpeg-devel-bounces at ffmpeg.org] on behalf of Paul B Mahol [onemda at gmail.com]
Sent: Tuesday, July 03, 2012 1:08
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] [PATCH] Optimization of MP3 decoders for MIPS

On 7/2/12, Nedeljko Babic <nbabic at mips.com> wrote:
> MP3 fixed and floating point decoders are optimized
>  for MIPS architecture.
>
> Signed-off-by: Nedeljko Babic <nbabic at mips.com>
> ---
>  libavcodec/mips/Makefile                  |    2 +
>  libavcodec/mips/compute_antialias_fixed.h |  247 ++++++
>  libavcodec/mips/compute_antialias_float.h |  183 +++++
>  libavcodec/mips/mpegaudiodsp_mips_fixed.c |  904 +++++++++++++++++++++
>  libavcodec/mips/mpegaudiodsp_mips_float.c | 1243
> +++++++++++++++++++++++++++++
>  libavcodec/mpegaudiodec.c                 |   12 +
>  libavcodec/mpegaudiodsp.c                 |    2 +
>  libavcodec/mpegaudiodsp.h                 |    2 +
>  8 files changed, 2595 insertions(+), 0 deletions(-)
>  create mode 100644 libavcodec/mips/compute_antialias_fixed.h
>  create mode 100644 libavcodec/mips/compute_antialias_float.h
>  create mode 100644 libavcodec/mips/mpegaudiodsp_mips_fixed.c
>  create mode 100644 libavcodec/mips/mpegaudiodsp_mips_float.c
>

Why inline?
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list