summaryrefslogtreecommitdiffstats
path: root/libavcodec/aac.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* AAC: Ignore cc_domain for independent (time domain) coupling.Alex Converse2009-03-231-8/+1
| | | | Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: IEEE-754 type punning for 16-bit floating point rounding.Alex Converse2009-03-161-12/+14
| | | | Originally committed as revision 18015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-03-061-7/+7
| | | | Originally committed as revision 17861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If we get an error from ff_aac_parse_header() we should not trust the header ↵Alex Converse2009-03-061-1/+1
| | | | | | info that it provides. Originally committed as revision 17860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the channel allocation bug/assumption (issue 800).Alex Converse2009-03-061-17/+69
| | | | | | Approved by Rob on IRC. Originally committed as revision 17856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: hoist dependent gain lookup out of the loopAlex Converse2009-03-051-1/+2
| | | | Originally committed as revision 17835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Make the CPE function more consistent with the functions for other ↵Alex Converse2009-03-011-4/+2
| | | | | | channel elements. Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-02-261-24/+24
| | | | Originally committed as revision 17600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Refactor AAC unsigned band type decoding for a modest speedup.Alex Converse2009-02-261-8/+8
| | | | Originally committed as revision 17599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use const to better allow the compiler to optimize AAC independent coupling.Alex Converse2009-02-261-1/+6
| | | | Originally committed as revision 17598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-02-131-14/+14
| | | | Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make set coup.gain[c][0] aand only coup.gain[c][0] is set for a ↵Alex Converse2009-02-131-0/+4
| | | | | | | | 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
* AAC: Cosmetic alterations after the last commitRobert Swain2009-02-121-6/+3
| | | | Originally committed as revision 17182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give an error message when returning due to an unallocated channel elementAlex Converse2009-02-121-0/+3
| | | | | | Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 17181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for sample rate index 12, 7350 HzAlex Converse2009-02-121-3/+3
| | | | | | Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 17180 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove bogus coupling_point assignment for non-CCE as this value is not checkedAlex Converse2009-02-121-2/+0
| | | | | | | | in this case Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 17179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check sampling index validity for AAC decodingJai Menon2009-02-101-0/+4
| | | | | | Patch by Jai Menon ( jmenon86 gmail com ) Originally committed as revision 17131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-1/+1
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support ADTS AAC files in the ffaac decoder (limited to streams containing oneRobert Swain2009-01-071-3/+46
| | | | | | | | | 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
* Revert r16375: It broke aac decoding.Carl Eugen Hoyos2008-12-281-2/+1
| | | | Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce number of warnings when compiling with icc by two.Carl Eugen Hoyos2008-12-281-1/+2
| | | | Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Reindent after last commitRobert Swain2008-12-211-1/+1
| | | | Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Fix AAC prediction when used in conjunction with the CPEAlex Converse2008-12-211-8/+14
| | | | | | Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfigAlex Converse2008-12-211-3/+4
| | | | | | | | member Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: move scratch array to context to ensure 16-byte alignmentMåns Rullgård2008-12-101-1/+1
| | | | Originally committed as revision 16043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Use a sign LUT rather than 1-2*get_bits1()Alex Converse2008-12-091-4/+5
| | | | | | Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Unroll code within decode_spectrum_and_dequant(). Gives 12% net speed gain.Alex Converse2008-12-091-9/+26
| | | | | | Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Remove unnecessary fabsf()Alex Converse2008-12-091-1/+1
| | | | | | Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_missing_feature an internal function, and change its nameStefano Sabatini2008-12-081-4/+5
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Cosmetics after last commitRobert Swain2008-11-241-3/+3
| | | | Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Frequency domain prediction and hence Main profile supportAlex Converse2008-11-241-2/+128
| | | | | | Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 15919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix perceptual noise shaping scaling including an oversight of the offset forAlex Converse2008-11-051-4/+10
| | | | | | | | 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
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-211-1/+1
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename variables to clarify the channel coupling element and correspondingAlex Converse2008-10-061-9/+9
| | | | | | | | target channel element. Patch by Alex Converse (alex converse gmail com) Originally committed as revision 15575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Corrections to channel coupling code to attain conformance for appropriateAlex Converse2008-10-061-29/+35
| | | | | | | | 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
* Zero 'idx' for each iteration of the coupling gain loop and as it is only usedRobert Swain2008-09-181-1/+2
| | | | | | | | | 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
* Cosmetics: missing bracketsRobert Swain2008-09-181-2/+4
| | | | Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cast the return value of get_bits() to signed integer such that the subtractionAlex Converse2008-09-181-1/+1
| | | | | | | | 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
* Validate pulse position and error out if an invalid position is encountered.Alex Converse2008-09-161-4/+15
| | | | | | Patch by Alex Converse (alex converse gmail com) Originally committed as revision 15340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitRobert Swain2008-09-131-6/+6
| | | | Originally committed as revision 15315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply pulses to unscaled coefficients rather than scaled.Alex Converse2008-09-131-2/+9
| | | | | | Slight reworking of a patch by Alex Converse (alex converse gmail com) Originally committed as revision 15314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Operands of '+' are not necessarily evaluated in order so r15311 was pointless.Robert Swain2008-09-131-1/+2
| | | | | | Splitting the assignment onto two lines should resolve the order issue. Originally committed as revision 15313 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct order of parsing for pulse scalefactor band and offset to match theAlex Converse2008-09-131-1/+1
| | | | | | | | specification. Patch by Alex Converse (alex converse gmail com) Originally committed as revision 15311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitRobert Swain2008-09-121-6/+6
| | | | Originally committed as revision 15304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only read some of TNS bitstream data in the case that the TNS filter order isAlex Converse2008-09-121-0/+2
| | | | | | | | | 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
* Correct pulse amplitude application - a negative or 0 coefficient implies theRobert Swain2008-09-111-1/+3
| | | | | | | | | 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
* Multiply table by -1. This avoid doing this calculation (that was introducedVitor Sessak2008-09-041-1/+1
| | | | | | in my last commit) in real time. Originally committed as revision 15195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC ↵Vitor Sessak2008-09-041-15/+4
| | | | | | decoders. Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud