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 CC58F4287B for ; Wed, 2 Nov 2022 19:05:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8938C68BE53; Wed, 2 Nov 2022 21:05:17 +0200 (EET) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C2E7668BD8B for ; Wed, 2 Nov 2022 21:05:10 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 899D9C0006 for ; Wed, 2 Nov 2022 19:05:09 +0000 (UTC) Date: Wed, 2 Nov 2022 20:05:07 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20221102190507.GG1814017@pb2> References: <20221026161747.3672520-1-asdunne@google.com> <20221101190507.3229714-1-asdunne@google.com> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] sws_scale: Use av_sat_add32 in yuv2rgba64 template 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="===============8365393245495238516==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8365393245495238516== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c7hkjup166d4FzgN" Content-Disposition: inline --c7hkjup166d4FzgN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable dooa 2On Tue, Nov 01, 2022 at 03:12:08PM -0400, Drew Dunne wrote: > This was supposed to be in reply to a previous patch I sent, but I changed > the git message so maybe it didn't like that. Sorry about that. >=20 > Attached is the example YUVA file that can reproduce the overflow bug. >=20 > The command to reproduce is: >=20 > ./ffmpeg \ > -f rawvideo -video_size 66x64 -pixel_format yuva420p10le \ > -i overflow_input_w66h64.yuva420p10le \ > -filter_complex > "scale=3Dflags=3Dbicubic+full_chroma_int+full_chroma_inp+bitexact+accurat= e_rnd:in_color_matrix=3Dbt2020:out_color_matrix=3Dbt2020:in_range=3Dfull:ou= t_range=3Dfull,format=3Drgba64[out]" > \ > -f rawvideo -codec:v:0 rawvideo -pixel_format rgba64 -map '[out]' \ > -y overflow_w66h64.rgba64 >=20 > I've attached a PNG of the resulting overflowed image, there is a clear > discoloration in the bottom left corner that's orange instead of pink. >=20 > I've also attached a PNG of the image using the patch to correct this > overflow. I dont like the multi cliping per sample, ill post a different solution thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Elect your leaders based on what they did after the last election, not based on what they say before an election. --c7hkjup166d4FzgN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCY2K/XQAKCRBhHseHBAsP q1WgAJ9l5RBp0YcwLLoqqWiiIxHYcxJFVQCeJ1+exn77TrFMhOC3iumEswmJ4Gk= =xe8D -----END PGP SIGNATURE----- --c7hkjup166d4FzgN-- --===============8365393245495238516== 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". --===============8365393245495238516==--