[FFmpeg-cvslog] fate: add a DPX parser test

Vittorio Giovara git at videolan.org
Fri Dec 19 03:40:55 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Dec  1 16:20:10 2014 +0100| [a381e0cec87bcb28ebc05fe840bb937a495de736] | committer: Vittorio Giovara

fate: add a DPX parser test

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a381e0cec87bcb28ebc05fe840bb937a495de736
---

 tests/fate/image.mak     |    3 +++
 tests/ref/fate/dpxparser |    5 +++++
 2 files changed, 8 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f91ee69..3864896 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -33,6 +33,9 @@ fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_c
 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
 fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
 
+FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
+fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/libav_4x_concat.dpx
+
 FATE_EXR += fate-exr-slice-raw
 fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
 
diff --git a/tests/ref/fate/dpxparser b/tests/ref/fate/dpxparser
new file mode 100644
index 0000000..025c87d
--- /dev/null
+++ b/tests/ref/fate/dpxparser
@@ -0,0 +1,5 @@
+#tb 0: 1/25
+0,          0,          0,        1,   203280, 0xa7d03ff5
+0,          1,          1,        1,   203280, 0xb908d8d4
+0,          2,          2,        1,   203280, 0xf7900408
+0,          3,          3,        1,   203280, 0xb74ed6a8



More information about the ffmpeg-cvslog mailing list