Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-22Merge commit 'b57e38f52cc3f31a27105c28887d57cd6812c3eb'Clément Bœsch
* commit 'b57e38f52cc3f31a27105c28887d57cd6812c3eb': ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asm Merged-by: Clément Bœsch <u@pkh.me>
2017-03-22Merge commit '43717469f9daa402f6acb48997255827a56034e9'Clément Bœsch
* commit '43717469f9daa402f6acb48997255827a56034e9': ac3dsp: Reverse matrix in/out order in downmix() Merged-by: Clément Bœsch <u@pkh.me>
2017-03-15Merge commit '8495d84f0101464b15517860db33e8605586d87e'Clément Bœsch
* commit '8495d84f0101464b15517860db33e8605586d87e': ac3dec: Add some inline hints Merged-by: Clément Bœsch <u@pkh.me>
2017-03-15Merge commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a'Clément Bœsch
* commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a': ac3dec: Simplify skipping Merged-by: Clément Bœsch <u@pkh.me>
2017-03-15Merge commit 'f0ccc65bc9ab9ddf1366066395564c71bcc825ee'Clément Bœsch
* commit 'f0ccc65bc9ab9ddf1366066395564c71bcc825ee': ac3dec: Split coupling-specific code from decode_audio_block() Merged-by: Clément Bœsch <u@pkh.me>
2017-03-15Merge commit 'a5ebe5d1217942238c641c83b24ef1106e53934a'Clément Bœsch
* commit 'a5ebe5d1217942238c641c83b24ef1106e53934a': ac3dec: Split spx-specific code from decode_audio_block() Merged-by: Clément Bœsch <u@pkh.me>
2017-01-22avcodec/ac3dec: add consistent noise generation option.Jonathan Campbell
use av_lfg_init_from_data() to seed AC-3 dithering from the AC-3 frame data to make it consistent given the same AC-3 frame, if option is set. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-04avcodec/ac3dec: Check expaccMichael Niedermayer
this is somewhat a magic number, which can be understood from reading section "7.1.2 Exponent Strategy" of the ac3 specification, in short: Three exponents each represented as number 0-4 are grouped together and base-5 encoded, so the maximal correct value is 25*4 + 5*4 + 4 = 124. Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-01ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asmJustin Ruggles
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>
2016-10-01ac3dsp: Reverse matrix in/out order in downmix()Justin Ruggles
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>
2016-09-15avcodec/(e)ac3: Fix target_level for EAC3.Nikolas Bowe
Currently when using target_level with EAC3 it produces silence. This small patch fixes target_level for decoding EAC3. Example: ffmpeg -y -i /tmp/test.wav -acodec eac3 -dialnorm -14 -ac 6 -b:a 384000 /tmp/test.m2ts ffmpeg -y -target_level -24 -i /tmp/test.m2ts -acodec pcm_s16le -f matroska /tmp/out.mkv ffplay /tmp/out.mkv Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-29ac3dec: Add some inline hintsLuca Barbato
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-29ac3dec: Simplify skippingLuca Barbato
skip_bits_long() can skip up to 32-bit ranges. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-29ac3dec: Split coupling-specific code from decode_audio_block()Luca Barbato
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-07-29ac3dec: Split spx-specific code from decode_audio_block()Luca Barbato
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-09Merge commit '33275a0de05e9bc321f2537a2a67921fab81624f'Derek Buitenhuis
* commit '33275a0de05e9bc321f2537a2a67921fab81624f': ac3dec: change logging of skipped E-AC-3 substreams. Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-25avcodec/ac3dec: Reset SPX when switching from EAC3 to AC3Michael Niedermayer
Fixes Ticket5319 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-02ac3dec: change logging of skipped E-AC-3 substreams.Tim Walker
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>
2015-12-24avcodec/ac3dec: Print the value of out of range exponentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-01avcodec/ac3: always use hardcoded tablesGanesh Ajjanagadde
The table in question is a 253 byte one. In fact, it turns out that dynamic generation of the table results in an increased binary size. Code compiled with GCC 5.2.0, x86-64 (size in bytes), before and after patch: old: 62321064 libavcodec/libavcodec.so.57 new: 62320536 libavcodec/libavcodec.so.57 Thus, it always make sense to statically allocate this. Tested with FATE with/without --enable-hardcoded-tables. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-22avcodec: drop 2 suffix from avpriv_ac3_parse_header2Andreas Cadhalpun
avpriv_ac3_parse_header was removed in commit 3dfb643. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-09-05Merge commit 'dc70c19476e76f1118df73b5d97cc76f0e5f6f6c'Hendrik Leppkes
* commit 'dc70c19476e76f1118df73b5d97cc76f0e5f6f6c': lavc: Drop deprecated request_channels related functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-08-28lavc: Drop deprecated request_channels related functionsVittorio Giovara
Deprecated in 04/2011.
2015-07-27Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'Michael Niedermayer
* commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615': lavc: AV-prefix all codec flags Conflicts: doc/examples/muxing.c ffmpeg.c ffmpeg_opt.c ffplay.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/ac3enc_float.c libavcodec/atrac1.c libavcodec/atrac3.c libavcodec/atrac3plusdec.c libavcodec/dcadec.c libavcodec/ffv1enc.c libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_mb.c libavcodec/imc.c libavcodec/libmp3lame.c libavcodec/libtheoraenc.c libavcodec/libtwolame.c libavcodec/libvpxenc.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/mpeg12dec.c libavcodec/mpeg12enc.c libavcodec/mpegaudiodec_template.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/nellymoserdec.c libavcodec/nellymoserenc.c libavcodec/nvenc.c libavcodec/on2avc.c libavcodec/options_table.h libavcodec/opus_celt.c libavcodec/pngenc.c libavcodec/ra288.c libavcodec/ratecontrol.c libavcodec/twinvq.c libavcodec/vc1_block.c libavcodec/vc1_loopfilter.c libavcodec/vc1_mc.c libavcodec/vc1dec.c libavcodec/vorbisdec.c libavcodec/vp3.c libavcodec/wma.c libavcodec/wmaprodec.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-27lavc: AV-prefix all codec flagsVittorio Giovara
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27lavc: AV-prefix all codec capabilitiesVittorio Giovara
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-03-26avcodec/ac3dec: Put CONFIG* first in if()Michael Niedermayer
This may fix build failures with EAC3 disabled and is more consistent Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-18avcodec/ac3dec_fixed: fix compilation when ac3dec is disabledJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-03-15avcodec/ac3dec: Fix undefined shiftsMichael Niedermayer
Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <tfoucu@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-14ac3dec: cosmeticsChristophe Gisquet
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-14ac3_fixed: fix computation of spx_noise_blendChristophe Gisquet
It was set to 1 instead of sqrt(3) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-14ac3_fixed: fix out-of-bound readChristophe Gisquet
Should also improve decoding, but actually doesn't... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-14Merge commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0'Michael Niedermayer
* commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0': avcodec: Don't anonymously typedef structs Conflicts: libavcodec/alac.c libavcodec/cinepak.c libavcodec/cscd.c libavcodec/dcadec.c libavcodec/g723_1.c libavcodec/gif.c libavcodec/iff.c libavcodec/kgv1dec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/ra288.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-14avcodec: Don't anonymously typedef structsDiego Biurrun
2015-02-04avcodec/ac3dec: use init_get_bits8()Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2014-11-21avcodec/ac3dec: Use avpriv_float_dsp_alloc()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-27Improved AC3 decoder level support (heavy drc, dialnorm)Jean-Francois Thibert
Added support for AC3 heavy dynamic range compression used to restrict the output range and added a setting to specify the output target level and use the dialog normalization field to apply it in the digital domain. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-23Merge commit 'c67b449bebbe0b35c73b203683e77a0a649bc765'Michael Niedermayer
* commit 'c67b449bebbe0b35c73b203683e77a0a649bc765': dsputil: Split bswap*_buf() off into a separate context Conflicts: configure libavcodec/4xm.c libavcodec/ac3dec.c libavcodec/ac3dec.h libavcodec/apedec.c libavcodec/eamad.c libavcodec/flacenc.c libavcodec/fraps.c libavcodec/huffyuv.c libavcodec/huffyuvdec.c libavcodec/motionpixels.c libavcodec/truemotion2.c libavcodec/x86/Makefile libavcodec/x86/dsputil_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-23dsputil: Split bswap*_buf() off into a separate contextDiego Biurrun
2014-04-02avcodec/ac3dec: use av_freep() for safteyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-01avcodec/ac3dec: avoid #if, use if() instead, its cleaner and shorterMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nedeljko Babic <nbabic@mips.com>
2014-04-01avcodec/ac3: rename identifier used to select the fixed point variantMichael Niedermayer
the CONFIG_ prefix is used by configure, using it for other things is potentially confusing to the reader Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nedeljko Babic <nbabic@mips.com>
2014-04-01libavcodec: Implementation of AC3 fixedpoint decoderNedeljko Babic
Signed-off-by: Nedeljko Babic <nbabic@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-01avcodec/ac3_parser: add avpriv_ac3_parse_header2() and use it in libavcodecMichael Niedermayer
The new function has the ability to allocate the structure, allowing it to grow without needing major bumps Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-16Merge commit '9cd4bc41760f8ad879e248920eacbe1e7757152c'Michael Niedermayer
* commit '9cd4bc41760f8ad879e248920eacbe1e7757152c': ac3dec: set AV_FRAME_DATA_DOWNMIX_INFO side data. Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-16ac3dec: set AV_FRAME_DATA_DOWNMIX_INFO side data.Tim Walker
2014-01-30Merge commit '23d461fe8714a20ee5e6929f22c61512fdda568e'Michael Niedermayer
* commit '23d461fe8714a20ee5e6929f22c61512fdda568e': ac3dec: Allow asymmetric application of DRC when drc_scale > 1 Conflicts: libavcodec/ac3dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-30ac3dec: Allow asymmetric application of DRC when drc_scale > 1John Stebbins
Amplification of quiet sounds is enhanced. Inspired by gbooker's A52Decoder.
2014-01-20Merge commit 'ade75fb811500f3e3f284737f123938d83be728f'Michael Niedermayer
* commit 'ade75fb811500f3e3f284737f123938d83be728f': (e)ac3: clip surround mix level indexes. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-20Merge commit 'c229f571fd3c7d7b567c27c87b2bbcdaee1b0e9f'Michael Niedermayer
* commit 'c229f571fd3c7d7b567c27c87b2bbcdaee1b0e9f': (e)ac3: parse and store the Lt/Rt and LFE mix levels. Merged-by: Michael Niedermayer <michaelni@gmx.at>