summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.c
Commit message (Collapse)AuthorAgeFilesLines
* p*menc: use the AVFrame API properly.Anton Khirnov2013-12-091-10/+0
|
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-151-1/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-10/+0
|
* pnm: Use av_pix_fmt_desc_get instead of accessing the array directlyMartin Storsjö2013-02-281-1/+1
| | | | | | | This fixes boken fate tests with MSVC with DLLs, broken since b5f536d24. Signed-off-by: Martin Storsjö <martin@martin.st>
* pnm: add high-bitdepth PGMYUV support for both encoder and decoderKostya Shishkov2013-02-231-1/+8
|
* pnm: return meaningful error codes.Anton Khirnov2013-01-061-11/+11
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-17/+17
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-011-2/+2
|
* pam: Fix a typo that broke writing and reading PAM files.Carl Eugen Hoyos2012-01-221-1/+3
| | | | | | Reported and reviewed by Derek Buitenhuis. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* 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>
* Do not stop decoding on pnm files with negative maxval.Carl Eugen Hoyos2011-01-101-1/+1
| | | | Originally committed as revision 26304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for invalid maxval in pgm decoder, fixes issue 2518.Daniel Kang2011-01-101-0/+4
| | | | | | Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-071-2/+2
| | | | 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-2/+3
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support ASCII pnms.Michael Niedermayer2009-12-011-5/+10
| | | | | | Implements issue1452. Originally committed as revision 20687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move PNM init/end functions to the PNM common code.Diego Biurrun2009-10-271-0/+20
| | | | | | This is done in preparation for the PNM encoder/decoder split. Originally committed as revision 20382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics: K&R coding style, prettyprintingDiego Biurrun2009-10-271-8/+10
| | | | Originally committed as revision 20381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pnm: Add missing 'else'. Fixes decoding for 16-bit pgm.Justin Ruggles2009-03-061-1/+1
| | | | Originally committed as revision 17848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support 48-bit RGB PPM image.Peter Ross2009-02-221-1/+4
| | | | Originally committed as revision 17511 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
* cosmetics: fix indentation after r15321Justin Ruggles2008-09-141-3/+3
| | | | Originally committed as revision 15332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return error when trying to decode non-grayscale 16-bit PNM images.Justin Ruggles2008-09-141-1/+13
| | | | | | Fixes issue 566. Originally committed as revision 15321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-1/+1
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename pnm.c to pnmenc.c and pnm_common.c to pnm.cAurelien Jacobs2007-05-111-383/+104
| | | | Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move pnm parser in its own fileAurelien Jacobs2007-05-101-204/+2
| | | | Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make some parser parameters const to avoid casting const to non-constAurelien Jacobs2007-05-071-3/+3
| | | | Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics after last commitIvo van Poorten2007-04-101-1/+1
| | | | Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for grayscale images with arbitrary maxvals.Ivo van Poorten2007-04-101-2/+24
| | | | | | | | The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or gray16). Conversion is done inside the codec in order to avoid the need for 14 (or 65534) new pix_fmt's. Originally committed as revision 8704 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated PIX_FMT names by the newer variants.Diego Biurrun2007-02-071-5/+5
| | | | Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include parser.h instead of mpegvideo.hBaptiste Coudurier2006-11-061-1/+1
| | | | Originally committed as revision 6916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PGM 16-bit gray supportKostya Shishkov2006-10-241-4/+12
| | | | Originally committed as revision 6780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* --enable/disable parsers. Warning: some combinations are broken.Måns Rullgård2006-07-091-0/+2
| | | | Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-27/+27
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Kill some compiler warnings. Compiled code verified identical after changes.Måns Rullgård2005-09-061-2/+2
| | | | Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* segfault fixMichael Niedermayer2005-08-211-0/+6
| | | | Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
* a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine ↵Roine Gustafsson2005-05-101-0/+10
| | | | | | users.sourceforge net] Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid buf_size == 0 checks in every decoderMichael Niedermayer2005-01-231-5/+0
| | | | Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* various security fixes and precautionary checksMichael Niedermayer2005-01-121-2/+13
| | | | Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge pam_decode_frame() into pnm_decode_frame()Michael Niedermayer2004-11-121-127/+68
| | | | Originally committed as revision 3677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pnm parserMichael Niedermayer2004-11-121-18/+96
| | | | Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move p*m from image/lavf -> image2/lavcMichael Niedermayer2004-11-111-0/+553
video/audio_codec_id in AVFormatParameters to override/help demuxer av_guess_codec() to guess the default codecs based upon muxer + filename Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk