Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Ronald S. Bultje
d2205d6543
png: check bit depth for PAL8/Y400A pixel formats.
...
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
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
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>
13 years ago
Ronald S. Bultje
4c25269ced
png: convert to bytestream2 API.
...
Protects against overreads in the input buffer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Paul B Mahol
08630d25a2
png: make .long_name more descriptive
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Ronald S. Bultje
e92003514d
png: move DSP functions to their own DSP context.
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Mans Rullgard
e23a05ab06
Fix incorrect max_lowres values
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e65ab9d94f
Remove unused variables
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 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
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
14 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
14 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0fd0ef7947
Add new decoder property max_lowres and do not init decoder if requested value is higher.
...
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Andreas Öman
67d96fb42d
pngdec: Add support for PIX_FMT_Y400A
...
Originally committed as revision 22882 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
de3553b078
pngdec.c : release allocated buffers.
...
Originally committed as revision 20680 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
8b44de14d1
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
...
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
f3ac96e4d8
Support RGB48 PNG decoding
...
Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d0a7936710
png decoder use get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
09d1208cdb
Fix unaligned dsputil call.
...
Should fix FATE corepng test on Solaris/Sparc.
Originally committed as revision 18930 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
ee30cdabad
Add support to CorePNG P-frames.
...
Patch by Thilo Borgmann thilo DOT borgmann A googlemail com.
Originally committed as revision 18421 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
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
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
avcoder
6413d91d08
Remove useless casts.
...
Patch by avcoder ffmpeg at gmail d0t com
Originally committed as revision 14154 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bcdb2378f7
Add long names to some AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
042e0adda9
decode mng color decorrelation
...
Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
bd58e7f730
remove a memcpy
...
Originally committed as revision 12193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
4a9ca0a279
simd and unroll png_filter_row
...
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%
Originally committed as revision 12164 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1dc5527934
const
...
Originally committed as revision 11736 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f1ea5c2a96
typo fixes
...
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
e0eddd1269
hardly anything in PNGContext is shared; split it
...
Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
b958a7f111
separate en/decoder specific parts from png.c
...
Originally committed as revision 9686 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
ac3967c1ce
spelling
...
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
2c124cb65c
Use AV_xx throughout libavcodec
...
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
67a5daf07f
Remove duplicate bytestream functions
...
Originally committed as revision 9108 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3cf5b6bed7
consistency renaming: rgba32 --> rgb32
...
Originally committed as revision 7957 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
Måns Rullgård
e3d2a690e8
remove useless #ifdef CONFIG_ZLIB
...
Originally committed as revision 7623 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
ae912c5b62
PNG 16-bit gray decoding support
...
Originally committed as revision 6779 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
ab9ce19170
Make PNG produce correct 8-bit pictures
...
Originally committed as revision 6689 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