summaryrefslogtreecommitdiff
path: root/libavcodec/rv30.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: drop ff_pixfmt_list_420Vittorio Giovara2014-03-23
|
* mpegvideo: move mpegvideo formats-related defines to mpegutils.hVittorio Giovara2014-03-16
|
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | Also switch from "tbl" to "tab" name suffixes.
* rv30: fix extradata size check.Anton Khirnov2014-01-03
| | | | | | | | It has been checking the number of bits in the offset instead of the actual offset. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* rv34: Check the return value from ff_rv34_decode_initMartin Storsjö2013-09-17
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* 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 decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* rv30: fix masking in rv30_loop_filter()Xi Wang2013-01-17
| | | | | | | | | | | The mask `x && (1 << y)' is incorrect and always yields true. The correct form should be `x & (1 << y)'. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* golomb: use unsigned arithmetics in svq3_get_ue_golomb()Janne Grunau2012-12-08
| | | | | | | | | | This prevents undefined behaviour of signed left shift if the coded value is larger than 2^31. Large values are most likely invalid and caused errors or by feeding random. Validate every use of svq3_get_ue_golomb() and changed the place there the return value was compared with negative numbers. dirac.c was clean, fixed rv30 and svq3.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* 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>
* rv30: check block type validityJanne Grunau2012-02-14
| | | | | Prevents crashes with the fuzzed samples from bugs 88, 89 and 125 after "golomb: avoid infinite loop on all-zero input".
* rv34: frame-level multi-threadingJanne Grunau2012-01-10
| | | | | | | | Statistics for bourne.rmvb -an -f null 1 thread: 37.12s user 0.03s system 99% cpu 37.174 total 2 threads: 47.63s user 0.24s system 185% cpu 25.807 total 4 threads: 41.21s user 0.30s system 327% cpu 12.674 total
* Pretty-print RV3/4 decoder sourceKostya Shishkov2011-08-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* rv30: return AVERROR(EINVAL) instead of EINVALDiego Biurrun2011-07-21
| | | | On some platforms EINVAL could be positive, ensure we return negative values.
* Do not decode RV30 files if the extradata is too smallRafaël Carré2011-07-16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 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.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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
* RV3/4 intra types array causes alignment issues (at least on ARM5), thus changeKostya Shishkov2009-07-01
| | | | | | its stride and offset to always have align 4. Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add and use ff_pixfmt_list_420.Michael Niedermayer2009-02-24
| | | | Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add decoder flush after seeking for RV3/4 decodersKostya Shishkov2009-02-07
| | | | Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* 30l: when reading mb_offset in RV30 slice header its sizeKostya Shishkov2009-01-11
| | | | | | should be calculated from current frame dimensions Originally committed as revision 16536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RV30 decoder passes possible frame sizes in extradata and selectsKostya Shishkov2009-01-11
| | | | | | | | | an appropriate frame size from them in slice, make my decoder do that as well. This fixes issue 779 Originally committed as revision 16529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RV30 loop filterKostya Shishkov2008-12-20
| | | | Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Detect split RV30 slicesKostya Shishkov2008-10-28
| | | | Originally committed as revision 15732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate motion vector information based on PTS provided in slice headerKostya Shishkov2008-04-28
| | | | Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-09
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use existing function for VLC readingKostya Shishkov2007-12-07
| | | | Originally committed as revision 11185 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Intra types will be stored in int8_t arrayKostya Shishkov2007-12-07
| | | | Originally committed as revision 11183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add decoder flagsKostya Shishkov2007-12-07
| | | | Originally committed as revision 11182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: comment spelling fixesDiego Biurrun2007-12-03
| | | | Originally committed as revision 11157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RealVideo 3 decoder functionsKostya Shishkov2007-12-02
Originally committed as revision 11130 to svn://svn.ffmpeg.org/ffmpeg/trunk