summaryrefslogtreecommitdiff
path: root/libavcodec/indeo3.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* indeo3: check ff_set_dimensions return valueVittorio Giovara2014-11-13
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1135740
* indeo3: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* indeo3: avoid writes without necessary alignment in copy_cell()Janne Grunau2013-05-10
| | | | | | | Cells starting at a position aligned to 8 pixels but wider than 4 blocks are copied with 3 blocks per loop. This creates problems on the next loop iterations since the routine copying 2 blocks requires the same alignment on some architectures like ARM NEON.
* indeo3: use unaligned reads on reference blocks.Anton Khirnov2013-05-07
| | | | | | | They are not guaranteed to be aligned. Fixes Bug 503. CC:libav-stable@libav.org
* indeo3: use put_pixels instead of put_no_rnd_pixels in copy_cell()Anton Khirnov2013-04-30
| | | | | They are the same in this case, except put_pixels also has blocksizes smaller than 8.
* indeo3: fix off by one in MV validity checkAnton Khirnov2013-04-30
| | | | CC:libav-stable@libav.org
* indeo3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes the Indeo 3 decoder independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: check motion vectors.Anton Khirnov2013-04-17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* indeo3: fix data size checkAnton Khirnov2013-04-17
| | | | | | | | | The data offsets are relative to the bistream header, which is 16 bytes after the start of the data. Fixes invalid reads with corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* indeo3: switch parsing the header to bytestream2Anton Khirnov2013-04-17
| | | | | | | | Also add an additional sanity check to the alt_quant table. Fixes invalid reads with corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* indeo3: replace use of copy_block4 with put_pixelsMans Rullgard2013-02-07
| | | | | | The destination is sufficiently aligned for put_pixels here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* indeo3: remove duplicate capabilities line.Anton Khirnov2012-10-29
|
* lavc: add CODEC_CAP_DR1 to all video decoders missing themAnton Khirnov2012-10-29
|
* indeo3: do not try to output more lines than we can fitKostya Shishkov2012-10-19
| | | | | | | | Internally chroma planes have multiple of four height while allocated image planes might be smaller if CODEC_FLAG_EMU_EDGE is set. Thus we should not output more lines of chroma than frame can accept. Also the decoder can be safely switched to direct rendering now.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* indeo3: fix out of cell write.Anton Khirnov2012-09-29
| | | | | | | | Fixes CVE-2012-2776. CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* indeo3: validate new frame size before resetting decoderKostya Shishkov2012-05-15
|
* indeo3: when freeing buffers, set pointers referencing them to NULL as wellKostya Shishkov2012-05-15
|
* indeo3: initialise pixel planes on allocationKostya Shishkov2012-05-15
| | | | This prevents decoder from reading garbage from it in case of errors later.
* indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoderKostya Shishkov2012-05-15
|
* indeo3: fix motion vector validationHendrik Leppkes2012-05-01
| | | | | | | | The index of the motion vector has to be checked before being multiplied by 2 for the array index. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Indeo3: fix crashes on corrupt bitstreams.Ronald S. Bultje2012-02-28
| | | | | | | | | Splits at borders of cells are invalid, since it leaves one of the cells with a width/height of zero. Also, propagate errors on buffer allocation failures, so we don't continue decoding (which crashes). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: check motion vectors for validityJanne Grunau2012-01-07
| | | | | | Fixes null pointer dereferences in fuzzed files found by Oana Stratulat. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* indeo3: check per-plane data buffer against input buffer bounds.Aneesh Dogra2011-11-29
| | | | | | Fixes : http://bugzilla.libav.org/show_bug.cgi?id=102 Signed-off-by: Alex Converse <alex.converse@gmail.com>
* indeo3: cosmeticsKostya Shishkov2011-11-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo3: error out if no motion vector is set.Aneesh Dogra2011-11-27
| | | | | | This fixes a crash on a corrupt bitstream (bugzilla #93). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* indeo3: Fix a fencepost error.Alex Converse2011-11-08
| | | | Found with asan and the venerable 1-dog.avi sample.
* replacement Indeo 3 decoderMaxim Poliakovski2011-11-03
| | | | | | | The new decoder is much smaller and has better code quality. Cleanup and fixes courtesy of Kostya Shishkov. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* indeo3: Eliminate use of long.Alex Converse2011-05-03
|
* 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>
* 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 av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 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
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk