summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: loongson optimized h264pred with mmi周晓勇2015-07-154-0/+911
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: loongson disable expensive optimizations in gcc O3 optimization周晓勇2015-07-151-3/+3
| | | | | | | | | With gcc-4.9.2 loongson faild in test fate-dca, this is caused by option -fexpensive-optimizations in -O3 optimization. We disable it temporarily before the bug been fixed up. Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/internal: add more words to sentanceMichael Niedermayer2015-07-151-1/+1
| | | | | | | Hopefully fixes english syntax Found-by: ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* MAINTAINERS: add myself as libkvazaar maintainerArttu Ylä-Outinen2015-07-151-0/+1
| | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Implement a same origin policy for references instead of only ↵Michael Niedermayer2015-07-151-2/+42
| | | | | | | | allowing a subset of relative pathes in references Fixes Ticket4671 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/x86/vf_psnr.asm: split one line of license text into twoPaul B Mahol2015-07-141-1/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_removegrain: add x86 and x86_64 SSE2 functionsJames Darnley2015-07-146-19/+1370
| | | | | | | | | | | Speed of all modes increased by a factor between 7.4 and 19.8 largely depending on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up by a factor of 43 (thanks quick sort!) All modes are available on x86_64 but only modes 1, 10, 11, 12, 13, 14, 19, 20, 21, and 22 are available on x86 due to the number of SIMD registers used. With a contribution from James Almer <jamrial@gmail.com>
* avcodec/mjpegdec: Fix DC overflow in decode_block()Michael Niedermayer2015-07-151-0/+1
| | | | | | Fixes Ticket4683 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: inform the user if the protocol cannot be determinedMichael Niedermayer2015-07-151-0/+7
| | | | | | Assuming the wrong protocol can lead to suboptimal seeking performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: adjust short skip threshold in ↵Michael Niedermayer2015-07-151-0/+6
| | | | | | | | ff_configure_buffers_for_index() to avoid seeking if a packet is skiped Fixes Ticket4126 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Fix opening relative referencesMichael Niedermayer2015-07-151-2/+5
| | | | | | | | | | Possibly fixes Ticket4671 the removed check is wrong and insufficient Based on patch by Maksym Veremeyenko <verem@m1.tv> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg12dec: Fix decoding of faulty interlaced mpeg2Michael Niedermayer2015-07-151-1/+0
| | | | | | Fixes Ticket4721 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/internal: Improve docs about ff_request_frame()Michael Niedermayer2015-07-151-0/+19
| | | | | Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: Fix build with older gcc versionsTimo Rothenpieler2015-07-141-5/+5
| | | | | Aparently anonymous structs weren't always supported, not even sure if they are standard conformant.
* avformat: don't crash API users when demuxing mp4wm42015-07-141-1/+1
| | | | | | This code is one big chunk of WTF. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: add libkvazaar HECV encoderArttu Ylä-Outinen2015-07-148-2/+289
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vf_psnr: sse2 optimizations for sum-squared-error.Ronald S. Bultje2015-07-145-42/+247
| | | | | | | | | | | | The internal line accumulator for 16bit can overflow, so I changed that from int to uint64_t in the C code. The matching assembly looks a little weird but output looks correct. (avx2 should be trivial to add later.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/fifo: Fix the case where func() returns less bytes than requested in ↵Zhang Rui2015-07-141-1/+2
| | | | | | av_fifo_generic_write() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: Fix cleanup after failed allocation of output_filesMichael Niedermayer2015-07-141-1/+4
| | | | | | | Fixes: 39a25908b84604acdaa490138282d091_signal_sigsegv_7ffff713351a_331_WAWV.avi with memlimit of 262144 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Fix deallocation when MOVStreamContext failed to allocateMichael Niedermayer2015-07-141-0/+3
| | | | | | | Fixes: 260813283176b57b3c9974fe284eebc3_signal_sigsegv_7ffff713351a_991_xtrem_e2_m64q15_a32sxx.3gp with memlimit of 262144 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_ssim: Fix "incompatible pointer type" warningsMichael Niedermayer2015-07-141-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: Fix crash with ost->last_frame allocation failureMichael Niedermayer2015-07-141-1/+1
| | | | | | | Fixes: 1013dbde2c360d939cc2dfc33e4f275c_signal_sigsegv_a0500f_45_320vp3.nsv with memlimit of 536870912 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: Fix deallocating input threads with partly failed file allocationMichael Niedermayer2015-07-141-1/+1
| | | | | | | Fixes: 18615ff56beedc63a884a8db0678b47c_signal_sigsegv_7ffff713351a_991_xtrem_e2_m64q15_a32sxx.3gp with memlimit of 524288 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vf_ssim: x86 simd for ssim_4x4xN and ssim_endN.Ronald S. Bultje2015-07-145-9/+284
| | | | | | | | Both are 2-2.5x faster than their C counterpart. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/mem_internal: add missing header includesJames Almer2015-07-131-0/+3
| | | | | | | Fixes make checkheaders Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/qsv.c: Issue fixed: QSV engine does not release display handler ↵Ivan Uskov2015-07-146-22/+52
| | | | | | | under linux platform. Reviewed-by: Gwenole Beauchesne <gb.devel@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'a5a6a786bfebb85c269abc25559fd71963983581'Michael Niedermayer2015-07-140-0/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a5a6a786bfebb85c269abc25559fd71963983581': mp3: Forward seeking errors Conflicts: libavformat/mp3dec.c No change as the avio_seek() that are part of seeking in mp3 are already checked in FFmpeg Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * mp3: Forward seeking errorsLuca Barbato2015-07-131-1/+3
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '32c8d89c036b0e75ece74aea638df587099def0b'Michael Niedermayer2015-07-141-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '32c8d89c036b0e75ece74aea638df587099def0b': hevc: Print the non-supported chroma_format_idc Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: Print the non-supported chroma_format_idcLuca Barbato2015-07-131-1/+2
| | | | | | | | | | | | And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '8e373fe048812a25b238ea60a7052b8c07639a42'Michael Niedermayer2015-07-141-42/+50
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '8e373fe048812a25b238ea60a7052b8c07639a42': hevc: Factor out the pixel format mapping from the sps parser Conflicts: libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc: Factor out the pixel format mapping from the sps parserLuca Barbato2015-07-131-27/+34
| | | | | | | | | | | | The function will grow larger as more formats are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'c571424c7f6276a6374e1784ce2a33d4b6a4292d'Michael Niedermayer2015-07-141-4/+8
|\ \ | |/ | | | | | | | | | | * commit 'c571424c7f6276a6374e1784ce2a33d4b6a4292d': asfdec: prevent memory leaks found with Coverity Scan Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * asfdec: prevent memory leaks found with Coverity ScanAlexandra Hájková2015-07-131-4/+8
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/mpegvideo: Fix null pointer dereference of picture arrayMichael Niedermayer2015-07-141-1/+1
| | | | | | | | | | | | | | Fixes: 0d0a2bace067d09c08f0fa5340496c23_signal_sigsegv_7ffff713351a_342_WobblyWindowsIntro.avi with memlimit of 67108864 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffmpeg: Fix cleanup with ost = NULLMichael Niedermayer2015-07-131-1/+6
| | | | | | | | | | | | | | Fixes: 09e670595acbdafb226974b08dab66e3_signal_sigabrt_7ffff70eccc9_991_xtrem_e2_m64q15_a32sxx.3gp with memlimit of 1048576 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_parser: Fix memleaks in parser mixMichael Niedermayer2015-07-131-1/+11
| | | | | | | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggdec: Check buf before copying data in to itMichael Niedermayer2015-07-131-2/+10
| | | | | | | | | | | | | | | | Fixes null pointer dereference Fixes: aace024653cc62947336b86f8de812ab_signal_sigsegv_a0500f_343_WobblyWindowsIntro.ogg with memlimit 262144 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/pthread_frame: check avctx on deallocationMichael Niedermayer2015-07-131-3/+4
| | | | | | | | | | | | | | | | Fixes null pointer dereferences Fixes: af1a5a33e67e479f439239097bd0d4fd_signal_sigsegv_7ffff713351a_152_Dolby_Rain_Logo.pmp with memlimit of 8388608 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_parser: use the old parser only when hevc decoder is availableJames Almer2015-07-132-7/+5
| | | | | | | | | | | | | | If it's not, then the new dependence-free parser will be used instead Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/frame: fix crash with av_frame_unref(NULL)Michael Niedermayer2015-07-131-0/+3
| | | | | | | | | | | | | | Fixes: af94b3a3d26586c08f557cafe8246251_signal_sigsegv_7ffff713351a_343_XFMode.ASF with 2097152 alloc limit Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mpegvideo: Check for NULL in ff_mpv_common_end()Michael Niedermayer2015-07-131-0/+3
| | | | | | | | | | | | | | Fixes: af94b3a3d26586c08f557cafe8246251_signal_sigsegv_7ffff713351a_343_XFMode.ASF with 1048576 alloc limit Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/vp3: check current_frame before accessing itMichael Niedermayer2015-07-131-0/+2
| | | | | | | | | | | | | | | | Fixes null pointer dereference Fixes: b15eb06e0111e94bc59123c86db7aff9_signal_sigsegv_a0500f_45_320vp3.nsv with allocation limit 536870912 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: Fix build with --disable-decoders --enable-parser=hevcMichael Niedermayer2015-07-131-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1b9a8e5f1d007ea19f04032490d681becd0d4e6a'Michael Niedermayer2015-07-130-0/+0
|\ \ | |/ | | | | | | | | | | | | * commit '1b9a8e5f1d007ea19f04032490d681becd0d4e6a': dxva2_hevc: unbreak compilation after recent sps/pps changes See: 1aab5d8ab1e27449a2d58d6f001bb34784f402bf Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dxva2_hevc: unbreak compilation after recent sps/pps changesJames Almer2015-07-131-70/+72
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'a062a55d37720abc8c704aa0e8682efd3cdc9c9b'Michael Niedermayer2015-07-133-54/+77
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'a062a55d37720abc8c704aa0e8682efd3cdc9c9b': hevc_parser: fix standalone build with the hevc decoder disabled Conflicts: libavcodec/Makefile libavcodec/hevc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc_parser: fix standalone build with the hevc decoder disabledAnton Khirnov2015-07-133-54/+77
| | | | | | | | | | | | The parser depends on hevc_ps, which in turn needs some data tables. Found-by: James Almer <jamrial@gmail.com>
* | Merge commit 'b9f76d19d81fbc7f088536f966c2d3dc23c34ddc'Michael Niedermayer2015-07-130-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'b9f76d19d81fbc7f088536f966c2d3dc23c34ddc': hevc_ps: make sure failing to decode an SPS always returns an error Conflicts: libavcodec/hevc_ps.c See: 15893adbdb6a7000f59207bcb88def6e7b4812b9 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hevc_ps: make sure failing to decode an SPS always returns an errorAnton Khirnov2015-07-131-1/+1
| | | | | | | | | | Some of the goto err clauses do not set the error code. It seems better to fall back on INVALIDDATA instead of adding it everywhere explicitly.
OpenPOWER on IntegriCloud