From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 79F9F4EF1C for ; Fri, 13 Jun 2025 20:52:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id CE30A68CB4E; Fri, 13 Jun 2025 23:52:24 +0300 (EEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 2C23368B6ED for ; Fri, 13 Jun 2025 23:52:18 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 76BA7442E5 for ; Fri, 13 Jun 2025 20:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1749847937; 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=u0zVfzIbS7BiA7xmShORvo9dJH0U9AqoZDznyKH2ZLM=; b=VPRZ713z4oflqh2vy7uV2rIhz2WzLu4xYD1JUuHuQy1naANSlPSZ+gJ0CaD63xbekVxw1H 4EZ27wpquW5a+Pa72v+n44muwDUPgf3m0IXkv3OCZza5GgEryLY5hN4NkNhSvPqyaur1+G h4ad0j+mSWoehR9Ka/CcQ96JPocET5tbgu3l3UHKmskTcTHH6wsYzSKFMnRz9B/vdEb/ya 4OdwehVSNTqpXycQ3JvFPNmHbFfOsLQD1aL/pfbY0JQ/cYDdCqUR5/R3iG5eAitz4beRTU VD77M0Mllei3vE3MFlHErkNwsznZHcdd+3K/d/SEuCQGPHsAN5biyzin+LNeBw== Date: Fri, 13 Jun 2025 22:52:16 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250613205216.GH29660@pb2> References: <218f1b75-606f-4528-8838-1e0767ecb6b6@regaud-chapuy.fr> MIME-Version: 1.0 In-Reply-To: <218f1b75-606f-4528-8838-1e0767ecb6b6@regaud-chapuy.fr> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugddukeelhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepheekhfeliefgveelieejvdeileefheeugffhjedtgfegieegkeeuhfelleffgfeinecuffhomhgrihhnpedvieegrdhithenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/h264: fixed qp table attach for h264 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="===============4119151410663136832==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4119151410663136832== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="c3RWj8KdWspvOaIe" Content-Disposition: inline --c3RWj8KdWspvOaIe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2025 at 02:37:53PM +0200, Timothee wrote: > Hello, >=20 > Here is a patch where I fixed the attach of per-macroblock qp tables for > H.264. It was implemented for MPEG2 so I have only extended it. >=20 > I tested the functionality with the codecview filter using the following > command: `./ffmpeg -export_side_data 4 -i input.mp4 -vf codecview=3Dqp=3D1 > output.mp4` >=20 > FATE passes. >=20 > Thanks, > Timoth=E9e >=20 > Signed-off-by: Timothee > --- > libavcodec/h264_slice.c | 16 ++++++++++++---- > libavfilter/qp_table.c | 3 ++- > libavfilter/qp_table.h | 1 + > 3 files changed, 15 insertions(+), 5 deletions(-) >=20 > diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c > index 7e53e38cca..f217c58837 100644 > --- a/libavcodec/h264_slice.c > +++ b/libavcodec/h264_slice.c > @@ -2615,8 +2615,10 @@ static int decode_slice(struct AVCodecContext *avc= tx, > void *arg) > ret =3D ff_h264_decode_mb_cabac(h, sl); > - if (ret >=3D 0) > + if (ret >=3D 0) { Applying: avcodec/h264: fixed qp table attach for h264 error: corrupt patch at line 20 error: could not build fake ancestor [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What is kyc? Its a tool that makes you give out your real ID, while crimina= ls give out a forged ID card. --c3RWj8KdWspvOaIe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaEyPgAAKCRBhHseHBAsP qz+CAJ9KFHvpHRLUw74j1swqeEbT+c5PhwCfXqoBI0+B5jo0mcRcWJzfXYwZk9E= =0Bxm -----END PGP SIGNATURE----- --c3RWj8KdWspvOaIe-- --===============4119151410663136832== 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". --===============4119151410663136832==--