1FATE_TRUEMOTION1 += fate-truemotion1-15 2fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an -vf scale 3 4FATE_TRUEMOTION1 += fate-truemotion1-24 5fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24 -an -vf scale 6 7FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, TRUEMOTION1, SCALE_FILTER) += $(FATE_TRUEMOTION1) 8fate-truemotion1: $(FATE_TRUEMOTION1) 9 10FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, TRUEMOTION2) += fate-truemotion2 11fate-truemotion2: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tm20.avi 12 13FATE_TRUEMOTION2RT += fate-truemotion2rt-low 14fate-truemotion2rt-low: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_low.avi -an 15 16FATE_TRUEMOTION2RT += fate-truemotion2rt-mid 17fate-truemotion2rt-mid: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_mid.avi -an 18 19FATE_TRUEMOTION2RT += fate-truemotion2rt-high 20fate-truemotion2rt-high: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_high.avi -an 21 22FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, TRUEMOTION2RT) += $(FATE_TRUEMOTION2RT) 23fate-truemotion2rt: $(FATE_TRUEMOTION2RT) 24 25FATE_VP3-$(call FRAMECRC, MATROSKA, THEORA) += fate-theora-coeff-level64 26fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv 27 28FATE_VP3-$(call FRAMECRC, OGG, THEORA) += fate-theora-offset 29fate-theora-offset: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/offset_test.ogv 30 31FATE_VP3-$(call FRAMECRC, AVI, VP3) += fate-vp31 32fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi 33 34FATE_SAMPLES_AVCONV += $(FATE_VP3-yes) 35fate-vp3: $(FATE_VP3-yes) 36 37FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, VP4) += fate-vp4 38fate-vp4: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp4/KTkvw8dg1J8.avi 39 40FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, VP5) += fate-vp5 41fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an 42 43FATE_VP6-$(call FRAMECRC, EA, VP6) += fate-vp60 44fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6 45 46FATE_VP6-$(call FRAMECRC, EA, VP6) += fate-vp61 47fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4 48 49FATE_VP6-$(call FRAMECRC, MOV, VP6A) += fate-vp6a 50fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.mov 51 52FATE_VP6-$(call FRAMECRC, MOV, VP6A) += fate-vp6a-skip_alpha 53fate-vp6a-skip_alpha: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.mov 54 55FATE_VP6-$(call FRAMECRC, FLV, VP6F) += fate-vp6f 56fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv 57 58FATE_VP8-$(call FRAMECRC, MATROSKA, VP8) += fate-vp8-2451 59fate-vp8-2451: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp8/RRSF49-short.webm -vsync cfr -an 60 61FATE_SAMPLES_AVCONV += $(FATE_VP6-yes) 62fate-vp6: $(FATE_VP6-yes) 63 64FATE_SAMPLES_FFMPEG-$(call FRAMECRC, AVI, VP7) += fate-vp7 65fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an 66 67VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 68 69define FATE_VP8_SUITE 70FATE_VP8-$(call FRAMEMD5, IVF, VP8) += fate-vp8-test-vector-$(1) 71fate-vp8-test-vector-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf 72fate-vp8-test-vector-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1) 73endef 74 75$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N)))) 76 77# FIXME this file contains two frames with identical timestamps, 78# so ffmpeg drops one of them 79FATE_VP8-$(call FRAMEMD5, IVF, VP8) += fate-vp8-sign-bias 80fate-vp8-sign-bias: CMD = framemd5 -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf 81fate-vp8-sign-bias: REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias 82 83FATE_VP8-$(call FRAMEMD5, MATROSKA, VP8, SCALE_FILTER) += fate-vp8-size-change 84fate-vp8-size-change: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/vp8/frame_size_change.webm -frames:v 30 -sws_flags bitexact+bilinear 85fate-vp8-size-change: REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change 86 87FATE_SAMPLES_AVCONV += $(FATE_VP8-yes) 88fate-vp8: $(FATE_VP8-yes) 89 90define FATE_VP9_SUITE 91FATE_VP9-$(call FRAMEMD5, MATROSKA, VP9) += fate-vp9-$(1) 92fate-vp9-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm 93fate-vp9-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1) 94endef 95 96define FATE_VP9_PROFILE_SUITE 97FATE_VP9-$(call FRAMEMD5, MATROSKA, VP9, $(4)) += fate-vp9p$(2)-$(1) 98fate-vp9p$(2)-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp9$(2)-2-$(1).webm $(3) 99fate-vp9p$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9p$(2)-$(1) 100endef 101 102VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \ 103 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \ 104 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \ 105 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 106VP9_SHARP = 1 2 3 4 5 6 7 107VP9_SIZE_A = 08 10 16 18 32 34 64 66 108VP9_SIZE_B = 196 198 200 202 208 210 224 226 109VP9_CHROMA_SUBSAMPLE = 422 440 444 110VP9_HIGH_BITDEPTH = 10 12 111 112$(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q)))) 113$(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP)))) 114$(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H)))))) 115$(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H)))))) 116$(eval $(call FATE_VP9_SUITE,03-deltaq)) 117$(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,04-yuv$(SS),1,,))) 118$(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv420,2,-pix_fmt yuv420p$(BD)le -vf scale, SCALE_FILTER))) 119$(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv$(SS),3,-pix_fmt yuv$(SS)p$(BD)le -vf scale, SCALE_FILTER))))) 120$(eval $(call FATE_VP9_SUITE,06-bilinear)) 121$(eval $(call FATE_VP9_SUITE,09-lf_deltas)) 122$(eval $(call FATE_VP9_SUITE,10-show-existing-frame)) 123$(eval $(call FATE_VP9_SUITE,10-show-existing-frame2)) 124$(eval $(call FATE_VP9_SUITE,15-segkey_adpq)) 125$(eval $(call FATE_VP9_SUITE,16-intra-only)) 126$(eval $(call FATE_VP9_SUITE,2pass-akiyo)) 127$(eval $(call FATE_VP9_SUITE,parallelmode-akiyo)) 128$(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo)) 129$(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo)) 130$(eval $(call FATE_VP9_SUITE,tiling-pedestrian)) 131$(eval $(call FATE_VP9_SUITE,trac3849)) 132$(eval $(call FATE_VP9_SUITE,trac4359)) 133 134FATE_VP9-$(call FRAMEMD5, IVF, VP9, SCALE_FILTER) += fate-vp9-05-resize 135fate-vp9-05-resize: CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf -s 352x288 -sws_flags bitexact+bilinear 136fate-vp9-05-resize: REF = $(SRC_PATH)/tests/ref/fate/vp9-05-resize 137 138fate-vp9-encparams: CMD = venc_data $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-segmentation-aq-akiyo.webm 0 5 139FATE_SAMPLES_DUMP_DATA-$(call DEMDEC, MATROSKA, VP9) += fate-vp9-encparams 140 141FATE_VP9-$(call DEMDEC, MATROSKA, VP9) += fate-vp9-encparams 142 143FATE_SAMPLES_FFMPEG += $(FATE_VP9-yes) 144fate-vp9: $(FATE_VP9-yes) 145