Ronald S. Bultje
d56668bd80
floatdsp: move scalarproduct_float from dsputil to avfloatdsp.
...
This makes the aac decoder and all voice codecs independent of dsputil.
12 years ago
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
3d868fe542
build: Restore dependency of acelp_filters.o on celp_math.o
12 years ago
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Christophe GISQUET
7e1ce6a6ac
dsputil: remove shift parameter from scalarproduct_int16
...
There is only one caller, which does not need the shifting. Other use cases
are situations where different roundings would be needed.
The x86 and neon versions are modified accordingly.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Diego Biurrun
a005174b25
Remove unused code under G729_BITEXACT #ifdef.
...
G729_BITEXACT is never set, so the code is all dead code.
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 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
e4a35244fa
Replace log2f(10) with a constant
...
Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
b2bf3cfe32
Implement ff_decode_pitch_lag() that is used by both AMR and SIPR.
...
Based on code written by Colin McQuillan during his SoC project.
Originally committed as revision 20540 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
083c5a48ec
Implement AMR gain function that is used by both AMR and SIPR.
...
Based on AMR SoC code by Robert Swain and Colin McQuillan.
Originally committed as revision 20421 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
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
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
e500315b1d
gain code, gain pitch and pitch delay decoding for ACELP based codecs
...
Originally committed as revision 14037 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago