Luca Barbato
c1a02e884a
pixdesc: add av_pix_fmt_get_chroma_sub_sample
...
Deprecate avcodec_get_chroma_sub_sample.
12 years ago
Carl Eugen Hoyos
c673ef1288
Write tiff tag YCbCrPositioning if chroma_sample_location is top-left.
12 years ago
Michael Niedermayer
d50aa006fb
tiffenc: fix integer overflow
...
Fixes CID700699
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
a51540d811
lavc: do not use av_pix_fmt_descriptors directly
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Anton Khirnov
50ba57e0ce
lavc: do not use av_pix_fmt_descriptors directly.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Michael Niedermayer
05e5a24f79
tiffenc: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Alex Converse
b92dfb56d4
tiffenc: Check av_malloc() results.
12 years ago
Alex Converse
9bc055e358
tiffenc: Simplify pixel format setup using AVPixFmtDescriptor.
12 years ago
Alex Converse
298ed797e1
tiffenc: Add support for little endian RGB48 and GRAY16
12 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Carl Eugen Hoyos
f3683349ae
Write TIFF Tag ExtraSamples when encoding pix_fmts that contain transparency information.
13 years ago
Carl Eugen Hoyos
5eb532a930
Cosmetics: Reorder pix_fmts in tiffenc.c.
13 years ago
Carl Eugen Hoyos
a5a90fa577
Simplify setting colour space for mono* when encoding tiff.
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Stefano Sabatini
160df9797e
lavc/tiffenc: apply misc doxy fixes
13 years ago
Thomas Kühnel
75abfab6c6
lavc/tiff: add GeoTIFF support to the TIFF decoder
...
Work done for SOCIS 2011.
See thread:
Subject: [libav-devel] [PATCH 2/3] tiff: Add GeoTIFF support to the TIFF decoder
Date: Tue, 4 Oct 2011 00:19:52 +0200
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Paul B Mahol
9b3f9f43a7
tiffenc: use av_fast_padded_malloc(z)
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
ca16f88c75
tiffenc: add .init
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
16a433d68b
tiffenc: PIX_FMT_YUV440P support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
a6da14ec3c
tiffenc: PIX_FMT_GRAY8A support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
df548c59f7
tiffenc: PIX_FMT_GRAY16LE support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1806858fdd
tiffenc: merge common code
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
146d29c744
tiffenc: use av_get_bits_per_pixel() to get bpp
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
82c4abbfe1
tiffenc: use av_pix_fmt_descriptors to set bpp_tab[]
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
e100a259be
tiffenc: simplify calculation of bpp_tab_size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
1321e6eaa7
tiffenc: use av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d04956344d
tiffenc: fix out of array read
...
Fixes ticket1112
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
dddd06d5b4
Make tiff-in-mov QuickTime-compatible for more colour-spaces.
...
Fixes ticket #1228 .
13 years ago
Martin Storsjö
1428527581
cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of others
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
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>
13 years ago
Diego Biurrun
3dde147ff9
cosmetics: Consistently place static, inline and av_cold attributes/keywords.
13 years ago
Paul B Mahol
ae2c33b0c2
cosmetics: remove superfluous curly brackets
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
219d8245a0
tiffenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ea8fc91886
tiffenc: fix return value.
13 years ago
Diego Biurrun
562b6c744a
Remove unnecessary AVFrame pointer casts.
13 years ago
Anton Khirnov
760b004086
tiffenc: switch to encode2().
13 years ago
Anton Khirnov
62acb4937e
tiffenc: properly forward error codes in encode_frame().
13 years ago
Anton Khirnov
10e1ae5eff
lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.
13 years ago
Carl Eugen Hoyos
c714cd3bd4
Support 64bit tiff images.
...
Fixes a part of ticket #503 .
Reviewed-by: Paul B Mahol
Reviewed-by: Jean First
13 years ago
Carl Eugen Hoyos
d7fc100694
Support tiff RGBA encoding.
13 years ago
Anton Khirnov
8b7412fe4e
tiffenc: deprecate using compression_level
13 years ago
Anton Khirnov
a94c769dad
tiffenc: add a private option for selecting compression algorithm
13 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
13 years ago
Jean First
47a1d794db
tiffenc: initialize forgotten avctx.
13 years ago
Jean First
1a0770f3f7
tiffenc: Enable RGB48LE (16-bit) encoding support
13 years ago
Jean First
f7e797aa5c
tiffenc: initialize forgotten avctx.
13 years ago
Jean First
43c481e569
tiffenc: Add forgotten avclass to context.
13 years ago