James Almer
|
28d5a3a74a
|
lavu: rename and move ff_parity to av_parity
av_popcount is not defined in intmath.h.
Reviewed-by: ubitux
Signed-off-by: James Almer <jamrial@gmail.com>
|
9 years ago |
Clément Bœsch
|
a1136ca973
|
lavc/g729dec: use ff_parity()
|
9 years ago |
James Almer
|
ba625dd8a1
|
avcodec: use av_mod_uintp2() where useful
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
|
10 years ago |
Paul B Mahol
|
daf73d5d17
|
avcodec/g729dec: support decoding packets with multiple frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
10 years ago |
Clément Bœsch
|
b46f19100b
|
cosmetics: group remaining .name and .long_name.
See b2bed9325 .
|
11 years ago |
Michael Niedermayer
|
8251c05320
|
g729dec: switch to buffer refs style
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Clément Bœsch
|
1ec94b0f06
|
lavc: factorize ff_{thread_,re,}get_buffer error messages.
Coccinelle profile used:
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_get_buffer(ctx, f, flags)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str;
@@
-if ((r = ff_reget_buffer(ctx, f)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_reget_buffer(ctx, f)) < 0)
+ return r;
@@
expression r, ctx, f, loglevel, str, flags;
@@
-if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
- av_log(ctx, loglevel, str);
- return r;
-}
+if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
+ return r;
...along with some manual patches for the remaining ones.
|
12 years ago |
Michael Niedermayer
|
a974adc3c7
|
g729dec: check pitch_delay_int.
Fix out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Peter Ross
|
bdba96e93c
|
use correct doxygen parameter direction syntax
Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Peter Ross
|
9ccc349f77
|
ensure comment blocks that contain doxygen commands start with double asterix
Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Lou Logan
|
6851130fd6
|
cosmetics: minor libavcodec spelling errors
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
8ce0c7d264
|
g729dec: align codec declarations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
13 years ago |
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>
|
13 years ago |
Michael Niedermayer
|
9ff43569d2
|
g729dec: fix scalarproduct_int16 after API change
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
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>
|
13 years ago |
Michael Niedermayer
|
22b125f912
|
g729dec: fix 'warning: assignment from incompatible pointer type'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
934abf6ff8
|
g729dec: fix use of deprecated functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
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.
|
13 years ago |
Michael Niedermayer
|
7db5ff7996
|
g729dec: update to the new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Vitor Sessak
|
edf1a8e361
|
g729dec: initialize bit reader with the correct buffer size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
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>
|
13 years ago |
Mohamed Naufal Basheer
|
bcc67dffa0
|
Add a shift parameter to celp_lp_synthesis_filter for reuse by the G.723.1 decoder
|
13 years ago |
Vitor Sessak
|
02aabd820f
|
g729dec: avoid unnecessary struct copying
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Vitor Sessak
|
22dd24fc7d
|
g729dec: remove useless headers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Vitor Sessak
|
1c4712db81
|
g729dec: Add ff_ prefix to g729_postfilter() and g729_adaptive_gain_control()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
43e05685f2
|
g729dec: disable all cpu acceleration, the code does not provide any alignment.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
91c5f81b74
|
g729dec: set sample format.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Vladimir Voroshilov
|
5d5b3e527a
|
Disable MMX
|
13 years ago |
Vladimir Voroshilov
|
8db3b85616
|
Fix comments about implemented codecs
|
13 years ago |
Vladimir Voroshilov
|
682337672c
|
Adaptive gain control
|
13 years ago |
Vladimir Voroshilov
|
aca516cd67
|
G.729 postfilter
|
13 years ago |
Vladimir Voroshilov
|
16bbb8dfea
|
Replace pitch_delay_int with array
|
13 years ago |
Michael Niedermayer
|
ce7c954800
|
g729dec: Make 2 functions static that are not used outside g729dec.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Vladimir Voroshilov
|
c458bff934
|
High-pass filter
|
13 years ago |
Vladimir Voroshilov
|
e610c5f383
|
Add G.729D decoder
|
13 years ago |
Vladimir Voroshilov
|
b7c7fc3359
|
Synthesis filter
|
13 years ago |
Vladimir Voroshilov
|
4920a1a913
|
Indentation fix after gain codes decoding2
|
13 years ago |
Vladimir Voroshilov
|
0b42463aec
|
Gain pitch and gain code for G729D
|
13 years ago |
Vladimir Voroshilov
|
12081d0599
|
Indentation fix 2
|
13 years ago |
Vladimir Voroshilov
|
f7980a7bed
|
Convert gain pitch and gain code to arrays
|
13 years ago |
Vladimir Voroshilov
|
f830d1b7da
|
Interolate excitation signal
|
13 years ago |
Vladimir Voroshilov
|
0a3337883f
|
Fixed- and adaptive-codebook gains
|
13 years ago |
Vladimir Voroshilov
|
7fadc0151c
|
Frame erasure support for fixed-codebook vectors
|
13 years ago |
Vladimir Voroshilov
|
9297c7822f
|
Fixed-codebook vector decoding
|
13 years ago |
Vladimir Voroshilov
|
70efd101f1
|
Add packet_type
|
13 years ago |
Vladimir Voroshilov
|
50cad25625
|
Frame erasure support for pitch delay decoding
|
13 years ago |
Vladimir Voroshilov
|
d1a643e749
|
Doxy for LSF erasure case
|
13 years ago |
Vladimir Voroshilov
|
b29e5a6780
|
doxy comments for LSF array
|
13 years ago |
Vladimir Voroshilov
|
cd3e2820d3
|
Indentation fix in LSF
|
13 years ago |
Vladimir Voroshilov
|
388f225561
|
Frame erasure support for LSF decoding
|
13 years ago |