From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 6DF7A4AE2E for ; Wed, 24 Jul 2024 18:45:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E0B9A68D54C; Wed, 24 Jul 2024 21:44:57 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6029368CD6E for ; Wed, 24 Jul 2024 21:44:51 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id C13531C0002 for ; Wed, 24 Jul 2024 18:44:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1721846690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/sLcma20PISC9I1jpvdJU86Pl7fcGpZ+XxE0cJXyP1A=; b=SJOQzalYCJjIb3mQMaSU5FVXksCANvxZ74/RJ6nGnbQV61T5V5Pn0XnPF4ebzRHPv63dJb x2QyWLc0xpe+zRSOd5zyxnmeU4L2PfSuWoCPUlgYa3cuuHZP94wyg7j9JVlqcs8IGufJCJ m63C/yguPHcCg9wsrhVvrvJKHUKLvi1JbfiW6ri7dCARTLZbMRTEjp5lGjtNyCq7Rvg/vh 1l48vobS7HyOMYSYCOTnd/1qqDcNi4BqoGft0Sb/lCkkEujzu03lREd4oko2jlJXajSVqi hYB/i0TDjSRCOmBzQ75qDnmlEueWgk5azmsEPQ/zr1MMQxBDNTOJtW0wbpxobQ== Date: Wed, 24 Jul 2024 20:44:50 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240724184450.GO4991@pb2> References: <20240716171155.31838-1-anton@khirnov.net> <20240716171155.31838-33-anton@khirnov.net> MIME-Version: 1.0 In-Reply-To: <20240716171155.31838-33-anton@khirnov.net> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 33/39] lavc: convert frame threading to the receive_frame() pattern X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============5786576847236528353==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5786576847236528353== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VVAsavKnFMTAHITI" Content-Disposition: inline --VVAsavKnFMTAHITI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 16, 2024 at 07:11:48PM +0200, Anton Khirnov wrote: > 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 allows receive_frame()-based decoders to use frame > threading. >=20 > Further work by Timo Rothenpieler . > --- > libavcodec/avcodec.c | 9 +- > libavcodec/avcodec_internal.h | 25 +-- > libavcodec/decode.c | 40 +++-- > libavcodec/internal.h | 7 + > libavcodec/pthread_frame.c | 278 +++++++++++++++++++++------------- > 5 files changed, 235 insertions(+), 124 deletions(-) this (frm your recive_frame branch) breaks: for i in `seq 10` ; do ./ffmpeg -v 0 -i ffv1.3-01ec.avi -t 1 -f crc - ; do= ne CRC=3D0xf0227bce CRC=3D0xf0227bce CRC=3D0xb40076a4 CRC=3D0xf0227bce CRC=3D0xf0227bce CRC=3D0xf0227bce CRC=3D0xf0227bce CRC=3D0xf0227bce CRC=3D0xb40076a4 CRC=3D0x6f1fc654 before: make -j32 && for i in `seq 10` ; do ./ffmpeg -v 0 -i ffv1.3-01ec.avi -t 1 = -f crc - ; done CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 CRC=3D0xc2cd3350 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness they enter who follow after the Ignorance, they as if into a greater darkness enter who devote themselves to the Knowledge alone. -- Isha Upanishad --VVAsavKnFMTAHITI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZqFLngAKCRBhHseHBAsP qxwBAJ0e+QizfCiXUWWJLf4U9Q2KqTP92QCeOqpgu7d3G5+QIkHcG9fYtkuLif0= =xllB -----END PGP SIGNATURE----- --VVAsavKnFMTAHITI-- --===============5786576847236528353== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============5786576847236528353==--