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 1C7E0448DA for ; Mon, 26 Sep 2022 22:02:12 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2F84668B919; Tue, 27 Sep 2022 01:02:09 +0300 (EEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C19D5680C30 for ; Tue, 27 Sep 2022 01:02:02 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id A0DD360003 for ; Mon, 26 Sep 2022 22:02:01 +0000 (UTC) Date: Tue, 27 Sep 2022 00:02:00 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220926220200.GX6583@pb2> References: <20220919164237.312664-1-tschmelcher@google.com> <20220926171409.2782171-1-tschmelcher@google.com> MIME-Version: 1.0 In-Reply-To: <20220926171409.2782171-1-tschmelcher@google.com> Subject: Re: [FFmpeg-devel] [PATCH] avfilter/scale_eval: Reduce rounding error. 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="===============0944625790824271053==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0944625790824271053== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="b2s+RKoBicgQlNJs" Content-Disposition: inline --b2s+RKoBicgQlNJs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 26, 2022 at 05:14:09PM +0000, Tristan Schmelcher wrote: > When force_original_aspect_ratio and force_divisible_by are both > used, dimensions are now rounded to the nearest allowed multiple of > force_divisible_by rather than first rounding to the nearest integer and > then rounding in a static direction. This results in less distortion of > the aspect ratio. >=20 > Reviewed-by: Thierry Foucu > Signed-off-by: Tristan Schmelcher > --- > libavfilter/scale_eval.c | 11 +++++++---- > libavfilter/scale_eval.h | 3 ++- > 2 files changed, 9 insertions(+), 5 deletions(-) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. U= ser questions about the command line tools should be sent to the ffmpeg-user ML. And questions about how to use libav* should be sent to the libav-user ML. --b2s+RKoBicgQlNJs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYzIhVAAKCRBhHseHBAsP q2rXAJ96DRQMG8WbUrUQGte5aQQUfGKOZgCZASQZCZHDmP+j/QdXJ/UbKHfClXQ= =/VV0 -----END PGP SIGNATURE----- --b2s+RKoBicgQlNJs-- --===============0944625790824271053== 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". --===============0944625790824271053==--