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 32FF5401F8 for ; Sat, 19 Feb 2022 15:48:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5A73868B11A; Sat, 19 Feb 2022 17:48:41 +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 2EA1D68AE8D for ; Sat, 19 Feb 2022 17:48:35 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id E3787C0003 for ; Sat, 19 Feb 2022 15:48:33 +0000 (UTC) Date: Sat, 19 Feb 2022 16:48:31 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220219154831.GW2829255@pb2> References: <20220218144546.43231-1-martin@martin.st> MIME-Version: 1.0 In-Reply-To: <20220218144546.43231-1-martin@martin.st> Subject: Re: [FFmpeg-devel] [PATCH] swscale: Take the destination range into account for yuv->rgb->yuv conversions 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="===============4730371142183764662==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4730371142183764662== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="88WGHg/YIrmbYbNb" Content-Disposition: inline --88WGHg/YIrmbYbNb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2022 at 04:45:46PM +0200, Martin Storsj=F6 wrote: > The range parameters need to be set up before calling > sws_init_context (which selects which fastpaths can be used; > this gets called by sws_getContext); solely passing them via > sws_setColorspaceDetails isn't enough. >=20 > This fixes producing full range YUV range output when doing > YUV->YUV conversions between different YUV color spaces. >=20 > Signed-off-by: Martin Storsj=F6 > --- > libswscale/utils.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) Probably ok please add a fate test for this thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Modern terrorism, a quick summary: Need oil, start war with country that has oil, kill hundread thousand in war. Let country fall into chaos, be surprised about raise of fundamantalists. Drop more bombs, kill more people, be surprised about them taking revenge and drop even more bombs and strip your own citizens of their rights and freedoms. to be continued --88WGHg/YIrmbYbNb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYhERSwAKCRBhHseHBAsP qwupAJ9J4LuVTTLldQgGe5JkgL4o5lfCcQCfbelUtJIHSvj8/mzXYmYAeAsfZvI= =Hm2S -----END PGP SIGNATURE----- --88WGHg/YIrmbYbNb-- --===============4730371142183764662== 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". --===============4730371142183764662==--