vpx.mak 2.12 KB
Newer Older
1 2
FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
fate-theora-coeff-level64: CMD = framecrc -i $(SAMPLES)/vp3/coeff_level64.mkv
3

4
FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
5 6
fate-vp31: CMD = framecrc -i $(SAMPLES)/vp3/vp31.avi

7
FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
8
fate-vp3: $(FATE_VP3-yes)
9

10
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
11
fate-vp5: CMD = framecrc -i $(SAMPLES)/vp5/potter512-400-partial.avi -an
12

13
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
14 15
fate-vp60: CMD = framecrc -i $(SAMPLES)/ea-vp6/g36.vp6

16
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
17 18
fate-vp61: CMD = framecrc -i $(SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4

19
FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a
20
fate-vp6a: CMD = framecrc -i $(SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
21

22
FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
23
fate-vp6f: CMD = framecrc -i $(SAMPLES)/flash-vp6/clip1024.flv
24

25 26
FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
fate-vp6: $(FATE_VP6-yes)
27

28 29 30
VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017

define FATE_VP8_SUITE
31
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-test-vector$(2)-$(1)
32
fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
33
fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
34 35
endef

Mans Rullgard's avatar
Mans Rullgard committed
36 37
define FATE_VP8_FULL
$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
38

39 40
# FIXME this file contains two frames with identical timestamps,
# so avconv drops one of them
41
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-sign-bias$(1)
42
fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf
43
fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
44

45
FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-size-change$(1)
46 47
fate-vp8-size-change$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/frame_size_change.webm -frames:v 30
fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
48 49
endef

Mans Rullgard's avatar
Mans Rullgard committed
50
$(eval $(call FATE_VP8_FULL))
51
$(eval $(call FATE_VP8_FULL,-emu-edge,-flags +emu_edge))
52 53
FATE_SAMPLES_AVCONV-$(CONFIG_VP8_DECODER) += $(FATE_VP8-yes)
fate-vp8: $(FATE_VP8-yes)