Mans Rullgard
f0c07be649
celp_math: rename ff_log2 to ff_log2_q15
...
This name is more descriptive as the function returns a fixed-point
value with 15 fraction bits.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
12 years ago
Diego Biurrun
5549854335
celp_math: Move ff_cos() to the only place it is used
12 years ago
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>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Michael Niedermayer
78f08c06e6
ff_dot_product(): change return value to int64_t
...
Idea-by: Vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
11512367d3
celp_math: cleanup ff_dot_product()
...
based on code & idea by vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mohamed Naufal Basheer
a82c6238ae
Add dot_product function for use by the G.723.1 decoder
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
275131628d
Remove duplicated dot product code. Use dsputil's
...
scalarproduct instead. Patch by Aurelien Jacobs.
Originally committed as revision 16391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
0bc484ad51
Add ff_dot_productf() to celp_math.{c,h}
...
Part of the QCELP patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15753 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
60c25a4beb
Rename acelp_math.[ch] to celp_math.[ch] to prepare for QCELP decoder merge.
...
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15679 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Michael Niedermayer
ec5bd476ac
Doxygen syntax consistency.
...
Originally committed as revision 14899 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4f0689b528
We do not only calculate it but we also return it.
...
Originally committed as revision 14058 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2de74f5a4d
More correct comment.
...
Originally committed as revision 14057 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2b150e9a0c
make sum_of_squares() more generic
...
Originally committed as revision 14056 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vladimir Voroshilov
ce9eac7913
Implement bidirectional (positive offset - left, negative - right)
...
signed shift for ACELP-based codecs.
Originally committed as revision 13117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
20c9c8eec8
cosmetics: Consistently use C-style comments in #endif preprocessor directives.
...
Originally committed as revision 13047 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Robert Swain
80b1e6cc1f
Grammar fixes and improvements for the new ACELP code
...
Originally committed as revision 13000 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vladimir Voroshilov
1cf3ee2d1c
Fixed-point implementation of ff_cos, ff_log2, ff_exp2.
...
Also implemented routine for calculating sum(a[i] * a[i-offset]>>shift)
Originally committed as revision 12974 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago