diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-09 23:18:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-19 13:07:48 +0200 |
commit | 89828417b0629400cf66ba6dec333281dbdbdca8 (patch) | |
tree | dd8c618d1cf50124061e3a5f2e85c0f516d1a7c2 /libavcodec/aptx.c | |
parent | 0fb0946de7d35e4d0c1455b82a04f8833106260e (diff) | |
download | ffmpeg-89828417b0629400cf66ba6dec333281dbdbdca8.tar.gz |
avcodec/threadprogress: Add new API for frame-threaded progress
The API is similar to the ThreadFrame API, with the exception
that it no longer has an included AVFrame and that it has its
own mutexes and condition variables which makes it more independent
of pthread_frame.c. One can wait on anything via a ThreadProgress.
One just has to ensure that the lifetime of the object containing
the ThreadProgress is long enough. This will typically be solved
by putting a ThreadProgress in a refcounted structure that is
shared between threads.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Reviewed-by: epirat07@gmail.com
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aptx.c')
0 files changed, 0 insertions, 0 deletions