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
106FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrp106FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrp
107fate-filter-rgbtestsrc-gbrp: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrp107fate-filter-rgbtestsrc-gbrp: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrp
108 108
109FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrap
110fate-filter-rgbtestsrc-gbrap: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt gbrap
111
109FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrp12112FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrp12
110fate-filter-rgbtestsrc-gbrp12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrp12,scale -pix_fmt gbrp12le113fate-filter-rgbtestsrc-gbrp12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrp12,scale -pix_fmt gbrp12le
111 114
115FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += fate-filter-rgbtestsrc-gbrap12
116fate-filter-rgbtestsrc-gbrap12: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1,format=gbrap12,scale -pix_fmt gbrap12le
117
112FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-x2rgb10le118FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-x2rgb10le
113fate-filter-rgbtestsrc-x2rgb10le: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt x2rgb10le119fate-filter-rgbtestsrc-x2rgb10le: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 -pix_fmt x2rgb10le
114 120
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
60, 0, 0, 1, 307200, 0x1b783176
70, 1, 1, 1, 307200, 0x1b783176
80, 2, 2, 1, 307200, 0x1b783176
90, 3, 3, 1, 307200, 0x1b783176
100, 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
60, 0, 0, 1, 614400, 0x7fa2b5a3
70, 1, 1, 1, 614400, 0x7fa2b5a3
80, 2, 2, 1, 614400, 0x7fa2b5a3
90, 3, 3, 1, 614400, 0x7fa2b5a3
100, 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