Statistics
| Branch: | Revision:

ffmpeg / libavcodec / bmp.c @ ce5e49b0

History | View | Annotate | Download (9.84 KB)

# Date Author Comment
ce5e49b0 05/02/2011 02:41 PM Stefano Sabatini

replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*

dbfdb288 04/27/2011 07:49 PM Baptiste Coudurier

Set alpha of palettes to 0xff.
Signed-off-by: Michael Niedermayer <>

e7e2df27 01/28/2011 02:15 AM Diego Elio Pettenò

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 <>
(cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)

05503cee 01/16/2011 12:42 PM Carl Eugen Hoyos

Since lowres == crop for bmp, remove it to avoid confusion.

Originally committed as revision 26384 to svn://svn.ffmpeg.org/ffmpeg/trunk

8fc0162a 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk

e6b22522 07/10/2010 10:09 PM Måns Rullgård

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

0fd0ef79 07/07/2010 09:23 PM Carl Eugen Hoyos

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

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

5073cca4 10/01/2009 05:46 AM Kostya Shishkov

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

22da339f 09/24/2009 05:24 AM Kostya Shishkov

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

4a890728 06/05/2009 08:19 AM Baptiste Coudurier

bmp decoder uses get_buffer, set CODEC_CAP_DR1

Originally committed as revision 19094 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

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....

6b78a77a 03/27/2009 04:31 PM Kostya Shishkov

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

42402a55 02/16/2009 06:57 AM Kostya Shishkov

Make BMP decoder try to decode files with incorrect filesize field value

Originally committed as revision 17363 to svn://svn.ffmpeg.org/ffmpeg/trunk

5d44b2a1 02/01/2009 02:44 PM Kostya Shishkov

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

c5b2fe16 11/24/2008 11:24 AM Kostya Shishkov

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

e282307b 11/24/2008 10:58 AM Kostya Shishkov

Give more meaningful message on BMP header parsing error

Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk

4a14e666 11/24/2008 10:53 AM Kostya Shishkov

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

b94a631f 09/23/2008 08:45 AM Kostya Shishkov

Cosmetics: reindent after last commit

Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk

fca506df 09/23/2008 08:45 AM Kostya Shishkov

Add RLE4 and RLE8 decoding support for BMP

Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk

15501c32 09/23/2008 08:38 AM Kostya Shishkov

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

a79cae79 09/23/2008 08:32 AM Kostya Shishkov

Calculate line size correctly for bit depths < 8

Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a9a15c4 09/18/2008 02:08 PM Kostya Shishkov

add newline at the end of message

Originally committed as revision 15360 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk

bcdb2378 04/29/2008 09:31 PM Stefano Sabatini

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

6f7b915a 04/14/2008 01:15 PM Benoit Fouet

Indentation

Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk

b65213c0 04/14/2008 01:13 PM Benoit Fouet

Support for BMP os2v1.

Originally committed as revision 12815 to svn://svn.ffmpeg.org/ffmpeg/trunk

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bae195f 02/01/2008 03:01 PM Michael Niedermayer

const

Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk

a6540c9f 07/14/2007 05:14 PM Mark Cox

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

286c7107 02/01/2007 09:48 AM Michel Bardiaux

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

e8f917d6 01/31/2007 11:19 AM Michel Bardiaux

Fix memcpy out-of-bounds.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk

e96cc09d 01/31/2007 12:34 AM Michel Bardiaux

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

d8b7b352 01/29/2007 02:07 PM Michel Bardiaux

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

76ebb18f 01/27/2007 07:39 AM Michel Bardiaux

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

9ce5f3b7 01/24/2007 11:01 AM Michael Niedermayer

explicit values for all enums

Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk

3e997aa4 01/24/2007 10:41 AM Michael Niedermayer

enum

Originally committed as revision 7678 to svn://svn.ffmpeg.org/ffmpeg/trunk

743311a1 10/30/2006 08:43 PM Måns Rullgård

coded line size is a multiple of 4

Originally committed as revision 6844 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

9fa62f2a 11/30/2005 01:40 AM Måns Rullgård

BMP image decoder

Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk