46091200fae2b7be5fecb5b134885f5e15f2128c
[ffmpeg.git] / tests / fate / vp8.mak
1 VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
2
3 define FATE_VP8_SUITE
4 FATE_VP8 += fate-vp8-test-vector$(2)-$(1)
5 fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
6 fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-test-vector-$(1)
7 endef
8
9 define FATE_VP8_FULL_SUITE
10 $(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(2),$(VP8_OPT$(1)))))
11
12 FATE_VP8 += fate-vp8-sign-bias$(2)
13 fate-vp8-sign-bias$(2): CMD = framemd5 $(VP8_OPT$(1)) -i $(SAMPLES)/vp8/sintel-signbias.ivf
14 fate-vp8-sign-bias$(2): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-sign-bias
15 endef
16
17 VP8_OPTS = _ _emu_edge_
18 VP8_OPT_ =
19 VP8_OPT_emu_edge_ = -flags emu_edge
20
21 $(foreach O,$(VP8_OPTS),$(eval $(call FATE_VP8_FULL_SUITE,$(O),$(subst _,-,$(O:_=)))))
22 FATE_TESTS += $(FATE_VP8)
23 fate-vp8: $(FATE_VP8)