1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Nedeljko Babic
3827a86eac 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>
2012-06-11 21:12:39 +02:00
Vladimir Voroshilov
f0506a8993 Two extra samples are required before top of the in buffer rather than out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-01 13:08:41 +01:00
Diego Biurrun
0c733da8e2 Fix Doxygen @param command attribute syntax.
The [in] and [out] attributes have to be appended to the @param command.

Originally committed as revision 24283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:43:42 +00:00
Ronald S. Bultje
8955a9d79c Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:45:24 +00:00
Vitor Sessak
504eee37de Commit some functions that are used by both SIPR and AMR.
Based on AMR SoC code by Robert Swain and Colin McQuillan.

Originally committed as revision 20392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 23:53:18 +00:00
Colin McQuillan
bb937155ec Add a function that can apply an order 2 rational transfer function in-place.
This function will be used in the upcoming AMR-NB floating point decoder for
high-pass filtering.

Patch by Colin McQuillan ( m.niloc googlemail com )

Originally committed as revision 19649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 11:22:55 +00:00
Diego Biurrun
51222d1041 cosmetics: K&R style reformatting
Originally committed as revision 19088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-04 10:37:29 +00:00
Kenan Gillet
4599d22c0c Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:29:23 +00:00
Stefano Sabatini
987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Michael Niedermayer
8c5da74bc1 Mention cut-off freq of ff_acelp_high_pass_filter() instead of some
meaningless input dependent value.

Originally committed as revision 14898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:39:52 +00:00
Michael Niedermayer
cd523888f3 Remove ff_acelp_weighted_filter() which is just a function wrapping a 1
line loop.

Originally committed as revision 14895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:22:11 +00:00
Michael Niedermayer
5038ecb1f1 Rename subframe_size to a name that is not specific to some specific use
of ff_acelp_convolve_circ()

Originally committed as revision 14894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:41:20 +00:00
Michael Niedermayer
badcd8d719 Try to improve parameter doxy of ff_acelp_interpolate().
Originally committed as revision 14892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:34:13 +00:00
Michael Niedermayer
03a4da6f69 Clarify how generic ff_acelp_interpolate() is.
Originally committed as revision 14891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:05:14 +00:00
Michael Niedermayer
ba5a14fc5d Correct incorrect length parameter doxy for ff_acelp_interpolate().
Originally committed as revision 14890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:02:04 +00:00
Michael Niedermayer
ef119cc837 Right half is clearer than positive half for specifying which part of
the filter coeffs is used.

Originally committed as revision 14889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:59:42 +00:00
Michael Niedermayer
7dd3e95a04 Mention the fixed-point scale of the FIR filter coefficients.
Originally committed as revision 14888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:56:48 +00:00
Michael Niedermayer
ba05497de5 Cleanup comment for ff_acelp_interp_filter.
Originally committed as revision 14887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:52:56 +00:00
Michael Niedermayer
2398930fe0 Make doxygen comments consistent with the rest of FFmpeg.
Originally committed as revision 14886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 21:37:53 +00:00
Robert Swain
f1b2f1bf50 Typo and grammar fix
Originally committed as revision 14177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 10:56:12 +00:00
Vitor Sessak
fe4a5b185f Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one
Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 21:37:03 +00:00
Vitor Sessak
8a1c868ee6 Add a rounding parameter to ff_acelp_lp_synthesis_filter()
Originally committed as revision 14028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 11:19:50 +00:00
Vladimir Voroshilov
d347a046e2 Move pitch vector interpolation code to acelp_filters
and convert it to a generic interpolation routine.

Originally committed as revision 13284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 17:18:42 +00:00
Diego Biurrun
26c5202173 cosmetics: Use C-style comment delimiters with #endif directives.
Originally committed as revision 13174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:03:55 +00:00
Måns Rullgård
40a655e306 acelp_filters.h needs stdint.h
Originally committed as revision 13150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 18:10:15 +00:00
Vladimir Voroshilov
542c064d1b Update comment to version, negotiated with Diego, and
fix missing period (not latest revision of patch
was wrongly committed).

Originally committed as revision 13113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 10:07:11 +00:00
Vladimir Voroshilov
a52000f291 various filters for ACELP-based codecs
Originally committed as revision 13110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:42:53 +00:00