[FFmpeg-cvslog] test: Add codecview test

Michael Niedermayer git at videolan.org
Tue May 12 02:05:31 EEST 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Apr 18 22:40:49 2020 +0200| [5f359f2b67f1254d05757fe033efdc396118f947] | committer: Michael Niedermayer

test: Add codecview test

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

 tests/fate/filter-video.mak     |  4 ++++
 tests/ref/fate/filter-codecview | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index d18c91f3e4..e0857cc766 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -551,6 +551,10 @@ FATE_FILTER_VSYNTH-$(CONFIG_SPP_FILTER) += fate-filter-spp
 fate-filter-spp: fate-vsynth1-mpeg4-qprd
 fate-filter-spp: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "spp=idct=simple:dct=int"
 
+FATE_FILTER_VSYNTH-$(CONFIG_CODECVIEW_FILTER) += fate-filter-codecview
+fate-filter-codecview: fate-vsynth1-mpeg4-qprd
+fate-filter-codecview: CMD = framecrc -flags bitexact -idct simple -flags2 +export_mvs -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf codecview=mv=pf+bf+bb
+
 FATE_FILTER_VSYNTH-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp
 fate-filter-qp: CMD = video_filter "qp=17,pp=be/hb/vb/tn/l5/al"
 
diff --git a/tests/ref/fate/filter-codecview b/tests/ref/fate/filter-codecview
new file mode 100644
index 0000000000..4f6ba741ae
--- /dev/null
+++ b/tests/ref/fate/filter-codecview
@@ -0,0 +1,10 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 1/1
+0,          1,          1,        1,   152064, 0x69a58723
+0,          2,          2,        1,   152064, 0xb42d52c3
+0,          3,          3,        1,   152064, 0x9376ce65
+0,          4,          4,        1,   152064, 0x796543f9
+0,          5,          5,        1,   152064, 0x5027b118



More information about the ffmpeg-cvslog mailing list