History

fate: add tpad filter tests

Paul B Mahol committed 4 years ago

Commit 7dc570e1 parent c6067363 files · +25 −0Browse files

Unified · Split

3 files
  1. tests/fate/filter-video.mak +4 −0
  2. tests/ref/fate/filter-tpad-add +11 −0
  3. tests/ref/fate/filter-tpad-clone +10 −0
tests/fate/filter-video.mak+4−0
@@ -390,6 +390,10 @@ fate-filter-tblend: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf tblend=all_mode=dif · 389 unmodified lines
390390 FATE_FILTER_VSYNTH-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine
391391 fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine
392392
393+FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER TPAD_FILTER) += fate-filter-tpad-add fate-filter-tpad-clone
394+fate-filter-tpad-add: CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=3:color=gray
395+fate-filter-tpad-clone: CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=2:stop_mode=clone:color=black
396+
393397 FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
394398 fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
395399
tests/ref/fate/filter-tpad-add+11−0
@@ -0,0 +1,11 @@
1+#tb 0: 1/2
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 115200, 0x2213b502
7+0, 1, 1, 1, 115200, 0x3744b3ed
8+0, 2, 2, 1, 115200, 0x6e318ba0
9+0, 3, 3, 1, 115200, 0x2213b502
10+0, 4, 4, 1, 115200, 0x2213b502
11+0, 5, 5, 1, 115200, 0x2213b502
tests/ref/fate/filter-tpad-clone+10−0
@@ -0,0 +1,10 @@
1+#tb 0: 1/2
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 115200, 0x375ec573
7+0, 1, 1, 1, 115200, 0x3744b3ed
8+0, 2, 2, 1, 115200, 0x6e318ba0
9+0, 3, 3, 1, 115200, 0x6e318ba0
10+0, 4, 4, 1, 115200, 0x6e318ba0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t