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-24 08:38:50 +08:00
2021-12-22 18:43:34 -06:00
2022-07-07 17:52:32 +02:00
2022-03-15 09:42:46 -03:00
2022-06-22 13:38:14 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:46 -03:00
2021-12-04 14:07:19 +01:00
2022-05-14 14:11:52 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-04-13 22:02:47 +02:00
2022-03-15 09:42:46 -03:00
2022-04-29 20:22:55 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-16 14:12:49 +02:00
2022-09-18 22:43:58 +02:00
2022-05-24 08:58:42 +02:00
2022-05-15 13:34:50 +02:00
2022-05-15 13:34:50 +02:00
2022-06-15 04:56:37 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:46 -03:00
2022-08-23 12:20:05 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-06-15 04:56:37 +02:00
2022-04-27 21:30:43 +02:00
2021-12-04 14:07:19 +01:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-09-03 15:41:44 +02:00
2022-03-15 09:42:46 -03:00
2022-04-12 19:30:58 +02:00
2021-12-04 14:07:19 +01:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-04-30 15:41:46 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-05-13 22:09:08 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-05-29 12:38:37 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-05-13 15:18:42 +02:00
2022-04-13 09:41:14 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-09-18 19:43:41 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-09-03 15:41:44 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-31 00:48:58 +02:00
2022-05-12 10:52:52 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:46 -03:00
2022-08-23 22:18:02 +02:00
2022-03-15 11:09:31 -03:00
2022-03-15 16:07:57 +01:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-04-30 15:41:46 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-06-16 10:23:30 +02:00
2022-06-15 04:56:37 +02:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:46 -03:00
2022-05-15 13:34:50 +02:00
2022-09-13 22:59:30 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-09-03 14:44:59 +02:00
2022-03-15 09:42:46 -03:00
2022-05-09 22:21:39 +02:00
2022-03-15 09:42:46 -03:00
2022-04-30 16:20:38 +02:00
2022-03-15 09:42:46 -03:00
2022-06-15 04:56:37 +02:00
2022-05-23 15:07:50 +08:00
2022-03-15 09:42:46 -03:00
2022-04-23 19:24:43 +02:00
2022-04-30 16:20:38 +02:00
2022-04-10 22:41:26 +02:00
2022-09-21 13:01:20 +02:00
2022-03-19 00:01:57 +02:00
2022-08-06 20:32:46 -03:00
2022-02-14 17:51:45 +01:00
2022-05-06 05:19:49 +02:00
2022-03-15 14:29:04 -03:00
2022-03-15 09:42:46 -03:00
2022-07-19 12:27:17 +02:00
2022-03-15 09:42:46 -03:00
2022-03-03 09:57:53 +01:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-06-15 04:56:37 +02:00
2022-03-12 15:10:28 +08:00
2022-03-12 15:10:28 +08:00
2022-03-12 15:10:28 +08:00
2022-06-19 19:18:34 -05:00
2022-06-19 19:18:34 -05:00
2022-02-24 12:56:49 +01:00
2022-07-30 13:17:28 +02:00
2022-07-30 13:17:28 +02:00
2022-07-30 13:17:28 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-04-11 23:14:54 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-07-19 12:27:17 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-29 20:36:54 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:46 -03:00
2022-03-16 14:12:49 +02:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2021-12-04 14:07:19 +01:00
2022-05-23 13:52:26 +03:00
2022-02-20 12:38:52 +01:00
2022-05-19 20:20:38 +02:00
2022-05-19 20:20:38 +02:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:46 -03:00
2022-08-10 09:15:37 -03:00
2022-08-10 09:15:37 -03:00
2022-05-06 05:19:49 +02:00
2022-03-15 09:42:46 -03:00
2022-05-06 05:19:50 +02:00
2022-09-21 13:01:20 +02:00
2022-04-26 20:07:04 +02:00
2022-09-13 22:59:30 +02:00
2022-03-03 09:57:53 +01:00
2022-02-24 12:56:49 +01:00
2022-02-24 12:56:49 +01:00
2022-07-07 17:52:32 +02:00
2022-09-03 15:41:44 +02:00
2022-02-24 12:56:49 +01:00
2022-03-23 23:45:38 +01:00
2022-03-23 23:45:38 +01:00
2022-08-12 10:43:39 +08:00
2022-08-12 10:43:39 +08:00
2022-09-27 00:07:43 +02:00
2022-09-27 00:07:43 +02:00
2022-06-15 04:56:37 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-07 15:29:39 +01:00
2022-04-12 10:51:46 +02:00
2022-03-16 14:12:49 +02:00
2022-05-06 05:19:50 +02:00
2022-03-16 14:12:49 +02:00
2022-03-01 12:36:35 +01:00
2021-11-15 20:41:27 +01:00
2022-03-15 09:42:46 -03:00
2022-03-16 14:05:26 +02:00
2022-05-10 06:49:32 +02:00
2022-09-13 22:59:30 +02:00
2021-12-04 14:07:19 +01:00
2022-02-27 23:50:57 +01:00
2022-03-16 14:12:49 +02:00
2022-07-03 11:41:23 +02:00
2022-03-16 14:12:49 +02:00
2021-11-19 16:47:47 +01:00
2022-02-10 09:22:36 +01:00
2021-12-04 14:07:19 +01:00
2022-09-03 15:18:56 +02:00
2022-09-03 20:27:34 +02:00
2021-12-04 14:07:19 +01:00
2021-12-04 14:07:19 +01:00
2022-06-15 04:56:37 +02:00
2022-02-22 05:46:06 +01:00
2022-05-06 05:19:49 +02:00
2022-06-06 09:09:34 +02:00
2022-07-30 13:17:28 +02:00
2022-06-15 04:56:37 +02:00
2022-02-05 20:56:33 +01:00
2021-11-19 16:47:47 +01:00
2022-07-10 17:20:15 +02:00
2022-07-10 17:20:15 +02:00
2022-03-01 09:47:41 +01:00
2022-04-13 09:30:36 +02:00
2022-04-19 22:08:15 +02:00
2022-03-23 23:45:38 +01:00
2022-03-03 09:57:53 +01:00
2022-03-16 14:12:49 +02:00
2022-04-08 10:16:59 +02:00
2022-03-06 20:16:39 +01:00
2022-04-29 13:38:20 +02:00
2022-09-15 19:35:30 +02:00
2022-09-13 22:59:30 +02:00
2022-06-01 13:52:38 -04:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2021-12-04 14:07:19 +01:00
2022-07-30 22:14:26 +02:00
2022-09-03 15:41:44 +02:00
2022-02-21 17:52:20 +01:00
2022-04-13 10:25:08 +02:00
2022-03-13 21:59:54 +01:00
2022-08-12 10:43:39 +08:00
2022-01-12 10:02:24 +08:00
2022-03-12 15:10:28 +08:00
2022-07-19 12:27:17 +02:00
2022-09-03 15:41:44 +02:00
2022-09-03 15:41:44 +02:00
2022-09-03 15:41:44 +02:00
2022-03-12 15:10:28 +08:00
2022-09-15 09:13:29 -03:00
2022-07-19 12:27:17 +02:00
2022-07-30 13:17:28 +02:00
2021-12-04 14:07:19 +01:00
2022-03-14 23:01:08 +01:00
2022-05-06 05:19:49 +02:00
2022-06-15 04:56:37 +02:00
2022-06-21 18:10:39 +02:00
2022-09-25 18:34:49 +02:00
2022-04-15 18:57:36 +02:00
2022-05-07 13:23:33 +02:00
2022-02-14 19:17:48 +01:00
2022-09-03 15:41:44 +02:00
2022-02-17 19:28:04 +01:00
2021-12-04 14:07:19 +01:00
2021-12-02 11:06:24 +01:00
2022-03-16 14:12:49 +02:00
2022-02-20 12:38:52 +01:00
2022-06-15 04:56:37 +02:00
2021-12-04 14:07:19 +01:00
2021-12-04 14:07:19 +01:00
2022-06-21 13:27:46 +03:00
2022-06-15 04:56:37 +02:00
2022-03-23 23:45:38 +01:00
2022-06-15 04:56:37 +02:00
2022-02-22 05:52:44 +01:00
2022-09-10 22:11:38 +02:00
2022-05-08 10:05:19 +05:30
2022-06-15 04:56:37 +02:00
2022-05-02 23:47:24 +02:00
2022-06-15 04:56:37 +02:00
2022-05-06 05:19:50 +02:00
2022-03-16 14:12:49 +02:00
2022-06-15 04:56:37 +02:00
2021-11-19 20:37:17 +01:00
2022-06-01 13:52:38 -04:00
2022-04-23 21:51:55 +02:00
2022-03-16 14:12:49 +02:00
2022-06-15 04:56:37 +02:00
2022-04-23 10:58:29 +02:00
2022-04-12 15:20:10 +05:30
2022-05-06 15:57:45 +02:00
2022-09-16 13:07:43 -07:00
2022-06-15 04:56:37 +02:00
2022-03-16 14:12:49 +02:00
2022-09-03 15:41:44 +02:00
2022-03-16 14:12:49 +02:00
2022-06-15 04:56:37 +02:00
2022-06-15 04:56:37 +02:00
2022-02-21 00:35:11 +01:00
2022-05-04 20:51:45 +02:00
2022-04-05 12:03:36 +02:00
2021-12-04 14:07:19 +01:00
2022-04-29 22:27:39 +02:00
2022-02-20 23:15:34 +01:00
2022-05-05 19:07:10 +02:00
2021-10-27 11:29:29 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-06-15 04:56:37 +02:00
2022-05-06 05:19:50 +02:00
2022-05-06 05:19:50 +02:00
2022-09-03 15:41:44 +02:00
2022-06-15 04:56:37 +02:00
2021-12-04 14:07:19 +01:00
2021-12-04 14:07:19 +01:00
2022-07-20 12:35:23 +08:00
2022-08-09 14:02:25 +08:00
2021-11-19 16:47:47 +01:00
2022-06-15 04:56:37 +02:00
2021-10-24 16:54:36 +02:00
2022-03-04 18:30:10 +01:00
2022-03-14 17:55:00 +01:00
2022-09-03 15:41:44 +02:00
2022-04-14 22:37:21 +02:00
2022-06-15 04:56:37 +02:00
2022-03-23 23:45:38 +01:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-09-03 15:41:44 +02:00
2022-06-15 04:56:37 +02:00
2021-12-04 14:07:19 +01:00
2022-02-16 20:38:23 +01:00
2021-12-04 14:07:19 +01:00
2022-07-07 17:52:32 +02:00
2022-06-15 04:56:37 +02:00
2021-11-03 19:06:14 +01:00
2022-08-12 10:43:39 +08:00
2022-06-01 20:07:47 -05:00
2022-09-06 10:10:42 -03:00
2021-12-04 14:07:19 +01:00
2021-10-22 13:57:42 +02:00
2022-03-16 14:12:49 +02:00
2022-09-08 21:29:41 +02:00
2022-09-03 15:41:44 +02:00
2022-04-02 13:14:00 +02:00
2022-06-15 04:56:37 +02:00
2022-03-23 23:45:38 +01:00
2022-07-22 08:15:04 +08:00
2022-09-03 15:41:44 +02:00
2022-07-04 19:49:31 +02:00
2022-06-15 04:56:37 +02:00
2022-03-25 22:46:35 +01:00
2022-02-24 12:56:49 +01:00
2022-06-15 04:56:37 +02:00
2022-05-06 05:19:50 +02:00
2022-06-15 04:56:37 +02:00
2022-02-24 21:46:13 +01:00
2022-06-01 20:09:17 -05:00
2022-01-17 16:32:17 +08:00
2022-06-01 13:52:38 -04:00
2022-02-24 21:28:23 +01:00
2022-01-03 03:17:43 +01:00
2022-06-15 04:56:37 +02:00
2022-03-01 12:36:35 +01:00
2022-03-23 23:45:38 +01:00
2022-06-15 04:56:37 +02:00
2022-04-08 18:54:00 +02:00
2021-12-04 14:07:19 +01:00
2022-09-03 15:41:44 +02:00
2022-09-03 15:41:44 +02:00
2021-12-04 14:07:19 +01:00
2022-09-03 15:41:44 +02:00
2022-05-26 23:21:26 +08:00
2022-06-15 04:56:37 +02:00
2022-04-08 18:54:00 +02:00
2022-07-12 16:32:30 +02:00
2022-04-29 22:27:39 +02:00
2021-12-18 11:55:47 -08:00
2022-04-01 21:29:01 +02:00
2022-06-15 04:56:37 +02:00
2022-07-28 16:17:23 +02:00
2022-09-14 21:49:00 +02:00
2022-04-21 22:42:20 +02:00
2022-03-25 18:20:01 +01:00
2022-07-18 13:08:39 +02:00
2022-08-13 15:22:14 +02:00
2022-04-05 17:38:16 +02:00
2022-03-25 18:20:01 +01:00
2022-04-22 12:24:14 +02:00
2022-03-25 18:20:01 +01:00
2022-03-25 18:20:01 +01:00
2022-04-26 22:04:30 +02:00
2021-11-19 16:47:26 +01:00
2021-11-19 16:47:26 +01:00
2021-11-19 16:47:26 +01:00
2021-11-19 16:47:26 +01:00
2022-02-24 12:56:49 +01:00