OSDN Git Service

prores: add FATE tests
authorDiego Biurrun <diego@biurrun.de>
Fri, 23 Sep 2011 00:06:23 +0000 (02:06 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 13 Oct 2011 21:20:39 +0000 (23:20 +0200)
tests/Makefile
tests/fate/prores.mak [new file with mode: 0644]
tests/ref/fate/prores-422 [new file with mode: 0644]
tests/ref/fate/prores-422_hq [new file with mode: 0644]
tests/ref/fate/prores-422_lt [new file with mode: 0644]
tests/ref/fate/prores-422_proxy [new file with mode: 0644]
tests/ref/fate/prores-alpha [new file with mode: 0644]

index c0afffd..1ec9dc3 100644 (file)
@@ -31,6 +31,7 @@ include $(SRC_PATH)/tests/fate/fft.mak
 include $(SRC_PATH)/tests/fate/h264.mak
 include $(SRC_PATH)/tests/fate/libavutil.mak
 include $(SRC_PATH)/tests/fate/mp3.mak
+include $(SRC_PATH)/tests/fate/prores.mak
 include $(SRC_PATH)/tests/fate/vorbis.mak
 include $(SRC_PATH)/tests/fate/vp8.mak
 
diff --git a/tests/fate/prores.mak b/tests/fate/prores.mak
new file mode 100644 (file)
index 0000000..7be756d
--- /dev/null
@@ -0,0 +1,15 @@
+FATE_PRORES = fate-prores-422                                           \
+              fate-prores-422_hq                                        \
+              fate-prores-422_lt                                        \
+              fate-prores-422_proxy                                     \
+              fate-prores-alpha                                         \
+
+FATE_TESTS += $(FATE_PRORES)
+fate-prores: $(FATE_PRORES)
+
+fate-prores-422:       CMD = framecrc -vsync 0 -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422.mov
+fate-prores-422_hq:    CMD = framecrc -vsync 0 -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_HQ.mov
+fate-prores-422_lt:    CMD = framecrc -vsync 0 -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_LT.mov
+fate-prores-422_proxy: CMD = framecrc -vsync 0 -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_Proxy.mov
+fate-prores-alpha:     CMD = framecrc -vsync 0 -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov
+
diff --git a/tests/ref/fate/prores-422 b/tests/ref/fate/prores-422
new file mode 100644 (file)
index 0000000..8d6f3ab
--- /dev/null
@@ -0,0 +1,2 @@
+0, 0, 8294400, 0xe8e9d448
+0, 3003, 8294400, 0xe8e9d448
diff --git a/tests/ref/fate/prores-422_hq b/tests/ref/fate/prores-422_hq
new file mode 100644 (file)
index 0000000..8ce6937
--- /dev/null
@@ -0,0 +1,2 @@
+0, 0, 8294400, 0x817063b0
+0, 3003, 8294400, 0x817063b0
diff --git a/tests/ref/fate/prores-422_lt b/tests/ref/fate/prores-422_lt
new file mode 100644 (file)
index 0000000..e9d0437
--- /dev/null
@@ -0,0 +1,2 @@
+0, 0, 8294400, 0xcd4ccde1
+0, 3003, 8294400, 0xcd4ccde1
diff --git a/tests/ref/fate/prores-422_proxy b/tests/ref/fate/prores-422_proxy
new file mode 100644 (file)
index 0000000..c9e454f
--- /dev/null
@@ -0,0 +1,2 @@
+0, 0, 8294400, 0x51d29320
+0, 3003, 8294400, 0x51d29320
diff --git a/tests/ref/fate/prores-alpha b/tests/ref/fate/prores-alpha
new file mode 100644 (file)
index 0000000..2e17020
--- /dev/null
@@ -0,0 +1,2 @@
+0, 0, 8294400, 0xee48d74b
+0, 3003, 8294400, 0x2a0c7eb1