summaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove lowres video decodingMans Rullgard2012-04-211-4/+1
| | | | | | | 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-061-7/+7
| | | | | | | 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-041-15/+23
| | | | | | | 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-021-7/+21
|
* rv10/20: Fix a buffer overread caused by losing track of the remaining ↵Alex Converse2012-03-021-1/+5
| | | | | | | 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-011-2/+2
|
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-151-9/+9
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h263: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv20: prevent calling ff_h263_decode_mba() with unset height/widthJanne Grunau2012-01-251-1/+2
| | | | | | | 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-241-1/+8
| | | | Found by John Villamil <johnv@matasano.com> in fuzzed rv20 in mkv files.
* lavc: introduce ER_MB_END and ER_MB_ERRORLuca Barbato2011-12-131-1/+1
| | | | | | Simplify a little error resilience calls Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* error_resilience: use the ER_ namespaceLuca Barbato2011-12-131-1/+1
| | | | | | 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-191-0/+5
| | | | | | 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-171-0/+1
| | | | | | | | 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-081-57/+45
| | | | | | | | | 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-291-18/+16
| | | | It's more readable and less prone to breakage.
* Remove unused variablesMans Rullgard2011-06-021-2/+2
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-13/+13
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-291-17/+0
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | 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-291-5/+5
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-2/+2
| | | | | | | 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-071-1/+1
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-061-1/+2
| | | | | | 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-071-0/+2
| | | | | | 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-201-1/+1
| | | | | | | | 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-301-2/+2
| | | | | | 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-311-0/+1
| | | | | | 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-091-0/+1
| | | | 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-011-4/+4
| | | | | | 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-011-4/+16
| | | | | | 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-231-1/+1
| | | | 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-231-2/+3
| | | | | | 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-031-46/+2
| | | | Originally committed as revision 19579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split RV20 encoder into its own file.Diego Biurrun2009-08-031-43/+2
| | | | 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-031-0/+23
| | | | | | 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-021-7/+0
| | | | Originally committed as revision 19566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dprintf() instead of '#ifdef DEBUG' and av_log().Diego Biurrun2009-07-281-18/+6
| | | | Originally committed as revision 19528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove disabled function get_num().Diego Biurrun2009-07-271-15/+0
| | | | | | 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-231-1/+1
| | | | Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix lowres with rv20.Michael Niedermayer2009-05-231-2/+3
| | | | | | 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-111-4/+4
| | | | 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-111-2/+2
| | | | Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* Add and use ff_pixfmt_list_420.Michael Niedermayer2009-02-241-0/+2
| | | | Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix unknown header 10001000 / ↵Michael Niedermayer2009-02-031-0/+3
| | | | | | http://samples.mplayerhq.hu/real/VC-RV10/thankyou.rm / issue809 Originally committed as revision 16967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud