Ronald S. Bultje
d56668bd80
floatdsp: move scalarproduct_float from dsputil to avfloatdsp.
...
This makes the aac decoder and all voice codecs independent of dsputil.
2013-01-22 11:55:42 -08:00
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>
2012-10-20 12:28:45 +01:00
Diego Biurrun
3d868fe542
build: Restore dependency of acelp_filters.o on celp_math.o
2012-08-27 21:05:52 +02:00
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
2012-08-27 20:37:49 +02:00
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-15 22:32:06 +03:00
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>
2012-03-07 10:29:52 -08:00
Diego Biurrun
a005174b25
Remove unused code under G729_BITEXACT #ifdef.
...
G729_BITEXACT is never set, so the code is all dead code.
2011-07-20 20:47:07 +02:00
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 21:42:06 +01:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Måns Rullgård
e4a35244fa
Replace log2f(10) with a constant
...
Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 20:13:48 +00:00
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
2009-11-15 10:41:46 +00:00
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
2009-10-31 02:02:30 +00:00
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
2008-12-29 17:14:30 +00:00
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
2008-10-24 21:20:29 +00:00
Michael Niedermayer
2b150e9a0c
make sum_of_squares() more generic
...
Originally committed as revision 14056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:50:44 +00:00
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
2008-06-30 18:03:38 +00:00