Alex Converse
6308765cb5
Ignore subsequent channel configurations after the first in an AAC file. The
...
current code doesn't handle them properly, and they are a dubious construction
at best.
Originally committed as revision 19399 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ce863d7f36
Rename ff_log_missing_feature() to av_log_missing_feature().
...
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
d4eeef0c19
Cosmetics: Re-indent after last commit
...
Originally committed as revision 19175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
85e9296f41
Move TNS and swb_offset tables from aacdectab.h to aactab.c so that they can be
...
shared with the AAC encoder.
Originally committed as revision 19174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
401a995085
In the event of a mismatch, do not follow the sample rate index in an AAC PCE.
...
This matches the behavior the reference decoder and fixes issue 1072.
Originally committed as revision 18957 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Siarhei Siamashka
7d485f165f
Support for getting (i)MDCT output multiplied by a constant scaling factor.
...
Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.
Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
90350d73f8
Allow parsing and decoding of ADTS AAC files with channel config = 0
...
Originally committed as revision 18815 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
7bbd2fb126
Remove redundant assignment. err is assigned in every switch case anyway. Issue
...
found by CSA.
Originally committed as revision 18641 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
5967e1413e
Remove unnecessary assignment, found by CSA.
...
Originally committed as revision 18617 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
04964ee8bb
AAC: Ignore cc_domain for independent (time domain) coupling.
...
Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
4a39ccb403
AAC: IEEE-754 type punning for 16-bit floating point rounding.
...
Originally committed as revision 18015 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
7d87e2ceac
Re-indent after last commit.
...
Originally committed as revision 17861 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
51741a82c3
If we get an error from ff_aac_parse_header() we should not trust the header info that it provides.
...
Originally committed as revision 17860 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
bb5c0988ea
Fix the channel allocation bug/assumption (issue 800).
...
Approved by Rob on IRC.
Originally committed as revision 17856 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
cfd937b081
AAC: hoist dependent gain lookup out of the loop
...
Originally committed as revision 17835 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
9ef88afac3
AAC: Make the CPE function more consistent with the functions for other channel elements.
...
Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
e8d5c07bcc
Re-indent after last commit.
...
Originally committed as revision 17600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
21e8c46cde
Refactor AAC unsigned band type decoding for a modest speedup.
...
Originally committed as revision 17599 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
039821a838
Use const to better allow the compiler to optimize AAC independent coupling.
...
Originally committed as revision 17598 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
03b127477f
Re-indent after last commit.
...
Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
f1ade11e33
Make set coup.gain[c][0] aand only coup.gain[c][0] is set for a independently switched CCE.
...
Discussed/OKed at http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-February/062219.html
Originally committed as revision 17210 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
5f401ee03c
AAC: Cosmetic alterations after the last commit
...
Originally committed as revision 17182 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
b2d9d4a531
Give an error message when returning due to an unallocated channel element
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 17181 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
30272450f9
Add support for sample rate index 12, 7350 Hz
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 17180 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
ff587009ae
Remove bogus coupling_point assignment for non-CCE as this value is not checked
...
in this case
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 17179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
f418b86151
Check sampling index validity for AAC decoding
...
Patch by Jai Menon ( jmenon86 gmail com )
Originally committed as revision 17131 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
158b39126d
Support ADTS AAC files in the ffaac decoder (limited to streams containing one
...
raw_data_block() per ADTS frame)
Patch by Alex Converse ( alex converse gmail com) based on a patch by Robert
Swain ( robert swain gmail com )
Originally committed as revision 16485 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
6735e2c810
Revert r16375: It broke aac decoding.
...
Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
69b38d4dc3
Reduce number of warnings when compiling with icc by two.
...
Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
897c1703d0
AAC: Reindent after last commit
...
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
aab5413323
AAC: Fix AAC prediction when used in conjunction with the CPE
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
99665a21f4
AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
...
member
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
8153f14444
AAC: move scratch array to context to ensure 16-byte alignment
...
Originally committed as revision 16043 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
4a904903dc
AAC: Use a sign LUT rather than 1-2*get_bits1()
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16041 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
c0893c3abb
AAC: Unroll code within decode_spectrum_and_dequant(). Gives 12% net speed gain.
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16040 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
8821210575
AAC: Remove unnecessary fabsf()
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
dbbec0c2f2
Make av_log_missing_feature an internal function, and change its name
...
to ff_log_missing_feature.
Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
8f5aaa6d2f
AAC: Cosmetics after last commit
...
Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
7633a0415d
AAC: Frequency domain prediction and hence Main profile support
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 15919 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
d0ee50216d
Fix perceptual noise shaping scaling including an oversight of the offset for
...
the EIGHT_SHORT window type. Fixes issue 664.
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15776 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
fbdae895f2
Rename variables to clarify the channel coupling element and corresponding
...
target channel element.
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15575 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
88de95c2f9
Corrections to channel coupling code to attain conformance for appropriate
...
streams.
Slightly reworked from a patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15573 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
341b28c0d2
Zero 'idx' for each iteration of the coupling gain loop and as it is only used
...
within this loop, we can move its declaration there too. This fixes bitstream
desync when decoding streams containing CCEs.
Based on a patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
f80a8ca5cb
Cosmetics: missing brackets
...
Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
c8947a5612
Cast the return value of get_bits() to signed integer such that the subtraction
...
is conducted as a signed calculation.
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15362 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago