1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
Kevin Mark 4af496473a FATE: Add test for libavfilter/scale2ref
This new FATE test for the scale2ref filter makes use of the recently
added scale2ref-specific variables to maintain the aspect ratio of a
test input.

Filtergraph explanation:
[main] has an AR of 4:3. [ref] has an AR of 16:9.
640 / 4 = 160. So the new width for [main] is 160.
160 / ((320 / 240) * (1 / 1)) = 160 / (4 / 3) = 120. So the new
height for [main] is 120.
160 / 120 = 4 / 3 so [main]'s aspect ratio has been maintained while
using [ref]'s width as a reference point.

[ref] is nullsink'd since it is left unchanged by scale2ref (and so
shouldn't need to be tested).

If we were to use "iw/4:-1" in place of "iw/4:ow/mdar":
640 / 4 = 160. So the new width for [main] would be 160.
360 / 4 = 90. So the new height for [main] would be 90.
160 / 90 = 16 / 9 so [main] now has the same aspect ratio as [ref]
which is probably what you do not want.

This is currently the only test for scale2ref.

Signed-off-by: Kevin Mark <kmark937@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-05 01:50:25 +02:00
..
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-18 22:43:58 +02:00
2016-04-13 11:37:14 -03:00
aic
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
amv
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2015-06-25 04:09:51 +02:00
ast
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
caf
2016-10-01 17:22:22 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
crc
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-02-01 12:12:15 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-26 16:30:04 -04:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-08-21 02:58:13 +02:00
2016-04-13 11:37:14 -03:00
dpx
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-08-22 22:07:48 +02:00
2016-04-13 11:37:14 -03:00
2016-05-28 22:09:17 +02:00
2016-09-09 12:49:15 +02:00
2016-04-13 11:37:14 -03:00
2016-09-09 00:57:01 +02:00
2016-09-09 12:49:15 +02:00
2016-09-09 11:55:45 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-03-09 20:05:29 +01:00
2016-04-13 11:37:14 -03:00
2016-12-10 22:24:10 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-09-04 12:05:06 +02:00
2016-09-04 20:28:29 +02:00
jv
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
m4v
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
md5
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2017-03-17 13:12:25 -04:00
2016-10-01 17:22:22 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-20 00:02:30 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
opt
2015-11-07 16:04:09 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
ptx
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
rl2
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
sha
smc
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2017-01-27 17:06:42 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-10-01 17:22:22 +02:00
2016-04-13 11:37:14 -03:00
thp
2016-04-13 11:37:14 -03:00
2017-05-25 14:30:04 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
url
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
vb
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
vp7
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
w64
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
yop
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00