History

fate/filter-video: add tests for packed YUV in yuvtestsrc

James Almer committed 2 years ago

Commit 4f0514d1 parent f2853005 files · +52 −0Browse files

Unified · Split

5 files
  1. tests/fate/filter-video.mak +12 −0
  2. tests/ref/fate/filter-yuvtestsrc-ayuv +10 −0
  3. tests/ref/fate/filter-yuvtestsrc-vuya +10 −0
  4. tests/ref/fate/filter-yuvtestsrc-vyu444 +10 −0
  5. tests/ref/fate/filter-yuvtestsrc-xv30le +10 −0
tests/fate/filter-video.mak+12−0
@@ -112,6 +112,18 @@ fate-filter-yuvtestsrc-yuv444p: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration · 111 unmodified lines
112112 FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-yuv444p12
113113 fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le
114114
115+FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-ayuv
116+fate-filter-yuvtestsrc-ayuv: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt ayuv
117+
118+FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vuya
119+fate-filter-yuvtestsrc-vuya: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vuya
120+
121+FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vyu444
122+fate-filter-yuvtestsrc-vyu444: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vyu444
123+
124+FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-xv30le
125+fate-filter-yuvtestsrc-xv30le: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt xv30le
126+
115127 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC FORMAT CONCAT SCALE, LAVFI_INDEV FILE_PROTOCOL) += fate-filter-lavd-scalenorm
116128 fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm
117129 fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file $(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy
tests/ref/fate/filter-yuvtestsrc-ayuv+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, 0xd4270fd4
7+0, 1, 1, 1, 307200, 0xd4270fd4
8+0, 2, 2, 1, 307200, 0xd4270fd4
9+0, 3, 3, 1, 307200, 0xd4270fd4
10+0, 4, 4, 1, 307200, 0xd4270fd4
tests/ref/fate/filter-yuvtestsrc-vuya+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, 0x4df60fd4
7+0, 1, 1, 1, 307200, 0x4df60fd4
8+0, 2, 2, 1, 307200, 0x4df60fd4
9+0, 3, 3, 1, 307200, 0x4df60fd4
10+0, 4, 4, 1, 307200, 0x4df60fd4
tests/ref/fate/filter-yuvtestsrc-vyu444+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, 0x8c622a4f
7+0, 1, 1, 1, 230400, 0x8c622a4f
8+0, 2, 2, 1, 230400, 0x8c622a4f
9+0, 3, 3, 1, 230400, 0x8c622a4f
10+0, 4, 4, 1, 230400, 0x8c622a4f
tests/ref/fate/filter-yuvtestsrc-xv30le+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, 0xc7a544aa
7+0, 1, 1, 1, 307200, 0xc7a544aa
8+0, 2, 2, 1, 307200, 0xc7a544aa
9+0, 3, 3, 1, 307200, 0xc7a544aa
10+0, 4, 4, 1, 307200, 0xc7a544aa

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