Statistics
| Branch: | Revision:

ffmpeg / libavcodec / aac.c @ 144fec83

History | View | Annotate | Download (65.7 KB)

# Date Author Comment
144fec83 10/08/2009 02:40 PM David Conrad

dca and aac decoders use float_to_int16_interleave, so check for
the C version of that rather than float_to_int16.
Fixes output on ARM/VFP

Originally committed as revision 20192 to svn://svn.ffmpeg.org/ffmpeg/trunk

754ff9a7 09/28/2009 03:37 PM Robert Swain

Refactor channel element configuration and mapping code into its own function
to allow reuse

Originally committed as revision 20069 to svn://svn.ffmpeg.org/ffmpeg/trunk

2309923c 09/28/2009 03:35 PM Robert Swain

Reindent after last commit

Originally committed as revision 20068 to svn://svn.ffmpeg.org/ffmpeg/trunk

e22da6b6 09/28/2009 03:35 PM Robert Swain

AAC: Add channel layout support for channel configuration as defined in the
specification

Originally committed as revision 20067 to svn://svn.ffmpeg.org/ffmpeg/trunk

b418a6ca 09/23/2009 01:52 PM Måns Rullgård

AAC: minor simplification in PNS decoding

Originally committed as revision 19999 to svn://svn.ffmpeg.org/ffmpeg/trunk

0cb71412 09/22/2009 07:31 PM Måns Rullgård

AAC: 10l: fix PNS decoding

Originally committed as revision 19970 to svn://svn.ffmpeg.org/ffmpeg/trunk

5419da8d 09/22/2009 01:34 AM Alex Converse

AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)

Originally committed as revision 19958 to svn://svn.ffmpeg.org/ffmpeg/trunk

42d3fbb3 09/22/2009 12:48 AM Måns Rullgård

AAC: use new dsputil functions

Originally committed as revision 19956 to svn://svn.ffmpeg.org/ffmpeg/trunk

b5f09d31 09/06/2009 09:15 AM Reimar Döffinger

Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.

Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk

577d383b 08/02/2009 10:50 AM Diego Biurrun

cosmetics: K&R coding style

Originally committed as revision 19562 to svn://svn.ffmpeg.org/ffmpeg/trunk

36f51773 07/10/2009 09:54 PM Alex Converse

Cosmetics: reindent after last commit

Originally committed as revision 19400 to svn://svn.ffmpeg.org/ffmpeg/trunk

6308765c 07/10/2009 09:53 PM Alex Converse

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

ce863d7f 06/29/2009 07:07 PM Ronald S. Bultje

Rename ff_log_missing_feature() to av_log_missing_feature().

Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk

d4eeef0c 06/12/2009 09:16 PM Alex Converse

Cosmetics: Re-indent after last commit

Originally committed as revision 19175 to svn://svn.ffmpeg.org/ffmpeg/trunk

85e9296f 06/12/2009 09:14 PM Alex Converse

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

401a9950 05/26/2009 09:34 PM Alex Converse

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

7d485f16 05/16/2009 02:17 PM Siarhei Siamashka

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....

90350d73 05/13/2009 05:57 PM Alex Converse

Allow parsing and decoding of ADTS AAC files with channel config = 0

Originally committed as revision 18815 to svn://svn.ffmpeg.org/ffmpeg/trunk

7bbd2fb1 04/21/2009 12:29 PM Robert Swain

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

5967e141 04/19/2009 12:55 AM Robert Swain

Remove unnecessary assignment, found by CSA.

Originally committed as revision 18617 to svn://svn.ffmpeg.org/ffmpeg/trunk

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

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....

04964ee8 03/23/2009 05:13 AM Alex Converse

AAC: Ignore cc_domain for independent (time domain) coupling.

Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a39ccb4 03/16/2009 04:11 PM Alex Converse

AAC: IEEE-754 type punning for 16-bit floating point rounding.

Originally committed as revision 18015 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d87e2ce 03/06/2009 10:37 PM Alex Converse

Re-indent after last commit.

Originally committed as revision 17861 to svn://svn.ffmpeg.org/ffmpeg/trunk

51741a82 03/06/2009 10:36 PM Alex Converse

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

bb5c0988 03/06/2009 07:47 PM Alex Converse

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

cfd937b0 03/05/2009 11:10 PM Alex Converse

AAC: hoist dependent gain lookup out of the loop

Originally committed as revision 17835 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ef88afa 03/01/2009 12:23 AM Alex Converse

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

e8d5c07b 02/26/2009 01:54 AM Alex Converse

Re-indent after last commit.

Originally committed as revision 17600 to svn://svn.ffmpeg.org/ffmpeg/trunk

21e8c46c 02/26/2009 01:51 AM Alex Converse

Refactor AAC unsigned band type decoding for a modest speedup.

Originally committed as revision 17599 to svn://svn.ffmpeg.org/ffmpeg/trunk

039821a8 02/26/2009 01:50 AM Alex Converse

Use const to better allow the compiler to optimize AAC independent coupling.

Originally committed as revision 17598 to svn://svn.ffmpeg.org/ffmpeg/trunk

03b12747 02/13/2009 04:07 PM Alex Converse

Re-indent after last commit.

Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk

f1ade11e 02/13/2009 04:06 PM Alex Converse

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

5f401ee0 02/12/2009 01:49 PM Robert Swain

AAC: Cosmetic alterations after the last commit

Originally committed as revision 17182 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2d9d4a5 02/12/2009 01:47 PM Alex Converse

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

30272450 02/12/2009 01:31 PM Alex Converse

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

ff587009 02/12/2009 01:22 PM Alex Converse

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

f418b861 02/10/2009 01:47 PM Jai Menon

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

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

158b3912 01/07/2009 10:09 PM Robert Swain

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

6735e2c8 12/28/2008 08:08 PM Carl Eugen Hoyos

Revert r16375: It broke aac decoding.

Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk

69b38d4d 12/28/2008 07:48 PM Carl Eugen Hoyos

Reduce number of warnings when compiling with icc by two.

Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk

897c1703 12/21/2008 05:32 AM Robert Swain

AAC: Reindent after last commit

Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk

aab54133 12/21/2008 05:28 AM Alex Converse

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

99665a21 12/21/2008 05:08 AM Alex Converse

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

8153f144 12/10/2008 12:50 AM Måns Rullgård

AAC: move scratch array to context to ensure 16-byte alignment

Originally committed as revision 16043 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a904903 12/09/2008 05:14 PM Alex Converse

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

c0893c3a 12/09/2008 05:08 PM Alex Converse

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

88212105 12/09/2008 11:35 AM Alex Converse

AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk

dbbec0c2 12/08/2008 09:21 PM Stefano Sabatini

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

8f5aaa6d 11/24/2008 12:14 AM Robert Swain

AAC: Cosmetics after last commit

Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk

7633a041 11/24/2008 12:13 AM Alex Converse

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

d0ee5021 11/05/2008 01:59 PM Alex Converse

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

37d3e066 10/21/2008 09:40 PM Aurelien Jacobs

uses FF_ARRAY_ELEMS() where appropriate

Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk

fbdae895 10/06/2008 04:22 PM Alex Converse

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

88de95c2 10/06/2008 04:12 PM Alex Converse

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

341b28c0 09/18/2008 04:02 PM Robert Swain

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)...

f80a8ca5 09/18/2008 03:48 PM Robert Swain

Cosmetics: missing brackets

Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk

c8947a56 09/18/2008 03:35 PM Alex Converse

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

aac0eda4 09/16/2008 03:59 PM Alex Converse

Validate pulse position and error out if an invalid position is encountered.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15340 to svn://svn.ffmpeg.org/ffmpeg/trunk

70735a3f 09/13/2008 08:52 PM Robert Swain

Reindent after last commit

Originally committed as revision 15315 to svn://svn.ffmpeg.org/ffmpeg/trunk

51436848 09/13/2008 08:51 PM Alex Converse

Apply pulses to unscaled coefficients rather than scaled.

Slight reworking of a patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15314 to svn://svn.ffmpeg.org/ffmpeg/trunk

408992ba 09/13/2008 08:22 PM Robert Swain

Operands of '+' are not necessarily evaluated in order so r15311 was pointless.
Splitting the assignment onto two lines should resolve the order issue.

Originally committed as revision 15313 to svn://svn.ffmpeg.org/ffmpeg/trunk

19645d74 09/13/2008 06:47 PM Alex Converse

Correct order of parsing for pulse scalefactor band and offset to match the
specification.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15311 to svn://svn.ffmpeg.org/ffmpeg/trunk

35445d29 09/12/2008 02:33 PM Robert Swain

Reindent after last commit

Originally committed as revision 15304 to svn://svn.ffmpeg.org/ffmpeg/trunk

51673647 09/12/2008 02:32 PM Alex Converse

Only read some of TNS bitstream data in the case that the TNS filter order is
non-zero as per the specification.

Patch by Alex Converse (alex converse gmail com)
Fixes another issue pertaining to issue632

Originally committed as revision 15303 to svn://svn.ffmpeg.org/ffmpeg/trunk

febcbd65 09/11/2008 01:22 AM Robert Swain

Correct pulse amplitude application - a negative or 0 coefficient implies the
pulse is subtracted, else it is added. Also avoid a divide by 0.

Based on a patch by Alex Converse (alex converse gmail com)
Fixes part of issue632

Originally committed as revision 15294 to svn://svn.ffmpeg.org/ffmpeg/trunk

1775c7fa 09/04/2008 03:04 PM Vitor Sessak

Multiply table by -1. This avoid doing this calculation (that was introduced
in my last commit) in real time.

Originally committed as revision 15195 to svn://svn.ffmpeg.org/ffmpeg/trunk

1be0fc29 09/04/2008 11:03 AM Vitor Sessak

Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC decoders.

Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk

93b63b1a 08/29/2008 08:19 PM Robert Swain

Fix typo in element type

Originally committed as revision 15037 to svn://svn.ffmpeg.org/ffmpeg/trunk

f4fae46e 08/29/2008 08:18 PM Robert Swain

Remove unnecessary portion of a condition. This fixes issue607 and avoids
another unintended bug where channel coupling could have been run on an SCE.

Originally committed as revision 15036 to svn://svn.ffmpeg.org/ffmpeg/trunk

b0f5852a 08/22/2008 06:21 PM Robert Swain

Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
buffer sizes accordingly. This produces a ~10% overall decoding perfomance
improvement.

Originally committed as revision 14908 to svn://svn.ffmpeg.org/ffmpeg/trunk

db38c386 08/22/2008 06:19 PM Robert Swain

Whitespace cosmetics after the last commit

Originally committed as revision 14907 to svn://svn.ffmpeg.org/ffmpeg/trunk

f4990558 08/22/2008 06:18 PM Robert Swain

Separate code in imdct_and_windowing() into distinct IMDCT, windowing and
buffer update sections

Originally committed as revision 14906 to svn://svn.ffmpeg.org/ffmpeg/trunk

65b20b24 08/21/2008 12:13 PM Robert Swain

Reindent after last commit

Originally committed as revision 14882 to svn://svn.ffmpeg.org/ffmpeg/trunk

fbd91d7c 08/21/2008 12:12 PM Robert Swain

Work around GCC variable may be used uninitialised warning

Originally committed as revision 14881 to svn://svn.ffmpeg.org/ffmpeg/trunk

1098e8d2 08/21/2008 11:29 AM Robert Swain

Remove unused variable

Originally committed as revision 14880 to svn://svn.ffmpeg.org/ffmpeg/trunk

4b0044b7 08/21/2008 10:23 AM Robert Swain

Reindent

Originally committed as revision 14877 to svn://svn.ffmpeg.org/ffmpeg/trunk

f3399088 08/21/2008 07:57 AM Andreas Öman

The comment about channel order for AAC 5.1 audio was not correct, fix it.

Originally committed as revision 14875 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d8f3de4 08/21/2008 07:21 AM Robert Swain

Last hunk of the AAC decoder code to be OKed and build system and documentation
alterations as appropriate

Originally committed as revision 14873 to svn://svn.ffmpeg.org/ffmpeg/trunk

1dece0d2 08/18/2008 09:36 PM Robert Swain

More OKed AAC decoder code hunks

Originally committed as revision 14829 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ffd5c1c 08/15/2008 08:01 AM Robert Swain

More OKed AAC decoder hunks

Originally committed as revision 14774 to svn://svn.ffmpeg.org/ffmpeg/trunk

848a5815 08/15/2008 12:19 AM Robert Swain

Synchronise AAC decoder code with that from SoC

Originally committed as revision 14772 to svn://svn.ffmpeg.org/ffmpeg/trunk

62a57fae 08/15/2008 12:05 AM Robert Swain

More OKed sections of AAC decoder code

Originally committed as revision 14770 to svn://svn.ffmpeg.org/ffmpeg/trunk

9edae4ad 08/11/2008 11:22 AM Robert Swain

Synchronise code with AAC decoder in SoC

Originally committed as revision 14695 to svn://svn.ffmpeg.org/ffmpeg/trunk

9cc04edf 08/11/2008 11:16 AM Robert Swain

More OKed hunks of the AAC decoder from SoC

Originally committed as revision 14694 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc0591da 08/09/2008 10:46 AM Robert Swain

Sync already committed code with that in SoC and commit more OKed hunks of code

Originally committed as revision 14674 to svn://svn.ffmpeg.org/ffmpeg/trunk

71e9a1b8 08/05/2008 07:32 PM Robert Swain

OKed sections of code from the SoC AAC decoder

Originally committed as revision 14626 to svn://svn.ffmpeg.org/ffmpeg/trunk