Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ac3_parser: add a public function for parsing the data required by the demuxer | Anton Khirnov | 2017-04-12 | 1 | -2/+2 |
| | | | | | | Make the current semi-public avpriv_ac3_parse_header() private to lavc. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asm | Justin Ruggles | 2016-10-01 | 1 | -4/+4 |
| | | | | | | | | | Adds a wrapper function for downmixing which detects channel count changes and updates the selected downmix function accordingly. Simplification and porting to current x86inc infrastructure by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dsp: Reverse matrix in/out order in downmix() | Justin Ruggles | 2016-10-01 | 1 | -13/+27 |
| | | | | | | | Also use (float **) instead of (float (*)[2]). This matches the matrix layout in libavresample so we can reuse assembly code between the two. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: Add some inline hints | Luca Barbato | 2016-07-29 | 1 | -3/+3 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: Simplify skipping | Luca Barbato | 2016-07-29 | 1 | -2/+1 |
| | | | | | | skip_bits_long() can skip up to 32-bit ranges. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: Split coupling-specific code from decode_audio_block() | Luca Barbato | 2016-07-29 | 1 | -91/+116 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: Split spx-specific code from decode_audio_block() | Luca Barbato | 2016-07-29 | 1 | -90/+108 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: change logging of skipped E-AC-3 substreams. | Tim Walker | 2016-04-02 | 1 | -2/+3 |
| | | | | | | | | | Change log level from warning to debug: the E-AC-3 "core" substream can be successfully decoded without the additional and dependent substreams, and their presence is already indicated via avpriv_request_sample in ff_eac3_parse_header. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | lavc: Drop deprecated request_channels related functions | Vittorio Giovara | 2015-08-28 | 1 | -8/+0 |
| | | | | Deprecated in 04/2011. | ||||
* | lavc: AV-prefix all codec capabilities | Vittorio Giovara | 2015-07-27 | 1 | -2/+2 |
| | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: AV-prefix all codec flags | Vittorio Giovara | 2015-07-27 | 1 | -2/+2 |
| | | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | avcodec: Don't anonymously typedef structs | Diego Biurrun | 2015-02-14 | 1 | -1/+1 |
| | |||||
* | dsputil: Split bswap*_buf() off into a separate context | Diego Biurrun | 2014-06-22 | 1 | -2/+4 |
| | |||||
* | ac3dec: set AV_FRAME_DATA_DOWNMIX_INFO side data. | Tim Walker | 2014-02-15 | 1 | -0/+38 |
| | |||||
* | ac3dec: Allow asymmetric application of DRC when drc_scale > 1 | John Stebbins | 2014-01-29 | 1 | -3/+8 |
| | | | | | Amplification of quiet sounds is enhanced. Inspired by gbooker's A52Decoder. | ||||
* | (e)ac3: clip surround mix level indexes. | Tim Walker | 2014-01-19 | 1 | -2/+2 |
| | | | | Values 0-2 are reserved, 3 (-1.5dB) should be used instead. | ||||
* | (e)ac3: parse and store the Lt/Rt and LFE mix levels. | Tim Walker | 2014-01-19 | 1 | -4/+12 |
| | |||||
* | ac3: set default matrix encoding modes in parse_frame_header. | Tim Walker | 2014-01-19 | 1 | -4/+2 |
| | | | | Deduplicates some code. | ||||
* | (e)ac3dec: set AV_FRAME_DATA_MATRIXENCODING side data. | Tim Walker | 2014-01-05 | 1 | -0/+30 |
| | |||||
* | (e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode ↵ | Tim Walker | 2014-01-05 | 1 | -6/+22 |
| | | | | flags. | ||||
* | ac3dec: make drc_scale exponentially | John Stebbins | 2013-12-09 | 1 | -2/+2 |
| | | | | | | | The a52 spec suggests that "partial compression" should scale the drc value in this manner. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | ac3dec: Fix out-of-array read | Tim Walker | 2013-11-23 | 1 | -2/+3 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: Remove write-only channel_layout field from AC3DecodeContext | Tim Walker | 2013-11-22 | 1 | -1/+0 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3: implement request_channel_layout. | Tim Walker | 2013-11-22 | 1 | -10/+24 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: simplify an expression | Tim Walker | 2013-11-19 | 1 | -3/+2 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | ac3dec: fix outptr increment. | Michael Niedermayer | 2013-10-28 | 1 | -1/+1 |
| | | | | | | | | | Fixes corrupt data errors when downmixing in the AC-3 decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org | ||||
* | lavc: change all decoders to behave consistently with AV_EF_CRCCHECK. | Anton Khirnov | 2013-10-28 | 1 | -0/+2 |
| | | | | | | Just crccheck prints a warning, crccheck+explode returns an error. Also document this behavior. | ||||
* | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | 2013-10-03 | 1 | -2/+2 |
| | |||||
* | ac3: Return proper error codes | Luca Barbato | 2013-08-27 | 1 | -15/+15 |
| | |||||
* | ac3: Clean up the error paths | Luca Barbato | 2013-08-27 | 1 | -3/+6 |
| | |||||
* | fmtconvert: Explicitly use int32_t instead of int | Christophe Gisquet | 2013-07-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | ac3dec: Don't consume more data than the actual input packet size | Martin Storsjö | 2013-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This was handled properly in the normal return case at the end of the function, but not in this special case. Returning a value larger than the input packet size can cause problems for certain library users. Returning the actual input buffer size unconditionally, since it is not guaranteed that frame_size is set to a sensible value at this point. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | ac3dec: Consistently use AC3_BLOCK_SIZE and sizeof | Martin Storsjö | 2013-07-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | ac3dec: Increment channel pointers only once per channel | Martin Storsjö | 2013-07-13 | 1 | -3/+3 |
| | | | | | | | | If the channel mapping map multiple output channels to one input channel, we should only increment the actual pointer once. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avcodec: av_log_missing_feature(1) ---> avpriv_request_sample() | Diego Biurrun | 2013-03-13 | 1 | -1/+1 |
| | |||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -1/+1 |
| | |||||
* | ac3dec: validate channel output mode against channel count | Justin Ruggles | 2013-02-23 | 1 | -6/+8 |
| | | | | | | | Damaged frames can lead to a mismatch, which can cause a segfault due to using an incorrect channel mapping. CC:libav-stable@libav.org | ||||
* | ac3: decode directly to the user-provided AVFrame | Justin Ruggles | 2013-02-12 | 1 | -8/+5 |
| | |||||
* | 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 |
| |