tests: Add pp7, spp tests based on pp test

This commit is contained in:
Michael Niedermayer 2020-04-18 21:28:12 +02:00
parent 52cc86cae1
commit b1e9764c5e
3 changed files with 28 additions and 0 deletions

View File

@ -543,6 +543,14 @@ fate-filter-pp4: CMD = video_filter "pp=be/ci"
fate-filter-pp5: CMD = video_filter "pp=md"
fate-filter-pp6: CMD = video_filter "pp=be/fd"
FATE_FILTER_VSYNTH-$(CONFIG_PP7_FILTER) += fate-filter-pp7
fate-filter-pp7: fate-vsynth1-mpeg4-qprd
fate-filter-pp7: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "pp7"
FATE_FILTER_VSYNTH-$(CONFIG_SPP_FILTER) += fate-filter-spp
fate-filter-spp: fate-vsynth1-mpeg4-qprd
fate-filter-spp: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "spp=idct=simple:dct=int"
FATE_FILTER_VSYNTH-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp
fate-filter-qp: CMD = video_filter "qp=17,pp=be/hb/vb/tn/l5/al"

10
tests/ref/fate/filter-pp7 Normal file
View File

@ -0,0 +1,10 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 1/1
0, 1, 1, 1, 152064, 0x4c5d7fe0
0, 2, 2, 1, 152064, 0xc8857ae1
0, 3, 3, 1, 152064, 0x3232f092
0, 4, 4, 1, 152064, 0x5bc481c7
0, 5, 5, 1, 152064, 0x91fec184

10
tests/ref/fate/filter-spp Normal file
View File

@ -0,0 +1,10 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 1/1
0, 1, 1, 1, 152064, 0xecd18291
0, 2, 2, 1, 152064, 0xea34708a
0, 3, 3, 1, 152064, 0xd73debe7
0, 4, 4, 1, 152064, 0x47f57fbb
0, 5, 5, 1, 152064, 0x508dba95