Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ac3dec: fix non-optimal dithering of zero bit mantissas | Mathias Rauen | 2013-01-20 | 1 | -1/+2 |
| | | | | | | Use a noise range of -0.707 to 0.707 instead of -0.5 to 0.5 Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | lavc: Move vector_fmul_window to AVFloatDSPContext | Justin Ruggles | 2013-01-16 | 1 | -4/+5 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | miscellaneous typo fixes | Diego Biurrun | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | ac3dec: decode directly into output buffers | Mans Rullgard | 2012-12-09 | 1 | -7/+20 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | ac3dec: make downmix() take array of pointers to channel data | Mans Rullgard | 2012-12-09 | 1 | -3/+11 |
| | |||||
* | ac3dec: output planar float only | Mans Rullgard | 2012-12-09 | 1 | -26/+6 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+1 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | Use proper return values in case of missing features | Diego Biurrun | 2012-10-12 | 1 | -1/+1 |
| | |||||
* | ac3dec: ensure get_buffer() gets a buffer for the correct number of channels | Justin Ruggles | 2012-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | If there is an error during frame parsing, but AVCodecContext.channels was changed and AC3DecodeContext.out_channels was set previously, the two may not match. Fixes CVE-2012-2802 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | ac3: move ac3_downmix() from dsputil to ac3dsp | Mans Rullgard | 2012-09-12 | 1 | -34/+6 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | avopt: Explicitly store float/double option defaults in .dbl | Martin Storsjö | 2012-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -2/+2 |
| | |||||
* | Replace memset(0) by zero initializations. | Diego Biurrun | 2012-03-28 | 1 | -3/+1 |
| | | | | Also remove one pointless zero initialization in rangecoder.c. | ||||
* | mov: set channel layout for AC-3 streams based on the 'dac3' atom info | Justin Ruggles | 2012-02-22 | 1 | -1/+1 |
| | | | | fixes Bug 225 | ||||
* | dsputil: Add ff_ prefix to the dsputil*_init* functions | Martin Storsjö | 2012-02-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | ac3dec: Move center and surround mix level tables to the parser. | Michael Niedermayer | 2012-02-09 | 1 | -14/+2 |
| | | | | | | | | | | | | 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: remove disabled FF_API_DRC_SCALE cruft. | Anton Khirnov | 2012-01-27 | 1 | -5/+0 |
| | |||||
* | cosmetics: drop some pointless parentheses | Diego Biurrun | 2012-01-07 | 1 | -2/+2 |
| | |||||
* | ac3dec: cosmetics: pretty-printing | Chris Berov | 2011-12-04 | 1 | -248/+261 |
| | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | Add avcodec_decode_audio4(). | Justin Ruggles | 2011-12-02 | 1 | -8/+24 |
| | | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders. | ||||
* | lavc: replace references to deprecated AVCodecContext.error_recognition to ↵ | Dustin Brody | 2011-10-22 | 1 | -1/+1 |
| | | | | | | use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | lavc: use avpriv_ prefix for ff_ac3_parse_header. | Anton Khirnov | 2011-10-20 | 1 | -1/+1 |
| | | | | It's used in lavf. | ||||
* | AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_* | Anton Khirnov | 2011-10-12 | 1 | -1/+1 |
| | |||||
* | ac3dec: use get_sbits() instead of manually sign-extending | Mans Rullgard | 2011-10-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | lavc/lavf: use unique private classes. | Anton Khirnov | 2011-10-05 | 1 | -2/+8 |
| | | | | This is needed by the new AVOptions API. | ||||
* | ac3dec: actually use drc_scale private option | Anton Khirnov | 2011-09-21 | 1 | -1/+6 |
| | |||||
* | ac3dec: avoid pointless alloc and indirection for input_buffer | Reimar Döffinger | 2011-09-06 | 1 | -10/+0 |
| | | | | | Since we now always allocate it, it can simply be made part of the context instead. | ||||
* | ac3dec: add a drc_scale private option | Anton Khirnov | 2011-07-10 | 1 | -0/+17 |
| | | | | | | Deprecate corresponding AVCodecContext option. This is the first test of decoder private options. | ||||
* | Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample(). | Justin Ruggles | 2011-06-20 | 1 | -1/+1 |
| | | | | av_get_bits_per_sample_fmt() is deprecated. | ||||
* | Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis | Justin Ruggles | 2011-05-18 | 1 | -6/+26 |
| | | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout. | ||||
* | ac3dec: fix processing of delta bit allocation information. | Justin Ruggles | 2011-04-17 | 1 | -2/+2 |
| | | | | | The number of dba segments is the coded value + 1. The coupling dba offset starts at the first coupling band, not at zero. | ||||
* | ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp | Mans Rullgard | 2011-03-29 | 1 | -1/+2 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | ac3enc: Add codec-specific options for writing AC-3 metadata. | Justin Ruggles | 2011-03-27 | 1 | -10/+0 |
| | |||||
* | Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser | Justin Ruggles | 2011-03-25 | 1 | -0/+5 |
| | | | | and decoder, and vice-versa for the AC-3 encoder. | ||||
* | Detect byte-swapped AC-3 and support decoding it directly. | Reimar Döffinger | 2011-03-22 | 1 | -0/+5 |
| | | | | | | | This allows the AC-3 decoder to be used directly with RealMedia decoders that unlike the libavformat one do not byte-swap automatically. Since the new code is only used in case we would fail directly otherwise there should be no risk for regressions. | ||||
* | cosmetics: indentation | Justin Ruggles | 2011-03-22 | 1 | -3/+3 |
| | |||||
* | Always copy input data for AC3 decoder. | Justin Ruggles | 2011-03-22 | 1 | -7/+2 |
| | | | | | | | Depending on error_recognition is not correct, low values do certainly not mean it is ok to crash. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de> | ||||
* | Move ff_kbd_window_init() to a separate file | Mans Rullgard | 2011-03-19 | 1 | -0/+1 |
| | | | | | | | This function is not tightly coupled to mdct, and it's in the way of making a fixed-point mdct implementation. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | fft: remove inline wrappers for function pointers | Mans Rullgard | 2011-03-19 | 1 | -3/+3 |
| | | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Separate format conversion DSP functions from DSPContext. | Justin Ruggles | 2011-02-02 | 1 | -2/+3 |
| | | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Remove unneeded add bias from 3 functions. | Justin Ruggles | 2011-01-31 | 1 | -2/+2 |
| | | | | | | | | DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | cosmetics: indentation and spacing | Justin Ruggles | 2011-01-28 | 1 | -2/+2 |
| | |||||
* | Remove the add bias hack for the C version of DSPContext.float_to_int16_*(). | Justin Ruggles | 2011-01-28 | 1 | -11/+2 |
| | |||||
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf. | Diego Elio Pettenò | 2011-01-26 | 1 | -2/+2 |
| | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Add ff_ prefix to ac3_common_init(). | Justin Ruggles | 2011-01-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum | Stefano Sabatini | 2010-11-12 | 1 | -1/+1 |
| | | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Fix compilation of AC3 decoder if E-AC3 decoder was disabled. | Carl Eugen Hoyos | 2010-05-13 | 1 | -1/+1 |
| | | | | Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | ac3dec: return smaller of buf_size and frame_size instead of always returning | Justin Ruggles | 2010-04-22 | 1 | -1/+1 |
| | | | | | | frame_size. Originally committed as revision 22950 to svn://svn.ffmpeg.org/ffmpeg/trunk | ||||
* | Replace all remaining occurrences of AVERROR_NOMEM with | Stefano Sabatini | 2010-04-03 | 1 | -1/+1 |
| | | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk |