summaryrefslogtreecommitdiff
path: root/libavcodec/aac.c
Commit message (Collapse)AuthorAge
* Remove redundant assignment. err is assigned in every switch case anyway. IssueRobert Swain2009-04-21
| | | | | | found by CSA. Originally committed as revision 18641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary assignment, found by CSA.Robert Swain2009-04-19
| | | | Originally committed as revision 18617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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-23
| | | | 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-16
| | | | Originally committed as revision 18015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-03-06
| | | | 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-06
| | | | | | 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-06
| | | | | | 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-05
| | | | 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-01
| | | | | | channel elements. Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-02-26
| | | | 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-26
| | | | 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-26
| | | | Originally committed as revision 17598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-02-13
| | | | 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-13
| | | | | | | | 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-12
| | | | 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-12
| | | | | | 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-12
| | | | | | 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-12
| | | | | | | | 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-10
| | | | | | 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-01
| | | | | | | 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-13
| | | | | | 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-07
| | | | | | | | | 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-28
| | | | 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-28
| | | | Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Reindent after last commitRobert Swain2008-12-21
| | | | 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-21
| | | | | | 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-21
| | | | | | | | 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-10
| | | | 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-09
| | | | | | 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-09
| | | | | | 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-09
| | | | | | 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-08
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Cosmetics after last commitRobert Swain2008-11-24
| | | | Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Frequency domain prediction and hence Main profile supportAlex Converse2008-11-24
| | | | | | 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-05
| | | | | | | | 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-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename variables to clarify the channel coupling element and correspondingAlex Converse2008-10-06
| | | | | | | | 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-06
| | | | | | | | 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-18
| | | | | | | | | 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-18
| | | | 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-18
| | | | | | | | 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-16
| | | | | | 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-13
| | | | Originally committed as revision 15315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply pulses to unscaled coefficients rather than scaled.Alex Converse2008-09-13
| | | | | | 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-13
| | | | | | 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-13
| | | | | | | | 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-12
| | | | 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-12
| | | | | | | | | 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