Michael Niedermayer
d42a61922b
avcodec/psymodel: use av_malloc(z)_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
f4aa8085f2
Avoid a null pointer dereference on oom in the aac encoder.
...
Fixes ticket #2732 .
12 years ago
Bojan Zivkovic
7d29c6eebc
mips: Optimization of IIR filter function
...
Signed-off-by: Bojan Zivkovic <bojan@mips.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fee5da6b0a
psymodel: dont apply lowpass filters with a cutoff close to the nyquist
...
The IIR filter numerically diverges in such cases, this could easily be
fixed but would make the filter slower on some platforms
Fixes Ticket2246
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Michael Niedermayer
72dabdfc58
aacenc: new default cutoff
...
Improves subjective quality
Formula and testing by: kamedo2 <fujisakihir90@yahoo.co.jp>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Nathan Caldwell
9b8e2a8709
aacenc: Deinterleave input samples before processing.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
13 years ago
Nathan Caldwell
025ccf1f8b
aacenc: Request normalized float samples instead of converting s16 samples to float.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
13 years ago
Nathan Caldwell
0bc01cc9fe
psymodel: Add channels and channel groups to the psymodel.
14 years ago
Nathan Caldwell
b58e298572
psymodel: Remove wrapper functions.
...
Instead use the function pointers directly.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
99c2111b12
cosmetics: vertical alignment and line wrap
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 75b98610a7
)
14 years ago
Justin Ruggles
20d1f6fec1
Add memory allocation failure checks to ff_iir_filter_init_coeffs().
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d42dc217ed
)
14 years ago
Justin Ruggles
75b98610a7
cosmetics: vertical alignment and line wrap
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
d42dc217ed
Add memory allocation failure checks to ff_iir_filter_init_coeffs().
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
0e107f7890
psymodel: Const correct FFPsyWindowInfo.
...
Originally committed as revision 24999 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
771c86c13d
Fix a leak in the AAC encoder
...
Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
7ca4a72f47
10l: Revert r23867. It didn't make any sense.
...
Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
9a3fe1ae6e
Make ff_psy_preprocess_end() act like av_freep().
...
Originally committed as revision 23867 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
636da41a20
aacenc: Don't lowpass the input unless specifically requested.
...
The heuristic for estimating a good cutoff is busted.
Originally committed as revision 22779 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
2876a9dbaf
Use cutoff frequency to adjust bandwidth in the generic psymodel preprocess.
...
Originally committed as revision 19429 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
c8f47d8b79
cosmetics: Remove unnecessary {} around if/for blocks;
...
move statements after if/for to the next line.
Originally committed as revision 19378 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
99d61d340c
cosmetics: prettyprinting, K&R style, break overly long lines
...
Originally committed as revision 19377 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
fd257dc4c0
Cosmetics: Pretty print the AAC encoder.
...
Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
78e65cd772
Merge the AAC encoder from SoC svn. It is still considered experimental.
...
Originally committed as revision 19375 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago