summaryrefslogtreecommitdiff
path: root/libavcodec/lagarith.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>
* dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-27
| | | | Also shorten HuffYUV context member names to avoid clutter.
* lagarith: Fix typo in printf format stringDiego Biurrun2014-03-22
| | | | libavcodec/lagarith.c:671:16: warning: '#' flag used with ‘%u’ gnu_printf format [-Wformat]
* avcodec: more correct printf specifiersDiego Biurrun2014-03-22
|
* lagarith: reallocate rgb_planes when neededAnton Khirnov2014-02-04
| | | | | | | Fixes invalid writes on pixel format changes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lagarith: do not call simd functions on unaligned linesKostya Shishkov2014-01-06
| | | | | | | | | | They end up overwriting past the line end. Partially based on a patch by Michael Niedermayer <michaelni@gmx.at> Bug-Id: vlc/9700 Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* 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
|
* lagarith: check count before writing zeros.Michael Niedermayer2012-09-29
| | | | | | | Fixes CVE-2012-2793 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lagarith: frame multithreadingHendrik Leppkes2012-08-09
| | | | | | | About 2x speedup going from 1 to 2 threads. 1.7s to 0.85s on foreman CIF. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* lagarith: fix color plane inversion for YUY2 output.Ronald S. Bultje2012-08-03
|
* lagarith: pad RGB buffer by 1 byte.Ronald S. Bultje2012-08-03
| | | | | | | | | | | For left HFYU prediction, we predict from the buffer buf+1 using 8- or 16-byte reads. This means that aligning the buffer by 16 bytes is in itself not sufficient, because if the width itself is 16- or 8-byte aligned, the buffer will not be padded, and thus a read of size 16 at buf+1 will overflow boundaries at the right edge. Padding the buffer by 1 byte is sufficient to not overflow its boundaries. Fixes bug 342.
* lagarith: add YUY2 decoding supportKostya Shishkov2012-05-08
| | | | | | | Unlike other variants, for YUY2 we need to use different prediction: * on line 0 for luma we should left predict starting from the second pixel * on line 1 we should left predict first 4 pixels for luma and 2 for chroma * median prediction employed here is taken directly from HuffYUV
* Support decoding unaligned rgb24 lagarith.Carl Eugen Hoyos2012-05-08
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* lagarith: make offset array type unsignedKostya Shishkov2012-05-06
| | | | This is logical and also fixes checking for the fourth plane offset.
* 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>
* lagarith: fix buffer overreads.Ronald S. Bultje2012-03-28
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lagarith: Add ff_ prefix to lag_rac_initMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lagarith: add decode support for arith rgb24 modeThad Ward2011-12-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lagarith: add some RGBA decoding supportKostya Shishkov2011-11-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lagarith: Add correct line prediction for RGBNathan Caldwell2011-11-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop explicit filenames from @file Doxygen tags.Diego Biurrun2011-06-05
| | | | The filename is unnecessary and brittle across file renames.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*Anton Khirnov2011-02-03
| | | | | | Tested to compile with lavc major bump. 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>
* Lagarith: fix decoding of one-coloured frames by reading the per-planeReimar Döffinger2011-01-15
| | | | | | | color value instead of always taking 0 (resulting in green frames). Fixes issue issue2531. Originally committed as revision 26363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Lagarith decoder by Nathan Caldwell, saintdev at gmailCarl Eugen Hoyos2011-01-08
Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk