[FFmpeg-devel] [PATCH v6] lavc: convert frame threading to the receive_frame() pattern

Michael Niedermayer michael at niedermayer.cc
Fri Dec 16 00:10:36 EET 2022


On Wed, Dec 14, 2022 at 02:50:59AM +0100, Timo Rothenpieler wrote:
> From: Anton Khirnov <anton at khirnov.net>
> 
> Reorganize the code such that the frame threading code does not call the
> decoders directly, but instead calls back into the generic decoding
> code. This avoids duplicating the logic that wraps the decoder
> invocation and will be useful in the following commits.
> ---
>  libavcodec/decode.c        |  62 ++++++---
>  libavcodec/decode.h        |   7 +
>  libavcodec/internal.h      |   7 +
>  libavcodec/pthread_frame.c | 279 ++++++++++++++++++++++++-------------
>  libavcodec/thread.h        |  18 +--
>  5 files changed, 247 insertions(+), 126 deletions(-)

i didnt review the code changes but
seems working now

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221215/cb7e439a/attachment.sig>


More information about the ffmpeg-devel mailing list