ffmpeg/libavfilter
Tristan Schmelcher 179830108d
avfilter/scale_eval: Reduce rounding error.
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@google.com>
Signed-off-by: Tristan Schmelcher <tschmelcher@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-09-27 00:07:43 +02:00
..
2022-07-07 17:52:32 +02:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-03-16 14:05:26 +02:00
2022-04-23 10:58:29 +02:00