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 E0FCF4BFE4 for ; Mon, 28 Jul 2025 15:16:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 8CDE768C6AA; Mon, 28 Jul 2025 18:16:07 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 508FE68C195 for ; Mon, 28 Jul 2025 18:16:01 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9251A43388 for ; Mon, 28 Jul 2025 15:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1753715760; 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=NrgXGAn8RnQeGDwdHX+Z9xMadhAzU+tyNPrbilzQ+3g=; b=Hyvy8gmLPJoz/ZcQlsRQRLhiEjprku/DpBjAemo/zW7Grxq0qabCGr4VW9/o1tSy5BPvGR I1OU7OCuv2qS3KLc4jaUfY5Hmi0zhfVlAHQvF0Qx4r6yAZOCxGyIGAUj/ZzSCIJhE1FKnX b2m4zBvoYVa3hCJH5voG7NTVjT/BSRHstWAfgWkAKY0X/AsZAanHTpN5tCT3bpCqoAzRUG jdDLA/TpsT6R1TtS/GJHIg8Bk8HAOVmaOPWcPzFUbn8AmGolsg8H0mTWq2EigCZDAxcRYJ GlpcmHoM8SyTHkuHl5fhJqOZQwgLSDJF6pWByKI0gmaQdBfKmfWTNGOrkSP1Pw== Date: Mon, 28 Jul 2025 17:15:59 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250728151559.GA29660@pb2> References: <20250723111349.1032083-1-d.frankiewic@samsung.com> MIME-Version: 1.0 In-Reply-To: <20250723111349.1032083-1-d.frankiewic@samsung.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdelvdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeihedrudejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeihedrudejiedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/apv: align APV color format support with latest liboapv version 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="===============8699829779382724456==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8699829779382724456== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ncJ1raAN+qZqEY8N" Content-Disposition: inline --ncJ1raAN+qZqEY8N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 23, 2025 at 01:13:49PM +0200, Dariusz Frankiewicz wrote: > Signed-off-by: Dariusz Frankiewicz > --- > configure | 2 +- > libavcodec/liboapvenc.c | 24 ++++++++++++++++++++++++ > 2 files changed, 25 insertions(+), 1 deletion(-) >=20 > diff --git a/configure b/configure > index ac143f2fea..5527c20578 100755 > --- a/configure > +++ b/configure > @@ -6983,7 +6983,7 @@ enabled jni && { [ $target_os =3D "an= droid" ] && check_headers jni.h > enabled ladspa && require_headers "ladspa.h dlfcn.h" > enabled lcms2 && require_pkg_config lcms2 "lcms2 >=3D 2.13" = lcms2.h cmsCreateContext > enabled libaom && require_pkg_config libaom "aom >=3D 2.0.0" = aom/aom_codec.h aom_codec_version > -enabled liboapv && require_pkg_config liboapv "oapv >=3D 0.1.1= 3.1" "oapv/oapv.h" oapve_encode > +enabled liboapv && require_pkg_config liboapv "oapv >=3D 0.2.0= =2E0" "oapv/oapv.h" oapve_encode > enabled libaribb24 && { check_pkg_config libaribb24 "aribb24 > 1.= 0.3" "aribb24/aribb24.h" arib_instance_new || > { enabled gpl && require_pkg_config libar= ibb24 aribb24 "aribb24/aribb24.h" arib_instance_new; } || > die "ERROR: libaribb24 requires version h= igher than 1.0.3 or --enable-gpl."; } > diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c > index e62ef57d21..7f9fbf6929 100644 > --- a/libavcodec/liboapvenc.c > +++ b/libavcodec/liboapvenc.c > @@ -102,9 +102,27 @@ static inline int get_color_format(enum AVPixelForma= t pix_fmt) > int cf =3D OAPV_CF_UNKNOWN; > =20 > switch (pix_fmt) { > + case AV_PIX_FMT_GRAY10: > + cf =3D OAPV_CF_YCBCR400; > + break; > case AV_PIX_FMT_YUV422P10: > cf =3D OAPV_CF_YCBCR422; > break; > + case AV_PIX_FMT_YUV422P12: > + cf =3D OAPV_CF_YCBCR422; > + break; > + case AV_PIX_FMT_YUV444P10: > + cf =3D OAPV_CF_YCBCR444; > + break; > + case AV_PIX_FMT_YUV444P12: > + cf =3D OAPV_CF_YCBCR444; > + break; > + case AV_PIX_FMT_YUVA444P10: > + cf =3D OAPV_CF_YCBCR4444; > + break; > + case AV_PIX_FMT_YUVA444P12: > + cf =3D OAPV_CF_YCBCR4444; > + break; > default: > av_assert0(cf !=3D OAPV_CF_UNKNOWN); > } does it make sense to continue supporting older versions ? or is there no distribution that uses a version prior 0.2.0.0 ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If a bugfix only changes things apparently unrelated to the bug with no further explanation, that is a good sign that the bugfix is wrong. --ncJ1raAN+qZqEY8N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaIeUKAAKCRBhHseHBAsP q+/aAJkBTf0WhuKtjCpFjOdpnKuwYxtlwQCeMmp0VqHSivPJWQVO/zUuHX+NCcQ= =pveO -----END PGP SIGNATURE----- --ncJ1raAN+qZqEY8N-- --===============8699829779382724456== 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". --===============8699829779382724456==--