ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Mar 31 15:49:02 
2025 -0300| [d1f2f8eee002b63ee95eee1ea7b81cbd0f4c7218] | committer: James Almer

tests/filter-video: add rgbtestsrc tests for gbrap

Signed-off-by: James Almer <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1f2f8eee002b63ee95eee1ea7b81cbd0f4c7218
---

 tests/fate/filter-video.mak              |  6 ++++++
 tests/ref/fate/filter-rgbtestsrc-gbrap   | 10 ++++++++++
 tests/ref/fate/filter-rgbtestsrc-gbrap12 | 10 ++++++++++
 3 files changed, 26 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index b77251c32d..6cfaf1eb7a 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -106,9 +106,15 @@ fate-filter-rgbtestsrc-rgba: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1
 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrp
 fate-filter-rgbtestsrc-gbrp: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1 -pix_fmt gbrp
 
+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += fate-filter-rgbtestsrc-gbrap
+fate-filter-rgbtestsrc-gbrap: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1 -pix_fmt gbrap
+
 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += 
fate-filter-rgbtestsrc-gbrp12
 fate-filter-rgbtestsrc-gbrp12: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1,format=gbrp12,scale -pix_fmt gbrp12le
 
+FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC SCALE) += 
fate-filter-rgbtestsrc-gbrap12
+fate-filter-rgbtestsrc-gbrap12: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1,format=gbrap12,scale -pix_fmt gbrap12le
+
 FATE_FILTER-$(call FILTERFRAMECRC, RGBTESTSRC) += 
fate-filter-rgbtestsrc-x2rgb10le
 fate-filter-rgbtestsrc-x2rgb10le: CMD = framecrc -lavfi 
rgbtestsrc=rate=5:duration=1 -pix_fmt x2rgb10le
 
diff --git a/tests/ref/fate/filter-rgbtestsrc-gbrap 
b/tests/ref/fate/filter-rgbtestsrc-gbrap
new file mode 100644
index 0000000000..42addf67df
--- /dev/null
+++ b/tests/ref/fate/filter-rgbtestsrc-gbrap
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,          0,          0,        1,   307200, 0x1b783176
+0,          1,          1,        1,   307200, 0x1b783176
+0,          2,          2,        1,   307200, 0x1b783176
+0,          3,          3,        1,   307200, 0x1b783176
+0,          4,          4,        1,   307200, 0x1b783176
diff --git a/tests/ref/fate/filter-rgbtestsrc-gbrap12 
b/tests/ref/fate/filter-rgbtestsrc-gbrap12
new file mode 100644
index 0000000000..f6746513a1
--- /dev/null
+++ b/tests/ref/fate/filter-rgbtestsrc-gbrap12
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,          0,          0,        1,   614400, 0x7fa2b5a3
+0,          1,          1,        1,   614400, 0x7fa2b5a3
+0,          2,          2,        1,   614400, 0x7fa2b5a3
+0,          3,          3,        1,   614400, 0x7fa2b5a3
+0,          4,          4,        1,   614400, 0x7fa2b5a3

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to