summaryrefslogtreecommitdiff
path: root/libavcodec/error_resilience.c
Commit message (Collapse)AuthorAge
* Add some more deprecation guardsDiego Biurrun2016-05-11
| | | | Avoids unused function/label/variable warnings after the next version bump.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* error_resilience: do not require mbintra/skip tablesAnton Khirnov2015-03-21
| | | | h264dec does not use them at all and only allocates them for ER.
* error_resilience: move the MECmpContext initialization into ER codeAnton Khirnov2015-01-27
| | | | | | | Currently, it needs to be initialized by the ER caller (which is currently either a mpegvideo decoder or h264dec). However, since none of those decoders use MECmpContext for anything except ER, it makes more sense to handle it purely inside ER.
* error_resilience: initialize prev_* variablesVittorio Giovara2014-11-03
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732293 / CID 732294
* error_resilience: Drop asserts from guess_mv()Diego Biurrun2014-08-21
| | | | | The asserts check struct members that are not referenced in guess_mv() and one of them fails to compile.
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* lavc: er: remove unused variable sizeJanne Grunau2014-03-18
| | | | The code using it was removed in d66e305bd1b.
* mpegvideo: move mpegvideo formats-related defines to mpegutils.hVittorio Giovara2014-03-16
|
* er: move relevant fields from Picture to ERPictureVittorio Giovara2014-03-16
| | | | | | | This is done to disentangle ER from mpegvideo. In order to use a classic Picture, callers can use ff_mpeg_set_erpic() or use a custom function to set the fields. Please note that buffers need to be allocated before calling ff_er_frame_end().
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | Also switch from "tbl" to "tab" name suffixes.
* Deprecate obsolete XvMC hardware decoding supportDiego Biurrun2013-11-13
| | | | | | | XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.
* error resilience: check error_concealment, not err_recognition.Anton Khirnov2013-10-28
| | | | | err_recognition is supposed to trigger detecting and reporting errors, not trying to fix them.
* vdpau: remove old-style decodersRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: stop setting AVFrame.motion_subsample_log2Anton Khirnov2013-03-08
| | | | | It is not used inside lavc anywhere and now it makes no sense to export it.
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* error_resilience: decouple ER from MpegEncContextAnton Khirnov2013-02-15
|
* error_resilience: remove a useless if() and FIXMEAnton Khirnov2013-02-06
| | | | pp_time is never set for h264
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* mpegvideo: remove VLAsRonald S. Bultje2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove lowres video decodingMans Rullgard2012-04-21
| | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* error_resilience: initialize s->block_index[].Ronald S. Bultje2012-03-06
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Replace AVFrame pointer casts by proper struct member accesses.Diego Biurrun2012-03-01
|
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* error_resilience: K&R formatting cosmeticsDonald Ovcharov2012-01-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Fix a bunch of platform name and other typos.Diego Biurrun2012-01-11
|
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* Fix a bunch of typos.Diego Biurrun2012-01-02
|
* lavc: introduce ER_MB_END and ER_MB_ERRORLuca Barbato2011-12-13
| | | | | | Simplify a little error resilience calls Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* error_resilience: use the ER_ namespaceLuca Barbato2011-12-13
| | | | | | Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* lavc: convert error_recognition to err_recognition.Dustin Brody2011-12-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* error_resilience: fix the check for missing references in ff_er_frame_end() ↵Laurent Aimar2011-10-10
| | | | | | for H264 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | 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.
* error_resilience: skip last-MV predictor step if MVs are not available.Ronald Bultje2011-06-20
| | | | Fixes crashes when playing broken MPEG2-TS streams.
* error_resilience: actually add counter when adding a MV predictor.Ronald Bultje2011-06-20
| | | | Without, the predictor isn't actually used.
* H264/MPEG frame-level multi-threading.Alexander Strange2011-06-02
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun2011-04-26
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Add rectangle.h #include for fill_rectangle().Diego Biurrun2010-04-13
| | | | Originally committed as revision 22877 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the EC code does not attempt to use inter based concealment if thereMichael Niedermayer2010-03-30
| | | | | | | is no reference frame available. (this can happen because the EC code will attempt to use reference frames even for I/IDR frames) Originally committed as revision 22732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change ref_index structure so it matches how its organized in h264.Michael Niedermayer2010-03-23
| | | | | | Also revert the related error concealment hotfix. Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation with --disable-everything --enable-decoder=mpeg2videoAurelien Jacobs2010-03-20
| | | | Originally committed as revision 22612 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Hotfix for regtest-error failureMichael Niedermayer2010-03-20
| | | | | | | a proper fix appears to require changing h263/mpeg2/motion est to index ref_index like h264. Ill do this change and then revert this hotfix but it will take a bit time. Originally committed as revision 22608 to svn://svn.ffmpeg.org/ffmpeg/trunk