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
112FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-yuv444p12112FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-yuv444p12
113fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le113fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le
114 114
115FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-ayuv
116fate-filter-yuvtestsrc-ayuv: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt ayuv
117
118FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vuya
119fate-filter-yuvtestsrc-vuya: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vuya
120
121FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vyu444
122fate-filter-yuvtestsrc-vyu444: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vyu444
123
124FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-xv30le
125fate-filter-yuvtestsrc-xv30le: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt xv30le
126
115FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC FORMAT CONCAT SCALE, LAVFI_INDEV FILE_PROTOCOL) += fate-filter-lavd-scalenorm127FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC FORMAT CONCAT SCALE, LAVFI_INDEV FILE_PROTOCOL) += fate-filter-lavd-scalenorm
116fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm128fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm
117fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file $(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy129fate-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
60, 0, 0, 1, 307200, 0xd4270fd4
70, 1, 1, 1, 307200, 0xd4270fd4
80, 2, 2, 1, 307200, 0xd4270fd4
90, 3, 3, 1, 307200, 0xd4270fd4
100, 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
60, 0, 0, 1, 307200, 0x4df60fd4
70, 1, 1, 1, 307200, 0x4df60fd4
80, 2, 2, 1, 307200, 0x4df60fd4
90, 3, 3, 1, 307200, 0x4df60fd4
100, 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
60, 0, 0, 1, 230400, 0x8c622a4f
70, 1, 1, 1, 230400, 0x8c622a4f
80, 2, 2, 1, 230400, 0x8c622a4f
90, 3, 3, 1, 230400, 0x8c622a4f
100, 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
60, 0, 0, 1, 307200, 0xc7a544aa
70, 1, 1, 1, 307200, 0xc7a544aa
80, 2, 2, 1, 307200, 0xc7a544aa
90, 3, 3, 1, 307200, 0xc7a544aa
100, 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