Cameron Cawley
5c7313c740
avcodec: Implement Acorn Replay IMA ADPCM decoder
...
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com >
2021-05-09 17:01:27 +10:00
Anton Khirnov
85ba17f36d
Bump major versions of all libraries.
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2021-04-27 11:48:05 -03:00
James Almer
fe95a37144
avcodec: postpone removal of deprecated libopenh264 wrapper options
...
They were deprecated only a year ago
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 11:48:05 -03:00
James Almer
cb9dbc60db
avcodec: postpone removal of deprecated codec caps
...
This was deprecated only a year ago
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 11:48:05 -03:00
Andreas Rheinhardt
7c1f347b18
avcodec: Remove deprecated old encode/decode APIs
...
Deprecated in commits 7fc329e2dd
and 31f6a4b4b8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:12 -03:00
Andreas Rheinhardt
11bc790893
avcodec: Remove deprecated AVCodecContext.coded_frame
...
Deprecated in 40cf1bbacc .
(The currently disabled filter vf_mcdeint and vf_uspp were users of
this field; they have not been changed, so that whoever wants to fix
them can see the state of these filters when they were disabled.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:12 -03:00
Andreas Rheinhardt
f0c7fa2c48
avcodec: Switch AVCPBProperties to 64bits
...
Announced in 2e8b0446c6 .
Two FATE-tests needed to be updated because the checksums of
side data containing an AVCPBProperties struct changed.
buffer_size has also been switched to 64bits because it is a bitsize.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:07 -03:00
Andreas Rheinhardt
f34521266e
avcodec/parser: Remove deprecated av_parser_change
...
Deprecated in 9a07c1332c .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:07 -03:00
Andreas Rheinhardt
e1e975869d
avcodec/mpegvideo: Remove deprecated rc_strategy option
...
Deprecated in d05c3b9cee .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:06 -03:00
Andreas Rheinhardt
e3d993fab0
avcodec/vaapi: Remove old and deprecated VAAPI context and header
...
Deprecated in 851960f6f8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:06 -03:00
Andreas Rheinhardt
337f777f37
avcodec: Remove deprecated old aliases for NVENC encoders
...
Deprecated in 888a5c7947 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:05 -03:00
Andreas Rheinhardt
eb6ea948ed
avcodec: Remove deprecated VBV delay field
...
Deprecated in 2507b5dd67 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:05 -03:00
Andreas Rheinhardt
4a66fe1588
avcodec/imgconvert: Remove deprecated parts of pixel format API
...
Deprecated in 617e866e25 and
2a54ae9df8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
d947464ad4
avcodec: Remove deprecated AVPicture API
...
Deprecated in a17a766190 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
af581cf79d
avcodec/vdpau: Remove deprecated av_vdpau_get_profile
...
Deprecated in b10b6ac7a9 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
bc9dca5c95
avcodec/options: Remove deprecated avcodec_copy_context
...
Deprecated in 5f30ac2779 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
ff8f9fcbe5
avcodec: Remove deprecated avcodec_get_context_defaults3
...
Deprecated in 04fc8e24a0 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
1f63665ca5
avcodec: Remove deprecated ASS with inline timing
...
Deprecated in 22ebbda637 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
cb172ae9ab
avcodec/mpegvideo_enc: Remove deprecated RTP-callback
...
Deprecated in 462a54e229 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:04 -03:00
Andreas Rheinhardt
c197e3fe12
avcodec/bitstream: Remove avpriv PutBits API functions
...
Scheduled for removal in 717503f716 .
Also remove PutBitContext.size_in_bits which has been scheduled
for removal in e7cbbd9026 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:03 -03:00
Andreas Rheinhardt
d6cb7bf599
avcodec: Remove deprecated avcodec_get_chroma_sub_sample
...
Effectively deprecated in 2c800eb737 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:03 -03:00
Andreas Rheinhardt
f581433e8b
avcodec: Remove remnants of user-visiable HW acceleration API
...
Disabled and deprecated in 3536a3efb9 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:03 -03:00
Andreas Rheinhardt
e8fdb0db16
avcodec: Remove lock manager API
...
Deprecated in a04c2c707d .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:03 -03:00
Andreas Rheinhardt
d1d8a81874
avcodec: Remove deprecated av_codec_get_tag_string
...
Deprecated in f156d35321 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:03 -03:00
Andreas Rheinhardt
23bb78d2ea
avcodec: Remove unneeded getters and setters
...
Deprecated in c4131a0613 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:02 -03:00
Andreas Rheinhardt
d85c41b572
avcodec: Remove private options from AVCodecContext
...
Several options that were too codec-specific were deprecated between
0e6c853221 and
0e9c4fe254 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:02 -03:00
Andreas Rheinhardt
e1597fe0cf
avcodec: Remove deprecated API to split/merge side-data
...
Deprecated in d682ae70b4 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:01 -03:00
Andreas Rheinhardt
78ce00428f
avcodec: Remove deprecated coder type options
...
Deprecated in be00ec832c .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:01 -03:00
Andreas Rheinhardt
6cf0cb8935
avcodec: Remove deprecated stat-bits fields
...
Deprecated in 16216b713f .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:00 -03:00
Andreas Rheinhardt
ab227d8fe1
avcodec: Remove deprecated AVPacket API
...
Deprecated in ce70f28a17 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:00 -03:00
Andreas Rheinhardt
df6b44182e
avcodec, avformat: Remove AVPacket.convergence_duration
...
Deprecated in 948f3c19a8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:43:00 -03:00
Andreas Rheinhardt
26ca5ebd7b
avcodec: Remove sidedata-only-packet cruft
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:42:59 -03:00
Andreas Rheinhardt
0f247986ad
avcodec, avformat: Remove old BSF API
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:42:59 -03:00
Andreas Rheinhardt
4b2be3f8d4
avcodec: Remove AVCodec, AVParser and AVBitStreamFilter next API
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 10:42:58 -03:00
Aidan Richmond
a0fd55c206
avcodec/adpcmenc: Adds encoder for Westwood ADPCM.
...
Signed-off-by: Aidan Richmond <aidan.is@hotmail.co.uk >
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com >
2021-04-26 19:56:32 +10:00
Timo Rothenpieler
7555d6f74c
avcodec/nvenc: add support for gbrp rgb input
2021-04-11 09:21:21 +02:00
Andreas Rheinhardt
42c895ef5c
avcodec/mpegvideo: Deprecate mpeg_quant option for codecs != MPEG-4
...
mpeg_quant may only be set for MPEG-4 and MPEG-2, yet for the latter
it is no option as the code acts as if it were always set.
So deprecate the option for all codecs for which it makes no sense.
Furthermore, given that the code already errors out if the option is set
for a codec that doesn't support it we can restrict the range of
the option for all these codecs without breaking something. This means
that the checks for whether mpeg_quant is set for these codecs can be
removed as soon as AVCodecContext.mpeg_quant is removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2021-04-10 03:56:39 +02:00
Anton Khirnov
6ad79047a7
lavc: postpone FF_API_AVCTX_TIMEBASE
...
There are still several decoders setting it and the situation is
non-trivial to resolve.
2021-04-08 11:03:15 +02:00
Michael Niedermayer
c361fa9e21
Bump minor versions after release branch
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-03-20 01:02:11 +01:00
Michael Niedermayer
c67d2a2875
Bump Versions before release/4.4 branch
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-03-20 01:01:12 +01:00
James Almer
f7db77bd87
avcodec/packet: deprecate av_init_packet()
...
Once removed, sizeof(AVPacket) will stop being a part of the public ABI.
Signed-off-by: James Almer <jamrial@gmail.com >
2021-03-17 14:12:17 -03:00
Anton Khirnov
7d09579190
lavc: rename AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS
...
This cap is currently used to mark multithreading-capable codecs that
wrap external libraries with their own multithreading code. The name is
highly confusing for our API users, since libavcodec ALWAYS handles
thread_count=0 (see commit message in previous commit). Therefore rename
the cap and update its documentation to make its meaning clear.
The old name is kept deprecated until next+1 major bump.
2021-03-16 10:38:41 +01:00
James Almer
6e7e3a3820
avcodec: add a get_encode_buffer() callback to AVCodecContext
...
This callback is functionally the same as get_buffer2() is for decoders, and
implements for the new encode API the functionality of the old encode API had
where the user could provide their own buffers.
Reviewed-by: Lynne <dev@lynne.ee >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-03-12 19:49:08 -03:00
James Almer
d79e0fe65c
avcodec/packet: change side data related public function and struct size types to size_t
...
av_packet_add_side_data() already defines size as a size_t, so this makes it
consistent across all side data functions
Signed-off-by: James Almer <jamrial@gmail.com >
2021-03-10 20:26:36 -03:00
Andreas Rheinhardt
dc20b27802
avcodec/parser: Schedule av_parser_change for removal
...
Originally deprecated in 748c2fca7e ,
publically deprecated in 9a07c1332c
(merged into FFmpeg in 1885ffb03d ).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-03-06 09:33:42 +01:00
Jan Ekström
18713d22a2
avcodec: add TTML encoder
...
Enables encoding of other subtitle formats into TTML paragraphs.
Signed-off-by: Jan Ekström <jan.ekstrom@24i.com >
2021-03-05 19:45:00 +02:00
Jan Ekström
a0eec776b6
avcodec: enable usage of err_recognition for encoders
...
Enables the usage of such values as AV_EF_EXPLODE in encoders, which
can be useful in cases such as subtitle encoders where they have the
responsibility to validate the correctness of an incoming ASS dialog line.
Signed-off-by: Jan Ekström <jan.ekstrom@24i.com >
2021-03-05 19:45:00 +02:00
Andreas Rheinhardt
c17915fd64
avcodec/mpegvideo: Schedule unused, deprecated rc_strategy for removal
...
Deprecated in d05c3b9cee .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-03-02 07:32:50 +01:00
Paul B Mahol
6b43e1a86c
avcodec: add SGA Video decoder
2021-03-01 17:36:42 +01:00
Paul B Mahol
5111707df6
avcodec: add SGA PCM decoder
2021-03-01 17:36:16 +01:00