[FFmpeg-devel] [PATCH v4] lavc: convert frame threading to the receive_frame() pattern
Michael Niedermayer
michael at niedermayer.cc
Sun Dec 11 18:29:21 EET 2022
On Sat, Dec 10, 2022 at 09:10:18PM +0100, Timo Rothenpieler wrote:
> On 10.12.2022 00:46, Michael Niedermayer wrote:
> > On Fri, Dec 09, 2022 at 02:37:04PM +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 | 58 +++++----
> > > libavcodec/decode.h | 7 +
> > > libavcodec/internal.h | 7 +
> > > libavcodec/pthread_frame.c | 256 ++++++++++++++++++++++++-------------
> > > libavcodec/thread.h | 18 +--
> > > 5 files changed, 223 insertions(+), 123 deletions(-)
> >
> > this patch changes the output with this:
> >
> > ./ffmpeg -ss 1 -i Enigma_Principles_of_Lust.flv -t 1 -bitexact -f framecrc
>
> Yeah, I'd like to have that file.
<timo at rothenpieler.org>: message size 16466626 exceeds size limit 10240000 of
server mail.btbn.de[136.243.74.85]
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- 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/20221211/27d09ef5/attachment.sig>
More information about the ffmpeg-devel
mailing list