Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] avfilter: add tpad filter tests
@ 2022-03-17 11:08 Paul B Mahol
  0 siblings, 0 replies; only message in thread
From: Paul B Mahol @ 2022-03-17 11:08 UTC (permalink / raw)
  To: ffmpeg-devel

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 tests/fate/filter-video.mak      |  4 ++++
 tests/ref/fate/filter-tpad-add   | 11 +++++++++++
 tests/ref/fate/filter-tpad-clone | 10 ++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 tests/ref/fate/filter-tpad-add
 create mode 100644 tests/ref/fate/filter-tpad-clone

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 27a794dab4..d965a4d851 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -390,6 +390,10 @@ fate-filter-tblend: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf tblend=all_mode=dif
 FATE_FILTER_VSYNTH-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine
 fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine
 
+FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER TPAD_FILTER) += fate-filter-tpad-add fate-filter-tpad-clone
+fate-filter-tpad-add:   CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=3:color=gray
+fate-filter-tpad-clone: CMD = framecrc -lavfi testsrc2=d=1:r=2,tpad=start=1:stop=2:stop_mode=clone:color=black
+
 FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
 fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
 
diff --git a/tests/ref/fate/filter-tpad-add b/tests/ref/fate/filter-tpad-add
new file mode 100644
index 0000000000..42386a4765
--- /dev/null
+++ b/tests/ref/fate/filter-tpad-add
@@ -0,0 +1,11 @@
+#tb 0: 1/2
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,          0,          0,        1,   115200, 0x2213b502
+0,          1,          1,        1,   115200, 0x3744b3ed
+0,          2,          2,        1,   115200, 0x6e318ba0
+0,          3,          3,        1,   115200, 0x2213b502
+0,          4,          4,        1,   115200, 0x2213b502
+0,          5,          5,        1,   115200, 0x2213b502
diff --git a/tests/ref/fate/filter-tpad-clone b/tests/ref/fate/filter-tpad-clone
new file mode 100644
index 0000000000..a6893d245f
--- /dev/null
+++ b/tests/ref/fate/filter-tpad-clone
@@ -0,0 +1,10 @@
+#tb 0: 1/2
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,          0,          0,        1,   115200, 0x375ec573
+0,          1,          1,        1,   115200, 0x3744b3ed
+0,          2,          2,        1,   115200, 0x6e318ba0
+0,          3,          3,        1,   115200, 0x6e318ba0
+0,          4,          4,        1,   115200, 0x6e318ba0
-- 
2.33.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-17 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 11:08 [FFmpeg-devel] [PATCH] avfilter: add tpad filter tests Paul B Mahol

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git