Andreas Rheinhardt
1106f20645
avcodec/avuienc: Allow user-supplied buffers
...
Trivial given that this encoder knows the size of the output buffer
in advance.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
6f36a9418b
avcodec/avuienc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
a247ac640d
avcodec: Constify AVCodecs
...
Given that the AVCodec.next pointer has now been removed, most of the
AVCodecs are not modified at all any more and can therefore be made
const (as this patch does); the only exceptions are the very few codecs
for external libraries that have a init_static_data callback.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
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
Michael Niedermayer
4a8ec0218e
avcodec/avuienc: Use ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
dfe8e3b381
avcodec/avuienc: Drop coded_frame usage
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c0db6320a6
avcodec/avuienc: Use ff_alloc_packet()
...
This should be faster in theory for AVUI, no speed difference
meassurable though
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
0e7bbdbeaf
avcodec/avuienc: Initialize output data
...
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
Carl Eugen Hoyos
3ea97767e4
Add an ARES atom to extradata when encoding avui.
...
Allows playback with QuickTime and the original codec.
Tested by Olaf Matthes, olaf matthes gmx de
10 years ago
Lukasz Marek
e29153f414
lavc/avuienc: fix mem leak in case of init failure
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Michael Niedermayer
08b6591cf6
avcodec/avuienc: move pointer declaration to where its used
...
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
b46f19100b
cosmetics: group remaining .name and .long_name.
...
See b2bed9325
.
11 years ago
Paul B Mahol
4853b5538f
lavc: do not set coded_frame->reference
...
That field is deprecated.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
77cea13f05
Mark avui encoder experimental.
...
Some decoders require the AVID atom that we currently
do not write when encoding avui.
13 years ago
Carl Eugen Hoyos
5e268633d1
Do not leak extradata when encoding avui.
13 years ago
Carl Eugen Hoyos
fb6c6b15d7
avuienc: Use field_order to determine if a stream is interlaced.
13 years ago
Carl Eugen Hoyos
50858a64bf
Add Avid Meridien Uncompressed (AVUI) encoder.
13 years ago