Browse Source

test: Add codecview test

tags/n4.3
Michael Niedermayer 5 years ago
parent
commit
5f359f2b67
2 changed files with 14 additions and 0 deletions
  1. +4
    -0
      tests/fate/filter-video.mak
  2. +10
    -0
      tests/ref/fate/filter-codecview

+ 4
- 0
tests/fate/filter-video.mak View File

@@ -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"



+ 10
- 0
tests/ref/fate/filter-codecview View File

@@ -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

Loading…
Cancel
Save