Statistics
| Branch: | Revision:

ffmpeg / libavcodec / aacdec.c @ b5ec6383

History | View | Annotate | Download (82 KB)

# Date Author Comment
b5ec6383 01/28/2011 12:21 AM Justin Ruggles

cosmetics: indentation and spacing

9d06d7bc 01/28/2011 12:07 AM Justin Ruggles

Remove the add bias hack for the C version of DSPContext.float_to_int16_*().

d36beb3f 01/26/2011 04:08 PM Diego Elio Pettenò

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

f162e988 01/23/2011 04:41 PM Mans Rullgard

Remove redundant checks against MIN_CACHE_BITS

With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.

Signed-off-by: Mans Rullgard <>

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

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

ebb7f7de 11/07/2010 03:05 AM Alex Converse

aaclatm: Eliminate dummy packets due to muxlength calculation.

Muxlength does not include the 3 bytes of AudioSyncStream() before the
AudioMuxElement(). If these three bytes are not accounted for the last three
bytes of the LATM packet are sent back to the decoder again....

bbdee6e5 11/04/2010 09:00 PM Janne Grunau

aacdec: consume the audio specific config during LATM parsing

Spotted by Alex after Carl Eugen found errors some samples. There no errors or
noticeable artifacts in the samples I used during development.

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

94c78709 11/02/2010 08:33 AM Janne Grunau

aacdec: change type of data in decode_audio_specific_config parameters

AVCodecContext.extradata is uint8_t*, silence a warning

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

136e19e1 11/02/2010 08:32 AM Janne Grunau

Add single stream LATM/LOAS decoder

The decoder is just a wrapper around the AAC decoder.
based on patch by Paul Kendall { paul <ät> kcbbs gen nz }

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

6c003e6d 11/02/2010 08:30 AM Janne Grunau

aacdec: pass avctx as logging context for decode_audio_specific_config

Use avctx in all called functions. This allows passing a NULL AACContext
for LATM since the AACContext is only used in output_configure() which
is skipped for LATM parsing.

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

66a71d98 11/02/2010 08:29 AM Janne Grunau

aacdec: refactor the actual aac decoding code into its own function

aac_decode_frame() remains as AVPacket handling a wrapper. The actual
decoding function takes a GetBitContext as input and will be used be the
AAC LATM decoder to avoid copying the unaligned AAC bitstream....

be63b4ba 11/02/2010 08:28 AM Janne Grunau

aacdec: return consumed bits in decode_audio_specific_config

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

37d28953 11/02/2010 08:28 AM Janne Grunau

aacdec: add MPEG4AudioConfig as parameter for decode_audio_specific_config

This will be used by the latm decoder to avoid AACContext changes during
audio specific config parsing.

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

bb2d8e9f 09/10/2010 06:01 PM Alex Converse

aacdec: Rework channel mapping compatibility hacks.

For a PCE based configuration map the channels solely based on tags.
For an indexed configuration map the channels solely based on position.

This works with all known exotic samples including al17, elem_id0, bad_concat,...

81824fe0 07/24/2010 02:57 AM Alex Converse

aacdec: Only load and write each predictor variable once.

This is slightly faster and opens the door for further optimization.

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

70c99adb 07/24/2010 02:41 AM Alex Converse

aacdec: 4% faster main profile decoding.

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

1ac6da39 07/12/2010 09:36 PM Alex Converse

aacdec: Eliminate the use of doubles in the MAIN predictor.

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

531cfe6e 07/12/2010 09:36 PM Alex Converse

aacdec: Eliminate the use of doubles in decode_cce().

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

93c6ff6c 07/12/2010 09:35 PM Alex Converse

aacdec: Use a LUT to generate CCE scale.

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

3cac899a 07/12/2010 06:52 PM Alex Converse

Split the ADTS header decoder off of the ADTS parser.

The AAC decoder and ADTS-to-ASC BSF both require the header decoder
but not full parsing capabilities.

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

7167bc94 07/12/2010 06:24 PM Alex Converse

aacdec: Remove the warning about non-meaningful window transitions.

It created false positives on seeks and where the first frame is STOP or SHORT.
It failed to warn in illegal SHORT->LONG transitions. In general it created
much confusion and many junk bug reports from the users....

38b04109 07/07/2010 08:23 PM Måns Rullgård

aacdec: remove checks for impossible error conditions

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

09f6a45d 07/02/2010 11:19 AM Diego Biurrun

Remove non-existing stray arguments from Doxygen function documentation.

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

e29af818 06/23/2010 07:30 PM Alex Converse

aactab: Tablegenify ff_aac_pow2sf_tab.

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

19ed4b86 06/21/2010 04:14 AM Alex Converse

aacdec: cosmetics: (more) whitespace

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

d4e355d5 06/21/2010 04:10 AM Alex Converse

aacdec: cosmetics: whitespace

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

ed99e54d 06/21/2010 04:07 AM Alex Converse

aacdec: Factorize if (elem_type < TYPE_DSE).

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

fda36b59 06/21/2010 04:05 AM Alex Converse

aacdec: Handle the first frame being empty case.

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

a2063901 06/19/2010 02:14 PM Alex Converse

Add HE-AAC v2 support to the AAC decoder.

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

8e5998f0 06/05/2010 03:31 PM Alex Converse

aac: Move an initialization macro used only by the decoder out of the header.

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

77b8320a 06/05/2010 03:27 PM Alex Converse

Rename aac.c to aacdec.c.

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