History

fate/filter-video: add more rgbtestsrc tests

James Almer committed 2 years ago

Commit 430bec81 parent 165f1245 files · +52 −0Browse files

Unified · Split

5 files
  1. tests/fate/filter-video.mak +12 −0
  2. tests/ref/fate/filter-rgbtestsrc-gbrp +10 −0
  3. tests/ref/fate/filter-rgbtestsrc-gbrp12 +10 −0
  4. tests/ref/fate/filter-rgbtestsrc-rgba +10 −0
  5. tests/ref/fate/filter-rgbtestsrc-x2rgb10le +10 −0
tests/fate/filter-video.mak+12−0
@@ -100,6 +100,18 @@ fate-filter-pal100bars: CMD = framecrc -lavfi pal100bars=rate=5:duration=1 -pix_ · 99 unmodified lines
100100 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc
101101 fate-filter-rgbtestsrc: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt rgb24
102102
103+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-rgba
104+fate-filter-rgbtestsrc-rgba: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt rgba
105+
106+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrp
107+fate-filter-rgbtestsrc-gbrp: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrp
108+
109+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrp12
110+fate-filter-rgbtestsrc-gbrp12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrp12,scale -pix_fmt gbrp12le
111+
112+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-x2rgb10le
113+fate-filter-rgbtestsrc-x2rgb10le: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt x2rgb10le
114+
103115 FATE_FILTER-$(call FILTERFRAMECRC, SMPTEBARS) += fate-filter-smptebars
104116 fate-filter-smptebars: CMD = framecrc -lavfi smptebars=rate=5:duration=1 -pix_fmt yuv420p
105117
tests/ref/fate/filter-rgbtestsrc-gbrp+10−0
@@ -0,0 +1,10 @@
1+#tb 0: 1/5
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 230400, 0x0dbc18bb
7+0, 1, 1, 1, 230400, 0x0dbc18bb
8+0, 2, 2, 1, 230400, 0x0dbc18bb
9+0, 3, 3, 1, 230400, 0x0dbc18bb
10+0, 4, 4, 1, 230400, 0x0dbc18bb
tests/ref/fate/filter-rgbtestsrc-gbrp12+10−0
@@ -0,0 +1,10 @@
1+#tb 0: 1/5
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 460800, 0x3fd1daca
7+0, 1, 1, 1, 460800, 0x3fd1daca
8+0, 2, 2, 1, 460800, 0x3fd1daca
9+0, 3, 3, 1, 460800, 0x3fd1daca
10+0, 4, 4, 1, 460800, 0x3fd1daca
tests/ref/fate/filter-rgbtestsrc-rgba+10−0
@@ -0,0 +1,10 @@
1+#tb 0: 1/5
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 307200, 0xf238fe31
7+0, 1, 1, 1, 307200, 0xf238fe31
8+0, 2, 2, 1, 307200, 0xf238fe31
9+0, 3, 3, 1, 307200, 0xf238fe31
10+0, 4, 4, 1, 307200, 0xf238fe31
tests/ref/fate/filter-rgbtestsrc-x2rgb10le+10−0
@@ -0,0 +1,10 @@
1+#tb 0: 1/5
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 320x240
5+#sar 0: 1/1
6+0, 0, 0, 1, 307200, 0x88747fea
7+0, 1, 1, 1, 307200, 0x88747fea
8+0, 2, 2, 1, 307200, 0x88747fea
9+0, 3, 3, 1, 307200, 0x88747fea
10+0, 4, 4, 1, 307200, 0x88747fea

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