summaryrefslogtreecommitdiff
path: root/libavcodec/aacdec.c
Commit message (Collapse)AuthorAge
...
* aacdec: Support stereo streams that erroneously signal predefined channel ↵Michael Niedermayer2012-02-28
| | | | | | | | | | | configuration 1 (mono). [alex.converse@mgail.com] Move code to get_che() Update for AAC new channel configuration interface Only set chan_config if output_configure succeeds. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacdec: Reshuffle functions so get_che() can call ↵Alex Converse2012-02-28
| | | | set_default_channel_config() and output_configure().
* doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun2012-02-28
|
* aacdec: Remove erroneous reference to global gain from the out of bounds ↵Alex Converse2012-02-27
| | | | scalefactor error message.
* aac: fix infinite loop on end-of-frame with sequence of 1-bits.Alex Converse2012-02-22
| | | | | | Based-on-work-by: Ronald S. Bultje <rsbultje@gmail.com> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* aacdec: Unify preconfigured layout and PCE layout.Alex Converse2012-02-09
|
* aacdec: Support native channel layout when requested.Alex Converse2012-02-09
|
* aacdec: Try to sniff a reasonable channel layout for PCE based configurations.Alex Converse2012-02-09
| | | | This changes the output order of multichannel PCE based streams.
* aacdec: Remove incorrect comment.Alex Converse2012-02-08
| | | | It was only correct when element ids met very specific criteria.
* aacdec: Simplify output configuration.Alex Converse2012-02-08
|
* latmdec: Check AudioSpecificConfig length before decoding extradata.Alex Converse2012-01-11
| | | | | | | This is different than a normal get_bits() over read because decode_audio_specific_config() creates its own GetBitContext. Fixes Bug 170.
* aacdec: Turn off PS for multichannel files that use PCE based configs.Alex Converse2012-01-09
| | | | Fixes al_sbr_cm_48_5.1.mp4.
* aacdec: Handle new extradata passed as side dataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* aacdec: Cleanup decode_ics_info.Alex Converse2011-12-20
| | | | | | Remove unused function argument. Return an AVERROR. Don't zero out ICS on failure.
* aacdec: Use intfloat.h rather than local punning union.Alex Converse2011-12-12
|
* aac_latm: reconfigure decoder on audio specific config changesJanne Grunau2011-12-03
|
* latmdec: fix audio specific config parsingJanne Grunau2011-12-03
| | | | | | | | | Pass the correct size in bits to mpeg4audio_get_config and add a flag to disable parsing of the sync extension when the size is not known. Latm with AudioMuxVersion 0 does not specify the size of the audio specific config. Data after the audio specific config can be misinterpreted as sync extension resulting in random and wrong configs.
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* aacdec: Fix PS in ADTS.Alex Converse2011-11-22
| | | | Fixes File1.aac and Bug 80.
* aacdec: allow output reconfiguration on channel changesMichael Niedermayer2011-10-28
| | | | | | | | | | Locking the decoder against channel config changes in parse_adts_frame_header() seems to be unnecessary and streams with channel config changes are reported. The sample in http://roundup.libav.org/issue999 still works. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* aac_latm: remove unneeded check for zero-size packet.Justin Ruggles2011-10-26
| | | | This is already checked by avcodec_decode_audio3()
* cosmetics: simplify latm_decode_initJanne Grunau2011-10-25
|
* latm: avoid unnecessary reinit of the aac decoderJanne Grunau2011-10-25
|
* aacdec: initialize sbr context only in new channel elementsJanne Grunau2011-10-25
|
* lavc: replace references to deprecated AVCodecContext.error_recognition to ↵Dustin Brody2011-10-22
| | | | | | use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.Anton Khirnov2011-10-20
| | | | | Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and ff_copy_pce_data
* lavc: use avpriv_ prefix for ff_aac_parse_header().Anton Khirnov2011-10-20
| | | | It's used in lavf.
* aacdec: fix undefined shiftsMans Rullgard2011-10-08
| | | | | | Since nnz can be zero, this is needed to avoid a shift by 32. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aac: Only set sample rate and object type from ADTS if output hasn't been ↵Alex Converse2011-08-18
| | | | | | | | | configured. Long term it would be nice to support error resilient reconfiguration but right now setting this every frame does more harm than help. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: Set SBR and PS to unsignalled during headerless and ADTS initialization.Alex Converse2011-08-18
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: Only output configure if audio was found.Alex Converse2011-08-18
| | | | | | Audio found is not triggered on a CCE because a CCE alone has no output. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: Don't attempt to output configure an invalid channel configuration.Alex Converse2011-08-09
|
* aac: propagate error return values for AV_LOG_ERROR-triggering eventsDustin Brody2011-08-05
|
* aac: Remove some suspicious illegal memcpy()s from LTP.Alex Converse2011-08-01
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* lavf: Cleanup try_decode_frame() logic.Alex Converse2011-07-13
| | | | This fixes AAC playback in ffplay.
* Add support for aac streams in mp4/mov without extradata.Benjamin Larsson2011-06-30
|
* Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles2011-06-20
| | | | av_get_bits_per_sample_fmt() is deprecated.
* aacdec: fix typo in scalefactor clipping checkJustin Ruggles2011-05-23
|
* LATM/AAC: Free previously initialized context on reinit.Ronald S. Bultje2011-05-20
| | | | | | | | Fixes memory leaks which are the result of overwriting already-initialized MDCT contexts during context reinitialization, e.g. in valgrind fate-aac-latm_000000001180bc60. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbisJustin Ruggles2011-05-18
| | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout.
* aacdec: Use float instead of int16_t for ltp_state to avoid needless rounding.Justin Ruggles2011-05-15
|
* aacdec: remove sf_scale and sf_offset.Alex Converse2011-04-27
| | | | | | | Instead, scalefactors are adjusted by the offset amount, removing the need for sf_scale, and the MDCT scales are adjusted to compensate for the higher scalefactors. Floating-point output will be handled by modifying the MDCT scales.
* aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficientJustin Ruggles2011-04-27
| | | | table values from the spec.
* Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets insteadAlex Converse2011-04-27
| | | | of hardcoding 200 everywhere.
* Large intensity stereo and PNS indices are legal. Clip them instead ofAlex Converse2011-04-27
| | | | | | | erroring out. A magnitude of 100 corresponds to 2^25 so the will most likely result in clipped output anyway. None of the conformance streams fall in the range that need to be clipped.
* Add some debug log messages to AAC extradataAlex Converse2011-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles <justin.ruggles@gmail.com> wrote: > On 04/20/2011 02:26 PM, Alex Converse wrote: > >> --- >>  libavcodec/aacdec.c |   10 +++++++++- >>  1 files changed, 9 insertions(+), 1 deletions(-) >> >> >> >> 0002-Add-some-Debug-log-messages-to-AAC-extradata.patch >> >> >> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c >> index c9761a1..3ec274f 100644 >> --- a/libavcodec/aacdec.c >> +++ b/libavcodec/aacdec.c >> @@ -79,7 +79,6 @@ >>             Parametric Stereo. >>   */ >> >> - >>  #include "avcodec.h" >>  #include "internal.h" >>  #include "get_bits.h" > > > stray whitespace change > oops, fixed >From 94e8d0eea77480630f84368c97646cabc0f50628 Mon Sep 17 00:00:00 2001 From: Alex Converse <aconverse@google.com> Date: Wed, 20 Apr 2011 11:23:34 -0700 Subject: [PATCH] Add some debug log messages to AAC extradata MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1" This is a multi-part message in MIME format. --------------1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
* aacdec: indentation cosmeticsYoung Han Lee2011-04-22
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>