summaryrefslogtreecommitdiffstats
path: root/libavcodec/pngdec.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* png: read and write stereo3d frame side data informationKirill Gavrilov2015-10-301-0/+18
| | | | | | | Use optional sTER chunk defining side-by-side stereo pair within "Extensions to the PNG 1.2 Specification", version 1.3.0. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* png: Be more informative regarding signature errorsLuca Barbato2015-08-021-3/+17
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* png: Set the color range as full rangewm42015-05-091-0/+2
| | | | | | The format uses full range for the gray formats. CC: libav-stable@libav.org
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-191-3/+3
|
* png: improve signature checkVittorio Giovara2015-01-141-3/+4
| | | | | Return proper error code, print an error message and add missing parentheses.
* png: support reading gray+alpha at 16 bitsVittorio Giovara2014-08-041-0/+3
|
* png: disable broken MMX/SIMD code for bpp <= 2Vittorio Giovara2014-08-041-1/+1
| | | | | The decoder was producing different results when ASM was disabled. Based on a long debug session with Kostya.
* avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-041-1/+1
| | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* pngdec: correctly indent macrosVittorio Giovara2014-08-011-17/+17
|
* png: K&R formatting cosmeticsVittorio Giovara2014-03-161-104/+117
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* pngdec: Stop trying to decode once inflate returns Z_STREAM_ENDMartin Storsjö2013-09-291-0/+4
| | | | | | | | | | If the input buffer contains more data after the deflate stream, the loop previously left running infinitely, with inflate returning Z_STREAM_END. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove commented-out debug #define cruftDiego Biurrun2013-05-161-2/+0
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-24/+15
|
* pngdec: cosmetics, reformat.Anton Khirnov2013-01-261-73/+77
| | | | Also remove a commented out line.
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-2/+2
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-8/+8
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* png: check bit depth for PAL8/Y400A pixel formats.Ronald S. Bultje2012-05-041-2/+4
| | | | | | | | Wrong bit depth can lead to invalid rowsize values, which crashes the decoder further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | 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>
* png: convert to bytestream2 API.Ronald S. Bultje2012-03-081-39/+30
| | | | | | | Protects against overreads in the input buffer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* png: make .long_name more descriptivePaul B Mahol2012-02-211-1/+1
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* png: move DSP functions to their own DSP context.Ronald S. Bultje2012-01-291-5/+5
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-10/+8
| | | | It's more readable and less prone to breakage.
* Fix incorrect max_lowres valuesMans Rullgard2011-07-201-1/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused variablesMans Rullgard2011-06-021-7/+6
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 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-3/+3
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | 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 av_ prefix to bswap macrosMåns Rullgård2010-07-101-1/+1
| | | | Originally committed as revision 24170 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/+1
| | | | | | value is higher. Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pngdec: Add support for PIX_FMT_Y400AAndreas Öman2010-04-141-0/+2
| | | | Originally committed as revision 22882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-311-1/+1
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-1/+1
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pngdec.c : release allocated buffers.Jai Menon2009-12-011-1/+13
| | | | Originally committed as revision 20680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.Diego Biurrun2009-07-301-16/+10
| | | | Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support RGB48 PNG decodingKostya Shishkov2009-06-301-0/+10
| | | | Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
* png decoder use get_buffer, set CODEC_CAP_DR1Baptiste Coudurier2009-06-051-1/+1
| | | | Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix unaligned dsputil call.Vitor Sessak2009-05-241-3/+8
| | | | | | Should fix FATE corepng test on Solaris/Sparc. Originally committed as revision 18930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support to CorePNG P-frames.Thilo Borgmann2009-04-101-5/+29
| | | | | | Patch by Thilo Borgmann thilo DOT borgmann A googlemail com. Originally committed as revision 18421 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
* 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
* Remove useless casts.avcoder2008-07-101-5/+5
| | | | | | Patch by avcoder ffmpeg at gmail d0t com Originally committed as revision 14154 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud