summaryrefslogtreecommitdiffstats
path: root/libavcodec/bmp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Support decoding 56 byte BMP Bitmap Information Header.Carl Eugen Hoyos2011-12-081-2/+3
| | | | | | | | Fixes ticket #719.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-051-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: adpcmenc: cosmetics: pretty-printing ac3dec: cosmetics: pretty-printing yuv4mpeg: cosmetics: pretty-printing shorten: remove dead initialization roqvideodec: set AVFrame reference before reget_buffer. bmp: fix some 1bit samples. latmdec: add fate test for audio config change oma: PCM support oma: better format detection with small probe buffer oma: clearify ambiguous if condition wavpack: Properly clip samples during lossy decode Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c. Cleaned pixdesc.c file in libavutil zmbv.c: coding style clean-up. xan.c: coding style clean-up. mpegvideo.c: code cleanup - first 500 lines. Conflicts: Changelog libavcodec/adpcmenc.c libavcodec/bmp.c libavcodec/zmbv.c libavutil/log.c libavutil/pixdesc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bmp: fix some 1bit samples.Carl Eugen Hoyos2011-12-041-4/+18
| | | | | | | | | | | | <= 8bpp BMP images always have palette. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | BMP: Support BMP OS/2 v2 with RLE compression.ami_stuff2011-12-031-1/+1
| | | | | | | | | | | | Fixes ticket #699. Patch also provided by Peter Ross.
* | Support transparency in 32bit bmp files.Carl Eugen Hoyos2011-12-021-2/+8
| |
* | Fix some 1bit bmp samples, they are palletised.Carl Eugen Hoyos2011-11-101-4/+18
| | | | | | | | Fixes ticket #632.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-301-9/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata. H.264: tweak some other x86 asm for Atom probe: Fix insane flow control. mpegts: remove invalid error check s302m: use nondeprecated audio sample format API lavc: use designated initialisers for all codecs. x86: cabac: add operand size suffixes missing from 6c32576 Conflicts: libavcodec/ac3enc_float.c libavcodec/flacenc.c libavcodec/frwu.c libavcodec/pictordec.c libavcodec/qtrleenc.c libavcodec/v210enc.c libavcodec/wmv2dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-9/+8
| | | | | | | | It's more readable and less prone to breakage.
| * Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | 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-261-1/+1
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-021-1/+1
| |
* | Set alpha of palettes to 0xff.Baptiste Coudurier2011-04-271-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-1/+1
|/ | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* Since lowres == crop for bmp, remove it to avoid confusion.Carl Eugen Hoyos2011-01-161-1/+0
| | | | Originally committed as revision 26384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-101-1/+1
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-1/+1
| | | | | | | 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-071-0/+1
| | | | | | 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-301-1/+1
| | | | | | 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-011-0/+8
| | | | | | 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-241-3/+14
| | | | | | 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-051-0/+1
| | | | Originally committed as revision 19094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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-271-14/+2
| | | | 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-161-2/+2
| | | | 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-011-1/+1
| | | | | | 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-241-6/+10
| | | | | | | 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-241-1/+1
| | | | Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add known BMP header sizes.Kostya Shishkov2008-11-241-3/+9
| | | | | | 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-231-61/+61
| | | | Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RLE4 and RLE8 decoding support for BMPKostya Shishkov2008-09-231-2/+11
| | | | 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-231-0/+58
| | | | Originally committed as revision 15389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate line size correctly for bit depths < 8Kostya Shishkov2008-09-231-1/+1
| | | | Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add newline at the end of messageKostya Shishkov2008-09-181-1/+1
| | | | 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-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to some AVCodec declarations.Stefano Sabatini2008-04-291-1/+2
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentationBenoit Fouet2008-04-141-2/+2
| | | | Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for BMP os2v1.Benoit Fouet2008-04-141-1/+9
| | | | Originally committed as revision 12815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-4/+4
| | | | Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant assignment of CODEC_ID_BMP.Mark Cox2007-07-141-1/+0
| | | | | | | | 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-011-1/+11
| | | | | | mbardiaux mediaxim dot be. Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memcpy out-of-bounds.Michel Bardiaux2007-01-311-1/+1
| | | | | | patch by Michel Bardiaux, mbardiaux mediaxim be Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make BMP decoder use bytestream. Patch by Michel BardiauxMichel Bardiaux2007-01-311-24/+19
| | | | | | mbardiaux mediaxim dot be. Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.Michel Bardiaux2007-01-291-0/+3
| | | | Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Segregate code common to BMP decoder and future encoderMichel Bardiaux2007-01-271-12/+2
| | | | | | patch by Michel Bardiaux, mbardiaux mediaxim be Originally committed as revision 7721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* explicit values for all enumsMichael Niedermayer2007-01-241-4/+4
| | | | Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enumMichael Niedermayer2007-01-241-5/+7
| | | | Originally committed as revision 7678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* coded line size is a multiple of 4Måns Rullgård2006-10-301-1/+2
| | | | Originally committed as revision 6844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud