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 4092042F44 for ; Fri, 15 Jul 2022 21:19:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3529368B9C7; Sat, 16 Jul 2022 00:19:56 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2361C68B941 for ; Sat, 16 Jul 2022 00:19:50 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 494FA1BF206 for ; Fri, 15 Jul 2022 21:19:49 +0000 (UTC) Date: Fri, 15 Jul 2022 23:19:48 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220715211948.GF2088045@pb2> References: <20220713204854.3114817-1-martin@martin.st> <20220713204854.3114817-5-martin@martin.st> <8E07A574-9F34-48B1-98BC-95A5B676A458@amazon.com> <3a7cff5-7691-e8cd-55c6-28f7f63cda27@martin.st> MIME-Version: 1.0 In-Reply-To: <3a7cff5-7691-e8cd-55c6-28f7f63cda27@martin.st> Subject: Re: [FFmpeg-devel] [PATCH 5/5] aarch64: me_cmp: Don't do uaddlv once per iteration 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="===============8809807775335290777==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8809807775335290777== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l+goss899txtYvYf" Content-Disposition: inline --l+goss899txtYvYf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2022 at 10:56:03PM +0300, Martin Storsj=F6 wrote: > On Fri, 15 Jul 2022, Swinney, Jonathan wrote: >=20 > > If the max height is just 16, then this should be fine. I assumed that h > > could have a much higher value (>1024), but if that is not the case, > > then this is a useful optimization. >=20 > At least according to the me_cmp.h header, which says: >=20 > /* Motion estimation: > * h is limited to { width / 2, width, 2 * width }, > * but never larger than 16 and never smaller than 2. > * Although currently h < 4 is not used as functions with > * width < 8 are neither used nor implemented. */ These rules where written with support for encoding of all standard formats in mind at the time that was written. today it may make sense to extend these rules to cover the things which where created since then thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into democracies and democracies degenerate into despotisms. -- Aristotle --l+goss899txtYvYf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYtHZ8AAKCRBhHseHBAsP q9FXAJ9udSe19GOeXhfzIlELgDOXQNeIXQCfTEosV3qY7lyGrV0VnIjii/c8a5A= =gV8B -----END PGP SIGNATURE----- --l+goss899txtYvYf-- --===============8809807775335290777== 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". --===============8809807775335290777==--