James Almer
13b1bbff0b
avcodec: deprecate Lossless and Intra Only encoder capabilites
...
Both are codec properties and not encoder capabilities. The relevant
AVCodecDescriptor.props flags exist for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
3fe01eca21
avcodec/xfaceenc: remove coded_frame usage
10 years ago
Michael Niedermayer
e36db49b7b
avcodec: Add a min size parameter to ff_alloc_packet2()
...
This parameter can be used to inform the allocation code about how much
downsizing might occur, and can be used to optimize how to allocate the
packet
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
0f16dfda50
Replace PixelFormats which sneaked in over time or where forgotten by AVPixelFormats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
546d69eb43
avcodec: use av_frame_free() for coded_frame
10 years ago
Reimar Döffinger
cad3148ea3
xface: reduce stack usage by directly storing 2 bytes data instead of pointers.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Reimar Döffinger
6369a7b742
xface: Fix encoder crashes due to too small on-stack array.
...
Also add a FATE test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Clément Bœsch
b46f19100b
cosmetics: group remaining .name and .long_name.
...
See b2bed9325
.
12 years ago
Stefano Sabatini
aa48446c9a
lavc/xfaceenc: prefer do{}while() over for(){} construct in xface_encode_frame() loop
...
Slightly simplify readability, since the initial check is unnecessary.
12 years ago
Stefano Sabatini
cd559bb49a
lavc: add xface image decoder and encoder
...
Based on libcompface code by James Ashton <James.Ashton@anu.edu.au>, and
relicensed to LGPL with the author's consent.
13 years ago