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
2013-11-28h264_refs: make sure not to write over the bounds of the default ref listAnton Khirnov
Fixes invalid writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
2013-11-18lavc: use buf[0] instead of data[0] in checks whether a frame is allocatedAnton Khirnov
data[0] may be NULL for valid frames with hwaccel pixel formats.
2013-08-20avcodec: Remove some commented-out debug cruftDiego Biurrun
2013-04-27h264_refs: Do not print check_opcodes() return valueDiego Biurrun
The return value provides no useful information and removing the printing avoids the following warning: libavcodec/h264_refs.c:788:15: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
2013-03-21h264: add a parameter to the FIELD_PICTURE macro.Anton Khirnov
This way it does not look like a constant.
2013-03-11h264_refs: cosmetics, reformatAnton Khirnov
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-26Remove unnecessary dsputil.h #includesDiego Biurrun
2013-02-15h264: deMpegEncContextizeAnton Khirnov
Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-01-15h264: fix ff_generate_sliding_window_mmcos() prototype.Anton Khirnov
It's been returning an error value since bad446e251405dc250c3cbee199072e083a1e4b9 Also check for the errors it returns.
2013-01-14h264: don't clobber mmco opcode tables for non-first slice headers.Ronald S. Bultje
Clobbering these tables will temporarily clobber the template used as a basis for other threads to start decoding from. If the other decoding thread updates from the template right at that moment, subsequent threads will get invalid (or, usually, none at all) mmco tables. This leads to invalid reference lists and subsequent decode failures. Therefore, instead, decode the mmco tables only for the first slice in a field or frame. For other slices, decode the bits and ensure they are identical to the mmco tables in the first slice, but don't ever clobber the context state. This prevents other threads from using a clobbered/invalid template as starting point for decoding, and thus fixes decoding in these cases. This fixes occasional (~1%) failures of h264-conformance-mr1_bt_a with frame-multithreading enabled. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-09-27h264_refs: Fix debug tprintf argument typesDiego Biurrun
2011-12-03h264: fix frame reordering code.Ronald S. Bultje
Fixes fate-h264-conformance-{mr2_tandberg_e,mr3_tandberg_b} without requiring -strict 1.
2011-10-22lavc: replace references to deprecated AVCodecContext.error_recognition to ↵Dustin Brody
use AVCodecContext.err_recognition Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-19h264: correct the check for invalid long term frame index in MMCO decodeJeff Downs
The current check on MMCO parameters prohibits a "max long term frame index plus 1" of 16 (frame idx of 15) for the "set max long term frame index" MMCO. Fix this off-by-one error to allow the full range of legal values. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-18h264: hide reference frame errors unless requestedDustin Brody
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-08-12h264: add missing brackets.Ronald S. Bultje
This caused failure of a few fate tests.
2011-08-09h264: propagate error return values for AV_LOG_ERROR-triggering eventsDustin Brody
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-07-11Eliminate FF_COMMON_FRAME macro.Diego Biurrun
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
2011-05-10h264: do not print "too many references" warning for intra-only.Ronald S. Bultje
Fixes issue 2679.
2011-05-02Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-07-05Perform sliding window operation during frame gap handling.Michael Niedermayer
This avoids some warnings about too many reference frames. Originally committed as revision 24057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05Factorize ff_generate_sliding_window_mmcos() out.Michael Niedermayer
Originally committed as revision 24056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-31Fix implicit weight for b frames in mbaff.Michael Niedermayer
Originally committed as revision 22733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04Reorder indexes in weight tables.Michael Niedermayer
5 cpu cycles faster. Originally committed as revision 22183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03Merge weight & offset tables, 15 cpu cycles faster.Michael Niedermayer
Originally committed as revision 22169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12Split all the reference picture handling off h264.c.Michael Niedermayer
Originally committed as revision 21172 to svn://svn.ffmpeg.org/ffmpeg/trunk