Carl Eugen Hoyos
66b9d7065a
pam: Fix a typo that broke writing and reading PAM files.
...
Reported and reviewed by Derek Buitenhuis.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
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>
14 years ago
Carl Eugen Hoyos
8219782a6d
Do not stop decoding on pnm files with negative maxval.
...
Originally committed as revision 26304 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
ebc3488300
Check for invalid maxval in pgm decoder, fixes issue 2518.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26292 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
63538a960e
Support ASCII pnms.
...
Implements issue1452.
Originally committed as revision 20687 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
8767a009a1
Move PNM init/end functions to the PNM common code.
...
This is done in preparation for the PNM encoder/decoder split.
Originally committed as revision 20382 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
d3067047e7
whitespace cosmetics: K&R coding style, prettyprinting
...
Originally committed as revision 20381 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
5a92cc663c
pnm: Add missing 'else'. Fixes decoding for 16-bit pgm.
...
Originally committed as revision 17848 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
001821904e
Support 48-bit RGB PPM image.
...
Originally committed as revision 17511 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
8fd64adf08
cosmetics: fix indentation after r15321
...
Originally committed as revision 15332 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
0605f5c86b
Return error when trying to decode non-grayscale 16-bit PNM images.
...
Fixes issue 566.
Originally committed as revision 15321 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9ac2e7971b
rename pnm.c to pnmenc.c and pnm_common.c to pnm.c
...
Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
426a189b77
move pnm parser in its own file
...
Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
c53d2d9042
make some parser parameters const to avoid casting const to non-const
...
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
6db140ddb4
cosmetics after last commit
...
Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
201df5a19f
Add support for grayscale images with arbitrary maxvals.
...
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
18 years ago
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
79e7b9609e
include parser.h instead of mpegvideo.h
...
Originally committed as revision 6916 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
22eafdf24f
PGM 16-bit gray support
...
Originally committed as revision 6780 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
af9e7d1810
--enable/disable parsers. Warning: some combinations are broken.
...
Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
79396ac685
Kill some compiler warnings. Compiled code verified identical after changes.
...
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
1cd89f276a
segfault fix
...
Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roine Gustafsson
983ea0bc87
a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
...
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
934982c4ac
avoid buf_size == 0 checks in every decoder
...
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
311c700878
merge pam_decode_frame() into pnm_decode_frame()
...
Originally committed as revision 3677 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
99f0623629
pnm parser
...
Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
5b6d559680
move p*m from image/lavf -> image2/lavc
...
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
20 years ago