diff options
author | Andreas Rheinhardt <[email protected]> | 2022-08-09 23:18:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2024-04-19 13:07:48 +0200 |
commit | 89828417b0629400cf66ba6dec333281dbdbdca8 (patch) | |
tree | dd8c618d1cf50124061e3a5f2e85c0f516d1a7c2 /libavcodec/vaapi_encode.h | |
parent | 0fb0946de7d35e4d0c1455b82a04f8833106260e (diff) |
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 <[email protected]>
Reviewed-by: [email protected]
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/vaapi_encode.h')
0 files changed, 0 insertions, 0 deletions