[SCM] libav/experimental: Make fate vp8 test cover emu_edge cases

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:02 UTC 2013


The following commit has been merged in the experimental branch:
commit 8d660f7527050671b81531743f3e26c901ae27d4
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Wed Dec 29 17:48:57 2010 +0000

    Make fate vp8 test cover emu_edge cases
    
    Originally committed as revision 26134 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/fate/vp8.mak b/tests/fate/vp8.mak
index 4abca15..4609120 100644
--- a/tests/fate/vp8.mak
+++ b/tests/fate/vp8.mak
@@ -1,14 +1,23 @@
 VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
 
 define FATE_VP8_SUITE
-FATE_VP8 += fate-vp8-test-vector-$(1)
-fate-vp8-test-vector-$(1): CMD = framemd5 -i $(SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
+FATE_VP8 += fate-vp8-test-vector$(2)-$(1)
+fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
+fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-test-vector-$(1)
 endef
 
-$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N))))
+define FATE_VP8_FULL_SUITE
+$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(2),$(VP8_OPT$(1)))))
 
-FATE_VP8 += fate-vp8-sign-bias
-fate-vp8-sign-bias: CMD = framemd5 -i $(SAMPLES)/vp8/sintel-signbias.ivf
+FATE_VP8 += fate-vp8-sign-bias$(2)
+fate-vp8-sign-bias$(2): CMD = framemd5 $(VP8_OPT$(1)) -i $(SAMPLES)/vp8/sintel-signbias.ivf
+fate-vp8-sign-bias$(2): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-sign-bias
+endef
+
+VP8_OPTS = _ _emu_edge_
+VP8_OPT_ =
+VP8_OPT_emu_edge_ = -flags emu_edge
 
+$(foreach O,$(VP8_OPTS),$(eval $(call FATE_VP8_FULL_SUITE,$(O),$(subst _,-,$(O:_=)))))
 FATE_TESTS += $(FATE_VP8)
 fate-vp8: $(FATE_VP8)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list