1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
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
authors.texi
bitstream_filters.texi doc/bitstream_filters.texi: Document types used by filter_units 2024-03-10 17:49:16 +01:00
bootstrap.min.css
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
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
Doxyfile
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_config.sh.template
fate.texi doc/fate: advise on --assert-level=2 2024-03-19 04:10:48 +01: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
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_contents.texi avcodec/liblc3: add encoding/decoding support of LC3 audio codec 2024-04-04 17:47:31 +02:00
general.texi
git-howto.texi
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
Makefile
metadata.texi doc/muxers: add ffmetadata 2024-03-18 17:59:19 +01:00
mips.txt
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
outdevs.texi avdevice: deprecate sdl outdev 2024-02-28 10:28:49 +01:00
patchwork
platform.texi
print_options.c
protocols.texi
rate_distortion.txt
resampler.texi
scaler.texi
snow.txt
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm
tablegen.txt
texi2pod.pl
texidep.pl configure, etc: switch to shebang without space 2024-04-09 16:01:24 +02:00
transforms.md
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