summaryrefslogtreecommitdiffstats
path: root/libavcodec/pnm.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
OpenPOWER on IntegriCloud