summaryrefslogtreecommitdiff
path: root/libavcodec/aacdec.c
Commit message (Collapse)AuthorAge
* aacdec: Don't fall back to the old output configuration when no old ↵Alex Converse2012-08-08
| | | | | | configuration is present. Fixes MP4 files where the first frame is broken.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* aac: Mention abbreviation as well in long_nameDiego Biurrun2012-07-24
| | | | Most people know the codec as "AAC" and not "Advanced Audio Coding".
* aacdec: remove dead assignmentMans Rullgard2012-07-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacdec: Fix popping channel layouts.Alex Converse2012-06-20
| | | | | 'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.
* Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* aacdec: Turn PS off when switching to stereo and turn it to implicit when ↵Alex Converse2012-06-04
| | | | switching to mono.
* aac: Handle HE-AACv2 when sniffing a channel order.Alex Converse2012-04-20
|
* aacdec: More robust output configuration.Alex Converse2012-04-16
| | | | | | Save the old output configuration (if it has been used successfully) when trying a new configuration. If the new configuration fails to decode, restore the last successful configuration.
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
|
* Update Janne's email address.Diego Biurrun2012-03-18
|
* aacdec: Fix SCE parity check.Michael Niedermayer2012-03-09
| | | | | | | | | An unpaired SCE preceding a CPE only makes sense for front SCEs preceding the first CPE. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacdec: Fix out of array writes (stack).Michael Niedermayer2012-03-09
| | | | | | | | | | | | Set the element to channel vector (e2c_vec) size to be the maximum number of aac channel elements. This makes it slightly larger than it needs to be because CCEs are never mapped to output channel locations. Also add a check that all input tags (legal or not) will fit. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
* 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
|