Optimization of AMR NB and WB decoders for MIPS
authorNedeljko Babic <nbabic@mips.com>
Mon, 4 Jun 2012 16:02:56 +0000 (18:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Jun 2012 19:12:39 +0000 (21:12 +0200)
commit3827a86eacd04d9d7b356f769be553f7b8cca361
tree5666cb5c2bb96e22bd58a7043fb50a44f8cac677
parent751dcd92435d8f38fd3f2035d515b10049483c49
Optimization of AMR NB and WB decoders for MIPS

AMR NB and WB decoders are optimized for MIPS architecture.
Appropriate Makefiles are changed accordingly.

Cnfigure script is changed in order to support optimizations.
 Optimizations are enabled by default when compiling is done for
  mips architecture.
 Appropriate cflags are automatically set.
 Support for several mips CPUs is added in configure script.

New ffmpeg options are added for disabling optimizations.

The FFMPEG option --disable-mipsfpu disables MIPS floating point
 optimizations.
The FFMPEG option --disable-mips32r2 disables MIPS32R2
 optimizations.
The FFMPEG option --disable-mipsdspr1 disables MIPS DSP ASE R1
 optimizations.
The FFMPEG option --disable-mipsdspr2 disables MIPS DSP ASE R2
 optimizations.

Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
24 files changed:
Makefile
arch.mak
configure
libavcodec/acelp_filters.c
libavcodec/acelp_filters.h
libavcodec/acelp_vectors.c
libavcodec/acelp_vectors.h
libavcodec/amrnbdec.c
libavcodec/amrwbdec.c
libavcodec/celp_filters.c
libavcodec/celp_filters.h
libavcodec/celp_math.c
libavcodec/celp_math.h
libavcodec/lsp.c
libavcodec/mips/Makefile
libavcodec/mips/acelp_filters_mips.c [new file with mode: 0644]
libavcodec/mips/acelp_vectors_mips.c [new file with mode: 0644]
libavcodec/mips/amrwbdec_mips.c [new file with mode: 0644]
libavcodec/mips/amrwbdec_mips.h [new file with mode: 0644]
libavcodec/mips/celp_filters_mips.c [new file with mode: 0644]
libavcodec/mips/celp_math_mips.c [new file with mode: 0644]
libavcodec/mips/lsp_mips.h [new file with mode: 0644]
libavutil/libm.h
libavutil/mips/libm_mips.h [new file with mode: 0644]