ffmpeg/doc
Andreas Rheinhardt 2b46ae6407 avcodec/codec_internal: Remove FF_CODEC_CAP_ALLOCATE_PROGRESS
Before commit f025b8e110,
every frame-threaded decoder used ThreadFrames, even when
they did not have any inter-frame dependencies at all.
In order to distinguish those decoders that need the AVBuffer
for progress communication from those that do not (to avoid
the allocation for the latter), the former decoders were marked
with the FF_CODEC_CAP_ALLOCATE_PROGRESS internal codec cap.

Yet distinguishing these two can be done in a more natural way:
Don't use ThreadFrames when not needed and split ff_thread_get_buffer()
into a core function that calls the user's get_buffer2 callback
and a wrapper around it that also allocates the progress AVBuffer.
This has been done in 02220b88fc
and since that commit the ALLOCATE_PROGRESS cap was nearly redundant.

The only exception was WebP and VP8. WebP can contain VP8
and uses the VP8 decoder directly (i.e. they share the same
AVCodecContext). Both decoders are frame-threaded and VP8
has inter-frame dependencies (in general, not in valid WebP)
and therefore the ALLOCATE_PROGRESS cap. In order to avoid
allocating progress in case of a frame-threaded WebP decoder
the cap and the check for the cap has been kept in place.

Yet now the VP8 decoder has been switched to use ProgressFrames
and therefore there is just no reason any more for this check
and the cap. This commit therefore removes both.

Also change the value of FF_CODEC_CAP_USES_PROGRESSFRAMES
to leave no gaps.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-04-19 13:18:04 +02:00
..
doxy
examples avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
.gitignore
APIchanges avcodec/hevcdec: export global side data in AVCodecContext 2024-04-11 11:48:39 -03:00
Doxyfile doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED 2022-10-17 09:55:19 +02:00
Makefile doc: Merge doc/dev_community/* and Code of Conduct into a seperate file 2023-03-01 00:30:59 +01:00
authors.texi Use https for repository links 2023-03-01 21:59:10 +01:00
bitstream_filters.texi doc/bitstream_filters.texi: Document types used by filter_units 2024-03-10 17:49:16 +01:00
bootstrap.min.css doc/html: fix styling issue with Texinfo 7.0 2023-11-08 23:54:23 +01:00
build_system.txt
codecs.texi doc/codecs: add missing comma to introduction 2024-01-04 01:10:25 +01:00
community.texi doc/community: update conflict of interest rule according to GA vote 2024-04-01 15:38:28 +02:00
decoders.texi avcodec/evc_decoder: Provided support for EVC decoder 2023-11-20 11:55:51 -03:00
default.css
demuxers.texi avformat/rcwtdec: add RCWT Closed Captions demuxer 2024-04-02 20:08:51 +02:00
developer.texi doc/developer: (security) researchers should be credited 2024-04-03 21:38:24 +02:00
devices.texi
doxy-wrapper.sh
encoders.texi avcodec/ac3enc: Remove disabled code for RealAudio variant of AC-3 2024-04-11 12:52:46 +02:00
errno.txt
faq.texi doc/faq: use texi's @tie instead of 0xA0 for non-breaking space 2024-01-10 19:52:23 +01:00
fate.texi doc/fate: advise on --assert-level=2 2024-03-19 04:10:48 +01:00
fate_config.sh.template fate: Allow running multiple rounds of tests with differing settings 2023-12-19 13:34:25 +02:00
ffmpeg-bitstream-filters.texi
ffmpeg-codecs.texi
ffmpeg-devices.texi
ffmpeg-filters.texi
ffmpeg-formats.texi
ffmpeg-protocols.texi
ffmpeg-resampler.texi
ffmpeg-scaler.texi
ffmpeg-utils.texi
ffmpeg.texi doc/ffmpeg: document that there can be multiple complex filtergraphs 2024-04-09 10:34:18 +02:00
ffmpeg.txt
ffplay.texi fftools/ffplay: add hwaccel decoding support 2023-11-15 01:20:11 +08:00
ffprobe.texi fftools/ffprobe: add support for Stream Groups 2024-03-05 12:56:21 -03:00
ffprobe.xsd fftools/ffprobe: export IAMF Stream Group parameters 2024-03-13 16:45:15 -03:00
fftools-common-opts.texi fftools/cmdutils: add option syntax for loading arbitrary arguments from a file 2024-01-20 10:23:24 +01:00
filter_design.txt
filters.texi lavfi/tonemap_vaapi: Add support for HDR to HDR tone mapping 2024-04-18 14:43:07 +08:00
formats.texi avformat/demux: add duration_probesize AVOption 2024-04-02 19:53:40 +02:00
general.texi
general_contents.texi avcodec/liblc3: add encoding/decoding support of LC3 audio codec 2024-04-04 17:47:31 +02:00
git-howto.texi doc/git-howto: use less weird username for git URL 2023-11-22 10:21:50 +01:00
indevs.texi doc/indevs: update CC extraction example to use RCWT muxer 2024-04-02 20:09:05 +02:00
infra.txt doc: Add infra.txt 2024-02-24 15:05:19 +01:00
issue_tracker.txt
lexicon
libav-merge.txt
libavcodec.texi
libavdevice.texi
libavfilter.texi
libavformat.texi
libavutil.texi
libswresample.texi
libswscale.texi
mailing-list-faq.texi doc: Merge doc/dev_community/* and Code of Conduct into a seperate file 2023-03-01 00:30:59 +01:00
metadata.texi doc/muxers: add ffmetadata 2024-03-18 17:59:19 +01:00
mips.txt avcodec: Remove DCT, FFT, MDCT and RDFT 2023-10-01 02:25:09 +02:00
multithreading.txt avcodec/codec_internal: Remove FF_CODEC_CAP_ALLOCATE_PROGRESS 2024-04-19 13:18:04 +02:00
muxers.texi doc/muxers: add mmf 2024-04-19 09:00:59 +02:00
nut.texi
optimization.txt doc: reference the RISC-V specification 2022-09-13 16:50:43 -03:00
outdevs.texi avdevice: deprecate sdl outdev 2024-02-28 10:28:49 +01:00
patchwork
platform.texi doc/platform: drop reference to ffmpeg.zeranoe.com 2023-04-02 16:28:54 +02:00
print_options.c
protocols.texi avformat/rtmpproto: support enhanced rtmp 2023-09-05 09:14:18 +08:00
rate_distortion.txt
resampler.texi swresample/swresample: add a used channel layout option using the new API 2023-02-19 18:28:45 -03:00
scaler.texi
snow.txt
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm doc/html: support texinfo 7.0 2023-11-08 23:53:19 +01:00
tablegen.txt
texi2pod.pl
texidep.pl configure, etc: switch to shebang without space 2024-04-09 16:01:24 +02:00
transforms.md x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
undefined.txt
utils.texi doc/utils/eval: review and extend, clarify ld/st index meaning 2024-04-15 18:32:38 +02:00
writing_filters.txt