summaryrefslogtreecommitdiff
path: root/libavcodec/ac3_parser.c
Commit message (Collapse)AuthorAge
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ac3_parser: add required padding for GetBitContext bufferJanne Grunau2015-06-09
| | | | | | | Fixes stack buffer overflow errors detected by address sanitizer in various fate tests. CC: libav-stable@libav.org
* (e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode ↵Tim Walker2014-01-05
| | | | flags.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* mov: set channel layout for AC-3 streams based on the 'dac3' atom infoJustin Ruggles2012-02-22
| | | | fixes Bug 225
* ac3dec: Move center and surround mix level tables to the parser.Michael Niedermayer2012-02-09
| | | | | | | | | | | | That way all mix levels as exported by avpriv_ac3_parse_header() will have the same meaning. Previously the 3-bit center mix level for E-AC-3 was used to index in a 4-entry table, leading to out-of-array reads. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* lavc: use designated initialisers for parsers.Anton Khirnov2011-11-02
|
* lavc: use avpriv_ prefix for ff_ac3_parse_header.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parserJustin Ruggles2011-03-25
| | | | and decoder, and vice-versa for the AC-3 encoder.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused ff_ac3_parse_header_full function.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ac3: make the value of codec_id during (E-)AC-3 parsing stay CODEC_ID_EAC3Justin Ruggles2010-07-07
| | | | | | | | if any E-AC-3 frames have been detected instead of switching back and forth for AC-3 core + dependent E-AC-3 substream(s). Fixes Issue 2022. Originally committed as revision 24103 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add channel layout support to the AC-3 decoder and AC-3 parser.Justin Ruggles2009-04-19
| | | | Originally committed as revision 18622 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
* Set the correct number of samples for E-AC-3 in the AC3 parser.Justin Ruggles2009-02-20
| | | | Originally committed as revision 17472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow AC-3 parser to modify codec_id.Joakim Plate2009-02-19
| | | | | | Patch by Joakim Plate (elupus A ecce D se). Originally committed as revision 17447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorise enum of AC3 error types to be usable by AAC in the ADTS patch thatAlex Converse2009-01-07
| | | | | | | | will follow Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AC3: fix strict aliasing violation in parserMåns Rullgård2008-12-17
| | | | Originally committed as revision 16181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* create a separate codec_id for E-AC-3Justin Ruggles2008-09-01
| | | | Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: make all references to AC-3 capitalized and hyphenatedJustin Ruggles2008-08-03
| | | | Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Close parse context.David Liu2008-06-25
| | | | | | Patch by David LIU david liu st com Originally committed as revision 13962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move mix level tables from parser to decoder. have parser read bitstream ↵Justin Ruggles2008-06-07
| | | | | | value instead of using an index to a table in the decoder. Originally committed as revision 13696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add more gain levels and adjust mix level tables accordingly.Justin Ruggles2008-06-07
| | | | Originally committed as revision 13695 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set default mix levels regardless of bitstream idJustin Ruggles2008-06-07
| | | | Originally committed as revision 13693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get substreamid from ac3 parserJustin Ruggles2008-06-07
| | | | Originally committed as revision 13689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get the number of blocks from the ac3 parser and use in the ac3 decoder.Justin Ruggles2008-06-07
| | | | Originally committed as revision 13688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()Bartlomiej Wolowiec2008-04-24
| | | | | | and then reads the channel_map stuff Originally committed as revision 12944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change ff_ac3_parse_header() to take a GetBitContext instead of const char*Bartlomiej Wolowiec2008-04-22
| | | | Originally committed as revision 12922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make most of E-AC-3 work without breaking regression tests.Michael Niedermayer2008-04-19
| | | | Originally committed as revision 12903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Part 2 of EAC3 support, this is still disabled as it breaks regressionsMichael Niedermayer2008-04-19
| | | | | | due to bugs elsewhere. Originally committed as revision 12897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add new_frame_start and need_next_header.Michael Niedermayer2008-04-19
| | | | | | based on a patch by Bartlomiej Originally committed as revision 12895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change aac and ac3 parsers to use ff_combine_frame().Michael Niedermayer2008-04-19
| | | | Originally committed as revision 12894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove AACAC3FrameFlagMichael Niedermayer2008-04-18
| | | | Originally committed as revision 12888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* undo changes in aac_ac3_parserBartlomiej Wolowiec2008-04-09
| | | | Originally committed as revision 12778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Corrections of errors in aac_ac3_parserBartlomiej Wolowiec2008-04-07
| | | | Originally committed as revision 12759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change of aac_ac3_parser, so it is able to send complete portion of data to ↵Bartlomiej Wolowiec2008-04-05
| | | | | | decoder Originally committed as revision 12758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change name from stream type to frame type in AC3 codeBartlomiej Wolowiec2008-03-28
| | | | Originally committed as revision 12623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removal of stream_type in AACAC3ParseContext and adding AACAC3FrameFlagBartlomiej Wolowiec2008-03-28
| | | | Originally committed as revision 12622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* using EAC3_STREAM_TYPE_* instead of numbersBartlomiej Wolowiec2008-03-24
| | | | Originally committed as revision 12571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* using stream type in eac3 parserBartlomiej Wolowiec2008-03-24
| | | | Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass AACAC3ParseContext to sync() instead of individual arguments. Patch byJustin Ruggles2008-03-23
| | | | | | Bartlomiej Wolowiec (bartek wolowiec gmail com) Originally committed as revision 12564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation after last commitJustin Ruggles2008-01-05
| | | | Originally committed as revision 11421 to svn://svn.ffmpeg.org/ffmpeg/trunk