mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
552faecf4b
commit
f94af8d32a
@ -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"
|
||||
|
||||
|
26
tests/ref/fate/filter-scalechroma
Normal file
26
tests/ref/fate/filter-scalechroma
Normal file
@ -0,0 +1,26 @@
|
||||
#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
|
Loading…
Reference in New Issue
Block a user