Michael Niedermayer
c963189bc2
g729dec: initialize pitch_delay_int_prev to the minimum valid value.
...
This prevents an out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-16 18:36:34 +02:00
Michael Niedermayer
9ff43569d2
g729dec: fix scalarproduct_int16 after API change
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-13 21:20:07 +01:00
Lou Logan
2d38081b4f
cosmetics: fix some typos
...
Patch attached.
From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001
From: Lou Logan <lou@lrcd.com>
Date: Mon, 12 Mar 2012 14:13:44 -0800
Subject: [PATCH] cosmetics: fix some typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-13 01:14:04 +01:00
Michael Niedermayer
22b125f912
g729dec: fix 'warning: assignment from incompatible pointer type'
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-16 23:25:51 +01:00
Michael Niedermayer
934abf6ff8
g729dec: fix use of deprecated functions.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-16 23:02:07 +01:00
Paul B Mahol
ba10207bbe
Use more designated initializers.
...
Also remove some pointless NULL/0 assigments.
C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
2011-12-30 20:00:53 +01:00
Michael Niedermayer
7db5ff7996
g729dec: update to the new API
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-03 03:00:44 +01:00
Vitor Sessak
edf1a8e361
g729dec: initialize bit reader with the correct buffer size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-10-01 18:18:06 +02:00
Michael Niedermayer
c329972687
g729: dont force all cpu optims to off but override just the one that doesnt work.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-30 03:02:02 +02:00
Mohamed Naufal Basheer
bcc67dffa0
Add a shift parameter to celp_lp_synthesis_filter for reuse by the G.723.1 decoder
2011-09-29 21:43:52 +02:00
Vitor Sessak
02aabd820f
g729dec: avoid unnecessary struct copying
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-25 23:01:43 +02:00
Vitor Sessak
22dd24fc7d
g729dec: remove useless headers
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-25 23:01:43 +02:00
Vitor Sessak
1c4712db81
g729dec: Add ff_ prefix to g729_postfilter() and g729_adaptive_gain_control()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-25 21:13:19 +02:00
Michael Niedermayer
43e05685f2
g729dec: disable all cpu acceleration, the code does not provide any alignment.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-24 21:11:01 +02:00
Michael Niedermayer
91c5f81b74
g729dec: set sample format.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-24 21:11:01 +02:00
Vladimir Voroshilov
5d5b3e527a
Disable MMX
2011-09-24 21:11:01 +02:00
Vladimir Voroshilov
8db3b85616
Fix comments about implemented codecs
2011-09-24 21:11:01 +02:00
Vladimir Voroshilov
682337672c
Adaptive gain control
2011-09-24 21:11:01 +02:00
Vladimir Voroshilov
aca516cd67
G.729 postfilter
2011-09-24 21:11:01 +02:00
Vladimir Voroshilov
16bbb8dfea
Replace pitch_delay_int with array
2011-09-24 21:11:01 +02:00
Michael Niedermayer
ce7c954800
g729dec: Make 2 functions static that are not used outside g729dec.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
c458bff934
High-pass filter
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
e610c5f383
Add G.729D decoder
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
b7c7fc3359
Synthesis filter
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
4920a1a913
Indentation fix after gain codes decoding2
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
0b42463aec
Gain pitch and gain code for G729D
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
12081d0599
Indentation fix 2
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
f7980a7bed
Convert gain pitch and gain code to arrays
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
f830d1b7da
Interolate excitation signal
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
0a3337883f
Fixed- and adaptive-codebook gains
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
7fadc0151c
Frame erasure support for fixed-codebook vectors
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
9297c7822f
Fixed-codebook vector decoding
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
70efd101f1
Add packet_type
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
50cad25625
Frame erasure support for pitch delay decoding
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
d1a643e749
Doxy for LSF erasure case
2011-09-24 21:11:00 +02:00
Vladimir Voroshilov
b29e5a6780
doxy comments for LSF array
2011-09-24 21:10:59 +02:00
Vladimir Voroshilov
cd3e2820d3
Indentation fix in LSF
2011-09-24 21:10:59 +02:00
Vladimir Voroshilov
388f225561
Frame erasure support for LSF decoding
2011-09-24 21:10:59 +02:00
Michael Niedermayer
a5e0c4ddb5
Revert "g729: Merge g729.h into g729dec.c."
...
This reverts commit a2077b85da
.
2011-09-24 21:10:27 +02:00
Michael Niedermayer
0b61af7382
Restore WIP g729 code that has been remvoed by diego biurrun.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-24 19:39:18 +02:00
Diego Biurrun
79a9aab56f
Remove unused and non-compiling vestigial g729 decoder
2011-07-20 20:47:07 +02:00
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-24 00:37:49 +02:00
Diego Biurrun
a2077b85da
g729: Merge g729.h into g729dec.c.
...
The header contains just a single define that is only used in g729dec.c.
2011-05-19 10:21:37 +02: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
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26 16:08:45 +00:00
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 23:30:55 +00:00
Stefano Sabatini
e4445e9c78
Make g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
...
AVERROR_NOFMT in case of invalid / unknown packet size.
Originally committed as revision 22624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:34:01 +00:00
Stefano Sabatini
fd7cbc7f9c
Make g729dec.c:decoder_init() return AVERROR(EINVAL) rather than
...
AVERROR(NOFMT) if one channel if the number of channels specified
is different than 1.
Originally committed as revision 22591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 00:23:02 +00:00
Vladimir Voroshilov
d266709055
Pitch delay decoding
...
Originally committed as revision 19281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-26 17:43:05 +00:00
Vladimir Voroshilov
2b0691349f
Replace pitch_delay_int array with single variable.
...
Originally committed as revision 19280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-26 17:42:25 +00:00