Commit f94af8d3 authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Michael Niedermayer

fate: add chroma position scale test

The sample position is made weird and non-nominal to force catching
such issues as default values or specialized operations hiding
issues in corner cases.
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 552faecf
......@@ -349,6 +349,10 @@ fate-filter-scale200: CMD = video_filter "scale=w=200:h=200"
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
fate-filter-scale500: CMD = video_filter "scale=w=500:h=500"
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scalechroma
fate-filter-scalechroma: tests/data/vsynth1.yuv
fate-filter-scalechroma: CMD = framecrc -flags bitexact -s 352x288 -pix_fmt yuv444p -i tests/data/vsynth1.yuv -pix_fmt yuv420p -sws_flags +bitexact -vf scale=out_v_chr_pos=33:out_h_chr_pos=151
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
fate-filter-vflip: CMD = video_filter "vflip"
......
#tb 0: 1/25
0, 0, 0, 1, 152064, 0xdcab783a
0, 1, 1, 1, 152064, 0x79c7f1f6
0, 2, 2, 1, 152064, 0x3b810afb
0, 3, 3, 1, 152064, 0x892aca1d
0, 4, 4, 1, 152064, 0x52fdd093
0, 5, 5, 1, 152064, 0xaa643426
0, 6, 6, 1, 152064, 0x9ad020ed
0, 7, 7, 1, 152064, 0x5c179057
0, 8, 8, 1, 152064, 0xa56bf155
0, 9, 9, 1, 152064, 0x61dcffca
0, 10, 10, 1, 152064, 0x0d51a1d3
0, 11, 11, 1, 152064, 0x652f9e8d
0, 12, 12, 1, 152064, 0xdc0bb4d8
0, 13, 13, 1, 152064, 0x561437cf
0, 14, 14, 1, 152064, 0x69ef8e4f
0, 15, 15, 1, 152064, 0xe7244350
0, 16, 16, 1, 152064, 0xe65651cf
0, 17, 17, 1, 152064, 0xfc9ff646
0, 18, 18, 1, 152064, 0x6ae10bc4
0, 19, 19, 1, 152064, 0xd3d1898a
0, 20, 20, 1, 152064, 0xf3f8b139
0, 21, 21, 1, 152064, 0x68c129be
0, 22, 22, 1, 152064, 0xc3922593
0, 23, 23, 1, 152064, 0x2b14d96e
0, 24, 24, 1, 152064, 0xab119489
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment