Diego Biurrun
562b6c744a
Remove unnecessary AVFrame pointer casts.
13 years ago
Paul B Mahol
353a2d2164
bmpdec: support for rgb444 with bitfields compression
...
Do not display garbage for invalid/unsupported bitfields values.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Carl Eugen Hoyos
1e92d58e44
bmp: fix some 1bit samples.
...
<= 8bpp BMP images always have palette.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
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
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
Carl Eugen Hoyos
05503cee00
Since lowres == crop for bmp, remove it to avoid confusion.
...
Originally committed as revision 26384 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
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 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
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
Kostya Shishkov
5073cca404
Make BMP decoder produce flipped picture with RLE compression.
...
This fixes issue 1415
Originally committed as revision 20112 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
22da339f5d
Take into account real number of colours when reading BMP palette.
...
This fixes issue 1408
Originally committed as revision 20007 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
4a89072833
bmp decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19094 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
Kostya Shishkov
6b78a77a35
Merge some cases for reading raw data with different bit depths in BMP
...
Originally committed as revision 18202 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
42402a55b0
Make BMP decoder try to decode files with incorrect filesize field value
...
Originally committed as revision 17363 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
5d44b2a138
Silence useless compiler warning when passing AVFrame* instead of AVPicture*
...
to ff_msrle_decode()
Originally committed as revision 16915 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
c5b2fe165a
Some BMP files have file size declared in the header equal to headers size
...
without image data, so try to correct that value before conducting checks on
declared file size.
Originally committed as revision 15924 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
e282307b21
Give more meaningful message on BMP header parsing error
...
Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
4a14e66605
Add known BMP header sizes.
...
Now 11B*.bmp from samples repository can be decoded.
Originally committed as revision 15922 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b94a631fab
Cosmetics: reindent after last commit
...
Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
fca506dfb6
Add RLE4 and RLE8 decoding support for BMP
...
Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
15501c32d0
Add support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMP
...
Originally committed as revision 15389 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
a79cae798a
Calculate line size correctly for bit depths < 8
...
Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
3a9a15c4f3
add newline at the end of message
...
Originally committed as revision 15360 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
Benoit Fouet
6f7b915a0d
Indentation
...
Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
b65213c021
Support for BMP os2v1.
...
Originally committed as revision 12815 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
Michael Niedermayer
4bae195ff5
const
...
Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Mark Cox
a6540c9f16
Remove redundant assignment of CODEC_ID_BMP.
...
patch by mark cox melbournemark+ffmpeg _at_ gmail.com
thread: [PATCH] Remove unessesary assignment of CODEC_ID_BMP
date: Mon, 9 Jul 2007 20:12:28 +1000
Originally committed as revision 9675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
286c71074a
Add decode_end method to bmp decoder. Patch by Michel Bardiaux,
...
mbardiaux mediaxim dot be.
Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e8f917d6fd
Fix memcpy out-of-bounds.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e96cc09dd2
Make BMP decoder use bytestream. Patch by Michel Bardiaux
...
mbardiaux mediaxim dot be.
Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
d8b7b352a8
Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.
...
Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
76ebb18f16
Segregate code common to BMP decoder and future encoder
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7721 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
9ce5f3b7ea
explicit values for all enums
...
Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3e997aa425
enum
...
Originally committed as revision 7678 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
743311a1b0
coded line size is a multiple of 4
...
Originally committed as revision 6844 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
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
9fa62f2aad
BMP image decoder
...
Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago