Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tiff: support decoding GBRP and GBRAP formats | Paul B Mahol | 2015-01-14 | 1 | -57/+81 |
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | tiff: support encoding and decoding 64bit images | Carl Eugen Hoyos | 2014-12-18 | 1 | -2/+7 |
| | |||||
* | tiff: Return proper error for missing LZMA compression | Diego Elio Pettenò | 2014-08-18 | 1 | -0/+3 |
| | | | | | | | | The LZMA support is a semi-official extension supported by libtiff 4.0.0 and later. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | tiff: Improve grayscale support | Diego Elio Pettenò | 2014-08-10 | 1 | -11/+3 |
| | | | | | | | | | | Only use PAL8 if palette is present, else use GRAY8 for pixfmt. Instead of simulating a grayscale palette, use real grayscale pixels, if no palette is actually defined. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | tiff: support reading gray+alpha at 8 bits | Carl Eugen Hoyos | 2014-08-04 | 1 | -0/+3 |
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | tiff: support reading gray+alpha at 16 bits | Vittorio Giovara | 2014-08-04 | 1 | -0/+3 |
| | |||||
* | tiff: Replace deprecated PIX_FMT names by modern ones | Diego Biurrun | 2014-08-02 | 1 | -2/+2 |
| | |||||
* | Revert "tiff: support reading gray+alpha at 8 bits" | Janne Grunau | 2014-07-21 | 1 | -3/+0 |
| | | | | | This reverts commit b31d76e45fc3c6529dd7109e721676f3ec376d00 as it uses an unkown pixel format. | ||||
* | tiff: support reading gray+alpha at 8 bits | Carl Eugen Hoyos | 2014-07-20 | 1 | -0/+3 |
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | tiffdec: support predictor type 2 with RGB48 pixel format | Jean First | 2014-04-12 | 1 | -4/+18 |
| | |||||
* | tiffdec: remove an unneeded variable | Justin Ruggles | 2014-04-12 | 1 | -3/+1 |
| | |||||
* | tiff: use a better name and enum values for PhotometricInterpretation | Justin Ruggles | 2014-04-12 | 1 | -17/+28 |
| | | | | Also add additional known values and log as missing features. | ||||
* | tiffdec: use a single strip if RowsPerStrip is 0 | Justin Ruggles | 2014-04-12 | 1 | -8/+3 |
| | | | | | The spec does not specify that 0 is an error condition, and there are samples which use 0 when the whole image is in one strip. | ||||
* | tiffdec: use bytestream2 to simplify overread/overwrite protection | Justin Ruggles | 2014-04-12 | 1 | -138/+111 |
| | | | | | | Based on a patch by Paul B Mahol <onemda@gmail.com> CC:libav-stable@libav.org | ||||
* | tiffdec: use correct data type for palette entries and set alpha to 0xFF | Justin Ruggles | 2014-04-12 | 1 | -5/+6 |
| | |||||
* | tiffdec: rename variables for consistency and fix variable shadowing | Jean First | 2014-04-12 | 1 | -8/+5 |
| | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | tiff: stop using deprecated avcodec_set_dimensions | Anton Khirnov | 2013-10-31 | 1 | -2/+2 |
| | |||||
* | tiff: do not overread the source buffer | Luca Barbato | 2013-06-07 | 1 | -1/+4 |
| | | | | | | | At least 2 bytes from the source are read every loop. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | tiff: cleanup the error paths | Luca Barbato | 2013-06-07 | 1 | -10/+15 |
| | | | | Return the proper error values and optionally report them. | ||||
* | tiff: refactor fax support in a separate function | Luca Barbato | 2013-06-07 | 1 | -32/+33 |
| | |||||
* | tiff: refactor deflate support in a separate function | Luca Barbato | 2013-06-07 | 1 | -25/+37 |
| | | | | Report when zlib support is missing. | ||||
* | tiff: K&R formatting cosmetics | Diego Biurrun | 2013-06-02 | 1 | -55/+59 |
| | |||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -18/+9 |
| | |||||
* | tiff: return meaningful error codes. | Anton Khirnov | 2013-01-06 | 1 | -27/+27 |
| | |||||
* | lavc: fix decode_frame() third parameter semantics for video decoders | Anton Khirnov | 2012-12-04 | 1 | -2/+2 |
| | | | | It's got_frame, not data size | ||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+2 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | Move av_reverse table to libavcodec | Diego Biurrun | 2012-10-12 | 1 | -3/+4 |
| | | | | It is only used in that library. | ||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -7/+7 |
| | |||||
* | tiffdec: Add support for GRAY16LE. | Alex Converse | 2012-09-19 | 1 | -1/+1 |
| | | | | Tested with the GraphicsMagick TIFF archive and Libav generated files. | ||||
* | Don't include common.h from avutil.h | Martin Storsjö | 2012-08-15 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | tiffdec: K&R cosmetics | Alex Converse | 2012-04-13 | 1 | -108/+147 |
| | |||||
* | tiffdec: Add a malloc check and refactor another. | Alex Converse | 2012-04-13 | 1 | -5/+10 |
| | |||||
* | cosmetics: Align codec declarations | Martin Storsjö | 2012-04-06 | 1 | -1/+1 |
| | | | | | | | 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> | ||||
* | Replace memset(0) by zero initializations. | Diego Biurrun | 2012-03-28 | 1 | -2/+1 |
| | | | | Also remove one pointless zero initialization in rangecoder.c. | ||||
* | tiffdec: Prevent illegal memory access caused by recycled pointers. | Alex Converse | 2012-03-07 | 1 | -0/+2 |
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | Replace AVFrame pointer type punning by proper struct member assignments. | Diego Biurrun | 2012-03-01 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary AVFrame pointer casts. | Diego Biurrun | 2012-03-01 | 1 | -3/+3 |
| | |||||
* | tiff: Prevent overreads in the type_sizes array. | Alex Converse | 2012-02-23 | 1 | -4/+11 |
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | tiff: Make the TIFF_LONG and TIFF_SHORT types unsigned. | Alex Converse | 2012-02-23 | 1 | -9/+9 |
| | | | | TIFF v6.0 (unimplemented) adds signed equivalents. | ||||
* | tiffdec: fix out of bound reads/writes | Laurent Aimar | 2011-10-10 | 1 | -15/+25 |
| | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net> | ||||
* | lavc: use designated initialisers for all codecs. | Anton Khirnov | 2011-07-29 | 1 | -10/+8 |
| | | | | It's more readable and less prone to breakage. | ||||
* | doxygen: consistently place brief description | Diego Biurrun | 2011-07-14 | 1 | -1/+2 |
| | |||||
* | tiff: print log in case of unknown / unsupported tag. | Stefano Sabatini | 2011-06-05 | 1 | -0/+2 |
| | | | | | | Helps debugging. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | tiff: fix linesize for mono-white/black formats. | Stefano Sabatini | 2011-06-05 | 1 | -1/+1 |
| | | | | | | Fix decoding of file Test_1bpp.tif Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | tiff: set palette in the context when specified in TIFF_PAL tag | Stefano Sabatini | 2011-05-24 | 1 | -10/+13 |
| | | | | | | | | | | | Since image initialization was moved after tag parsing, the palette needs to be specified in the context and then copied to the allocated image in init_image(). Fixes a regression with TIFF images that have palette data, trac issue #230, file Test_Flate_8bpp.tif. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | tiff: add support for SamplesPerPixel tag in tiff_decode_tag() | Stefano Sabatini | 2011-05-12 | 1 | -57/+65 |
| | | | | | | | | | | | | | Format detection and internal frame initialization is moved to a separate init_image() function, which is called when all the tags have been read, and so both BitsPerSample and SamplesPerPixel information has been collected. This fixes decoding of the file 11.tiff from roundup issue #1925. Based on a patch by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | tiff: Prefer enum TiffCompr over int for TiffContext.compr. | Stefano Sabatini | 2011-05-12 | 1 | -1/+1 |
| | | | | | | This is safer and helps debugging. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | tiff: add support for inverted FillOrder for uncompressed data | Stefano Sabatini | 2011-05-11 | 1 | -1/+7 |
| | | | | | | Fix decoding of file b.tif, trac issue #168. Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> |