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
2018-11-25avcodec/eac3dec: remove obsolete commentPaul B Mahol
2018-09-22avcodec/eac3dec: Check that channel_map does not contain more than ↵Michael Niedermayer
EAC3_MAX_CHANNELS Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-03-29avcodec/eac3: add support for dependent streamPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-10-28Merge commit '50a1c66cf6ab7eb683daaa9e2da3869fa3a54609'James Almer
* commit '50a1c66cf6ab7eb683daaa9e2da3869fa3a54609': ac3_parser: add a public function for parsing the data required by the demuxer avpriv_ac3_parse_header() is left in place but without the GetBitContext parameter, as the mov muxer requires a lot more fields than just bitstream_id and frame_size from the AC3HeaderInfo struct. Merged-by: James Almer <jamrial@gmail.com>
2017-04-12ac3_parser: add a public function for parsing the data required by the demuxerAnton Khirnov
Make the current semi-public avpriv_ac3_parse_header() private to lavc. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-02-26avcodec/eac3dec: Fix runtime error: left shift of negative value -3Michael Niedermayer
Fixes: 672/clusterfuzz-testcase-5595018867769344 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-02-19avcodec/eac3dec: Fix runtime error: left shift of negative valueMichael Niedermayer
Fixes: 610/clusterfuzz-testcase-4831030085156864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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-05-09Merge commit 'fef2147b7a689b80d716c3edb9d4a18904865275'Derek Buitenhuis
* commit 'fef2147b7a689b80d716c3edb9d4a18904865275': eac3dec: don't call avpriv_request_sample every frame. Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-02eac3dec: don't call avpriv_request_sample every frame.Tim Walker
These errors neither prevent nor stop successful decoding of the E-AC-3 stream's "core", causing avpriv_request_sample to be called for every single frame in the bitstream. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-03-14eac3dec: fix scalingChristophe Gisquet
This is the remaining error, the output on the SPX samples, respectively csi_miami_stereo_128_spx.eac3 and csi_miami_5.1_256_spx.eac3, goes from: stddev: 8.71 PSNR: 77.52 MAXDIFF: 235 stddev:24270.51 PSNR: 22.17 MAXDIFF:47166 to: stddev: 0.12 PSNR:114.12 MAXDIFF: 1 stddev: 0.12 PSNR:114.73 MAXDIFF: 1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-14ac3dec_fixed: always use the USE_FIXED=1 variant of the AC3DecodeContextAndreas Cadhalpun
The AC3DecodeContext has a float (USE_FIXED=0) and an integer (USE_FIXED=1) variant, both of which can be present in the same binary. This is not only very confusing, but it also breaks horribly, when one variant is used by code expecting the other. This currently happens, because eac3dec.c is only compiled for the float variant, but also used from ac3dec_fixed.c, which uses the integer variant. The result is memory corruption, leading to crashes. So compile eac3dec.c once for each variant and adapt it, so that it works with the integer variant. A loss of precission and scaling bug has been fixed by the committer 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-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: eac3: cosmetics, re-indent. Merged-by: Michael Niedermayer <michaelni@gmx.at>
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>
2014-01-20Merge commit '1f604f96ea70503caa642f68a85be6074a5b3f46'Michael Niedermayer
* commit '1f604f96ea70503caa642f68a85be6074a5b3f46': ac3: set default matrix encoding modes in parse_frame_header. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-19eac3: cosmetics, re-indent.Tim Walker
2014-01-19(e)ac3: clip surround mix level indexes.Tim Walker
Values 0-2 are reserved, 3 (-1.5dB) should be used instead.
2014-01-19(e)ac3: parse and store the Lt/Rt and LFE mix levels.Tim Walker
2014-01-19ac3: set default matrix encoding modes in parse_frame_header.Tim Walker
Deduplicates some code.
2014-01-06Merge commit '13345fc1f86fc3615789e196d5a339c1c27c9068'Michael Niedermayer
* commit '13345fc1f86fc3615789e196d5a339c1c27c9068': (e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode flags. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-05(e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode ↵Tim Walker
flags.
2013-03-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avcodec: av_log_missing_feature(1) ---> avpriv_request_sample() Conflicts: libavcodec/aacsbr.c libavcodec/amrnbdec.c libavcodec/takdec.c libavcodec/tta.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-14avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()Diego Biurrun
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-10-23Merge commit '8b8899ac3233b4f7af83ded0dc032fad8902d714'Michael Niedermayer
* commit '8b8899ac3233b4f7af83ded0dc032fad8902d714': fate: Declare avcodec/avformat deps in the respective Makefile snippets fate: Add dependencies for WMA and WavPack tests Improve wording and spelling of av_log_missing_feature messages. lavu: remove disabled FF_API_AV_FIFO_PEEK cruft Conflicts: libavcodec/aacsbr.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun
2012-10-13Merge commit '0a7005bebd23ade7bb852bce0401af1a8fdbb723'Michael Niedermayer
* commit '0a7005bebd23ade7bb852bce0401af1a8fdbb723': rtpdec_xiph: fix function return type smjpeg: fix type of 'ret' variable in smjpeg_read_packet() mpegvideo: remove write-only variable Use proper return values in case of missing features fate: add avstring test rangecoder-test: Set error message log level to error, instead of debug Conflicts: libavcodec/aacdec.c libavcodec/amrnbdec.c libavcodec/mpegvideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12Use proper return values in case of missing featuresDiego Biurrun
2012-03-13cosmetics: fix some typosLou Logan
Patch attached. From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001 From: Lou Logan <lou@lrcd.com> Date: Mon, 12 Mar 2012 14:13:44 -0800 Subject: [PATCH] cosmetics: fix some typos Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-10Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (26 commits) eac3dec: replace undefined 1<<31 with INT32_MIN in noise generation yadif: specify array size outside DECLARE_ALIGNED prores: specify array size outside DECLARE_ALIGNED brackets. WavPack demuxer: set packet duration tta: use skip_bits_long() mxfdec: Ignore the last entry in Avid's index table segments mxfdec: Sanity-check SampleRate mxfdec: Handle small EditUnitByteCount mxfdec: Consider OPAtom files that do not have exactly one EC to be OP1a mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflows mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index() mxfdec: Sanity check PreviousPartition mxfdec: Never seek back in local sets and KLVs mxfdec: Move the current_partition check inside mxf_read_header() mxfdec: Fix infinite loop in mxf_packet_timestamps() mxfdec: Check eof_reached in mxf_read_local_tags() mxfdec: Check for NULL component mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps() mxfdec: Make sure x < index_table->nb_ptses build: Add missing directories to DIRS declarations. ... Conflicts: doc/build_system.txt doc/fate.texi libavfilter/x86/yadif_template.c libavformat/mxfdec.c libavutil/Makefile tests/fate/audio.mak tests/fate/prores.mak tests/fate/screen.mak tests/fate/video.mak tests/ref/fate/bethsoft-vid tests/ref/fate/cscd tests/ref/fate/dfa4 tests/ref/fate/nuv tests/ref/fate/vp8-sign-bias tests/ref/fate/wmv8-drm tests/ref/lavf/gxf Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-10eac3dec: replace undefined 1<<31 with INT32_MIN in noise generationJanne Grunau
2011-07-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Remove h264_lowres_idct_put/add functions Remove snow/dwt test program h264: remove some disabled code Fix incorrect max_lowres values matroskadec: fix integer underflow if header length < probe length. cosmetics: indentation eac3enc: use frame exponent strategy when applicable. cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also be used in the E-AC-3 encoder. dsputil: fix ff_check_alignment() Conflicts: libavcodec/Makefile libavcodec/h264idct_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-07-19cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will alsoJustin Ruggles
be used in the E-AC-3 encoder.
2011-03-26Merge remote-tracking branch 'newdev/master'Michael Niedermayer
* newdev/master: mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom. Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser and decoder, and vice-versa for the AC-3 encoder. Use audio_service_type to set stream disposition. Add APIchanges entry for audio_service_type. Add audio_service_type field to AVCodecContext for encoding and reporting of the service type in the audio bitstream. configure: in check_ld, place new -l flags before existing ones support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl doc: update build system documentation aacenc: indentation aacenc: fix the side calculation in search_for_ms vp8.c: rename EDGE_* to VP8_EDGE_*. Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/version.h libavcodec/vp8.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-25Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parserJustin Ruggles
and decoder, and vice-versa for the AC-3 encoder.
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-03-31Add spectral extension to the E-AC-3 decoder.Carl Eugen Hoyos
Original patch by Justin, updated and resubmitted by Christophe Gisquet, christophe D gisquet A gmail Originally committed as revision 22734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23refactoring: properly separate AC-3 and E-AC-3 codeDiego Biurrun
Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29Rename ff_log_missing_feature() to av_log_missing_feature().Ronald S. Bultje
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25eac3dec: get rid of unnecessary left shifts in 16-bit * 24-bitJustin Ruggles
multiplication in GAQ mantissa ramapping. Originally committed as revision 18941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-2110l: typing mistake in r18888Justin Ruggles
Originally committed as revision 18890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21eac3dec: fix bug in GAQ dequantization. large mantissas should only beJustin Ruggles
decoded when the gain value is 2 or 4. Originally committed as revision 18889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21eac3dec: make GAQ dequantization 24-bitJustin Ruggles
Originally committed as revision 18888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQJustin Ruggles
dequantization 24-bit in a separate commit. Originally committed as revision 18887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it isJustin Ruggles
simpler and also fixes a bug in GAQ dequantization. Originally committed as revision 18860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17Add documentation about missing E-AC-3 features.Justin Ruggles
Originally committed as revision 18021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07Factorise enum of AC3 error types to be usable by AAC in the ADTS patch thatAlex Converse
will follow Patch by Alex Converse ( alex converse gmail com ) Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk