summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
Commit message (Collapse)AuthorAge
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-01
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* 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>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: deprecate AVCodecContext.sub_id.Anton Khirnov2012-03-04
| | | | | | | In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
* rv10/20: Fix slice overflow with checked bitstream reader.Alex Converse2012-03-02
|
* rv10/20: Fix a buffer overread caused by losing track of the remaining ↵Alex Converse2012-03-02
| | | | | | | buffer size. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Replace AVFrame pointer type punning by proper struct member assignments.Diego Biurrun2012-03-01
|
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h263: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv20: prevent calling ff_h263_decode_mba() with unset height/widthJanne Grunau2012-01-25
| | | | | | | Prevents a crash of VLC during playback of a invalid matroska file, found by John Villamil <johnv@matasano.com>. CC: libav-stable@libav.org
* rv10: verify slice offsets against buffer sizeJanne Grunau2012-01-24
| | | | Found by John Villamil <johnv@matasano.com> in fuzzed rv20 in mkv files.
* 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>
* rv10: Reject slices that does not have the same type as the first oneLaurent Aimar2011-09-19
| | | | | | This prevents crashes with some corrupted bitstreams. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv10/20: tell decoder to use edge emulationKostya Shishkov2011-08-17
| | | | | | | | This removes out-of-edge motion compensation artifacts (easily spotted green blocks in avplay, gray blocks in transcoding), for example here: http://samples.libav.org/samples/real/tv_watching_t1.rm Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Saner RV1/2 initialisation and RV2 header parsing.Kostya Shishkov2011-08-08
| | | | | | | | | Old version was based on lots of guesswork which had different hacks based on 32-bit version field instead of splitting it into major/minor/micro version. RV2 picture header parser also had a few places where it deviated from binary decoder. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Remove unused variablesMans Rullgard2011-06-02
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add new decoder property max_lowres and do not init decoder if requested ↵Carl Eugen Hoyos2010-07-07
| | | | | | value is higher. Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add include to fix implicit declaration of ff_mpeg4_init_direct_mv andReimar Döffinger2010-01-31
| | | | | | ff_h263_encode_mba Originally committed as revision 21568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split H263 encoder and decoder from common code.Michael Niedermayer2010-01-09
| | | | Originally committed as revision 21109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store original width/height so that rv20 does not get stuck with someMichael Niedermayer2009-12-01
| | | | | | resolution. A sample file to show a difference is at issue833 (http://airfarce.com/video/000211fh.rm) Originally committed as revision 20691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make rv1/2 decoder use the next slice if needed.Michael Niedermayer2009-12-01
| | | | | | Fixes issue782. Originally committed as revision 20690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct order of arguments for avcodec_check_dimensions().Michael Niedermayer2009-11-23
| | | | Originally committed as revision 20590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure avcodec_set_dimensions() is used when rv20 changes resolution.Michael Niedermayer2009-11-23
| | | | | | This should fix lowres resolution changes. Originally committed as revision 20589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split RV10 encoder off into its own file.Diego Biurrun2009-08-03
| | | | Originally committed as revision 19579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split RV20 encoder into its own file.Diego Biurrun2009-08-03
| | | | Originally committed as revision 19578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.Diego Biurrun2009-08-03
| | | | | | It is better to keep the declarations in conditionally compiled places. Originally committed as revision 19573 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove commented-out cruft.Diego Biurrun2009-08-02
| | | | Originally committed as revision 19566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dprintf() instead of '#ifdef DEBUG' and av_log().Diego Biurrun2009-07-28
| | | | Originally committed as revision 19528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove disabled function get_num().Diego Biurrun2009-07-27
| | | | | | It is small and has been disabled and unused for more than four years. Originally committed as revision 19520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-05-23
| | | | Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix lowres with rv20.Michael Niedermayer2009-05-23
| | | | | | Fixes issue1102. Originally committed as revision 18920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of INIT_VLC_USE_STATIC in rv10/rv20.Michael Niedermayer2009-04-11
| | | | Originally committed as revision 18436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use INIT_VLC_USE_STATIC and not its value "1".Carl Eugen Hoyos2009-04-11
| | | | Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk