[FFmpeg-devel] [PATCH] avfilter/scale_eval: Reduce rounding error.
Michael Niedermayer
michael at niedermayer.cc
Tue Sep 27 01:02:00 EEST 2022
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.
>
> Reviewed-by: Thierry Foucu <tfoucu at google.com>
> Signed-off-by: Tristan Schmelcher <tschmelcher at google.com>
> ---
> libavfilter/scale_eval.c | 11 +++++++----
> libavfilter/scale_eval.h | 3 ++-
> 2 files changed, 9 insertions(+), 5 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220927/86493c98/attachment.sig>
More information about the ffmpeg-devel
mailing list