History

tests/filter-video: add rgbtestsrc tests for gbrap

James Almer committed 1 year ago

Commit d1f2f8e1 parent 67c48913 files · +26 −0Browse files

Unified · Split

3 files
  1. tests/fate/filter-video.mak +6 −0
  2. tests/ref/fate/filter-rgbtestsrc-gbrap +10 −0
  3. tests/ref/fate/filter-rgbtestsrc-gbrap12 +10 −0
tests/fate/filter-video.mak+6−0
@@ -106,9 +106,15 @@ fate-filter-rgbtestsrc-rgba: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 · 105 unmodified lines
106106 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrp
107107 fate-filter-rgbtestsrc-gbrp: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrp
108108
109+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrap
110+fate-filter-rgbtestsrc-gbrap: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrap
111+
109112 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrp12
110113 fate-filter-rgbtestsrc-gbrp12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrp12,scale -pix_fmt gbrp12le
111114
115+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrap12
116+fate-filter-rgbtestsrc-gbrap12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrap12,scale -pix_fmt gbrap12le
117+
112118 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-x2rgb10le
113119 fate-filter-rgbtestsrc-x2rgb10le: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt x2rgb10le
114120
tests/ref/fate/filter-rgbtestsrc-gbrap+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, 0x1b783176
7+0, 1, 1, 1, 307200, 0x1b783176
8+0, 2, 2, 1, 307200, 0x1b783176
9+0, 3, 3, 1, 307200, 0x1b783176
10+0, 4, 4, 1, 307200, 0x1b783176
tests/ref/fate/filter-rgbtestsrc-gbrap12+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, 614400, 0x7fa2b5a3
7+0, 1, 1, 1, 614400, 0x7fa2b5a3
8+0, 2, 2, 1, 614400, 0x7fa2b5a3
9+0, 3, 3, 1, 614400, 0x7fa2b5a3
10+0, 4, 4, 1, 614400, 0x7fa2b5a3

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