summaryrefslogtreecommitdiff
path: root/libavcodec/bmp.c
Commit message (Collapse)AuthorAge
* msrle: Use AVFrame instead of AVPictureVittorio Giovara2015-10-21
| | | | | | | Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: more correct printf specifiersDiego Biurrun2014-03-22
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* bmp: return meaningful error codes.Anton Khirnov2013-01-06
|
* bmp: cosmetics, reformatAnton Khirnov2012-12-24
|
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* bmpdec: only initialize palette for pal8.Anton Khirnov2012-09-16
| | | | | | | | | Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: libav-stable@libav.org
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* msrle: convert MS RLE decoding function to bytestream2.Ronald Bultje2012-04-11
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-01
|
* bmpdec: support for rgb444 with bitfields compressionPaul B Mahol2012-01-10
| | | | | | Do not display garbage for invalid/unsupported bitfields values. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bmp: fix some 1bit samples.Carl Eugen Hoyos2011-12-04
| | | | | | <= 8bpp BMP images always have palette. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Since lowres == crop for bmp, remove it to avoid confusion.Carl Eugen Hoyos2011-01-16
| | | | Originally committed as revision 26384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | 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
* Add new decoder property max_lowres and do not init decoder if requested ↵Carl Eugen Hoyos2010-07-07
| | | | | | value is higher. Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make BMP decoder produce flipped picture with RLE compression.Kostya Shishkov2009-10-01
| | | | | | This fixes issue 1415 Originally committed as revision 20112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Take into account real number of colours when reading BMP palette.Kostya Shishkov2009-09-24
| | | | | | This fixes issue 1408 Originally committed as revision 20007 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bmp decoder uses get_buffer, set CODEC_CAP_DR1Baptiste Coudurier2009-06-05
| | | | Originally committed as revision 19094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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
* Merge some cases for reading raw data with different bit depths in BMPKostya Shishkov2009-03-27
| | | | Originally committed as revision 18202 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make BMP decoder try to decode files with incorrect filesize field valueKostya Shishkov2009-02-16
| | | | Originally committed as revision 17363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence useless compiler warning when passing AVFrame* instead of AVPicture*Kostya Shishkov2009-02-01
| | | | | | to ff_msrle_decode() Originally committed as revision 16915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Some BMP files have file size declared in the header equal to headers sizeKostya Shishkov2008-11-24
| | | | | | | 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
* Give more meaningful message on BMP header parsing errorKostya Shishkov2008-11-24
| | | | Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add known BMP header sizes.Kostya Shishkov2008-11-24
| | | | | | Now 11B*.bmp from samples repository can be decoded. Originally committed as revision 15922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindent after last commitKostya Shishkov2008-09-23
| | | | Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RLE4 and RLE8 decoding support for BMPKostya Shishkov2008-09-23
| | | | Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMPKostya Shishkov2008-09-23
| | | | Originally committed as revision 15389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate line size correctly for bit depths < 8Kostya Shishkov2008-09-23
| | | | Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add newline at the end of messageKostya Shishkov2008-09-18
| | | | Originally committed as revision 15360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to some AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentationBenoit Fouet2008-04-14
| | | | Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for BMP os2v1.Benoit Fouet2008-04-14
| | | | Originally committed as revision 12815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant assignment of CODEC_ID_BMP.Mark Cox2007-07-14
| | | | | | | | 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
* Add decode_end method to bmp decoder. Patch by Michel Bardiaux,Michel Bardiaux2007-02-01
| | | | | | mbardiaux mediaxim dot be. Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk