Commit 0f0ec773fb for ffmpeg

commit 0f0ec773fbbb4aafe0d41ec4309aa78a3ede0b85
Author: marcos ashton <marcosashiglesias@gmail.com>
Date:   Tue Dec 1 16:36:55 2026 +0000

    tests/fate/filter-video: add datascope, pixscope and oscilloscope tests

    Coverage for libavfilter/vf_datascope.c: 0.0% -> 85.6%

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 5faa88d203..68bdd2c4c2 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -512,6 +512,16 @@ fate-filter-lut2-8to16bit: CMD = framecrc -lavfi "$(call FATE_TSRC2,yuv420p)[a];
 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 SCALE FORMAT TLUT2) += fate-filter-tlut2
 fate-filter-tlut2: CMD = framecrc -lavfi "$(call FATE_TSRC2,yuv420p,,0.6),tlut2=c0=(x+y)/2:c1=abs(x-y)"

+FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 SCALE FORMAT DATASCOPE) += $(addprefix fate-filter-datascope-, color-yuv420p color2-yuv420p color2-yuv444p10le dec)
+fate-filter-datascope-%: CMD = framecrc -lavfi "$(call FATE_TSRC2,$(call FATE_TARGET_WORD,5)),datascope=s=256x192:x=4:y=4:mode=$(call FATE_TARGET_WORD,4):axis=1"
+fate-filter-datascope-dec: CMD = framecrc -lavfi "$(call FATE_TSRC2,yuv444p10le),datascope=s=256x192:format=dec:components=5"
+
+FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 SCALE FORMAT PIXSCOPE) += $(addprefix fate-filter-pixscope-, gbrp yuv444p10le)
+fate-filter-pixscope-%: CMD = framecrc -lavfi "$(call FATE_TSRC2,$(call FATE_TARGET_WORD,4),640x480),pixscope=x=0.3:y=0.6:w=9:h=9:wx=0.5:wy=0.5"
+
+FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 SCALE FORMAT OSCILLOSCOPE) += fate-filter-oscilloscope-gbrp
+fate-filter-oscilloscope-gbrp: CMD = framecrc -lavfi "$(call FATE_TSRC2,gbrp,1152x240),oscilloscope=x=0.5:y=0.5:s=1:t=0.3:c=15:tw=1:g=1:st=1:sc=1"
+
 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS DECIMATE) += fate-filter-decimate
 fate-filter-decimate: CMD = framecrc -lavfi testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p

diff --git a/tests/ref/fate/filter-datascope-color-yuv420p b/tests/ref/fate/filter-datascope-color-yuv420p
new file mode 100644
index 0000000000..e307b770a8
--- /dev/null
+++ b/tests/ref/fate/filter-datascope-color-yuv420p
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x192
+#sar 0: 1/1
+0,          0,          0,        1,    73728, 0x3d192e44
+0,          1,          1,        1,    73728, 0x411430d5
diff --git a/tests/ref/fate/filter-datascope-color2-yuv420p b/tests/ref/fate/filter-datascope-color2-yuv420p
new file mode 100644
index 0000000000..bcf8e43791
--- /dev/null
+++ b/tests/ref/fate/filter-datascope-color2-yuv420p
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x192
+#sar 0: 1/1
+0,          0,          0,        1,    73728, 0xde8fde40
+0,          1,          1,        1,    73728, 0x99864ac2
diff --git a/tests/ref/fate/filter-datascope-color2-yuv444p10le b/tests/ref/fate/filter-datascope-color2-yuv444p10le
new file mode 100644
index 0000000000..4b2e1f58db
--- /dev/null
+++ b/tests/ref/fate/filter-datascope-color2-yuv444p10le
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x192
+#sar 0: 1/1
+0,          0,          0,        1,   294912, 0x5af69213
+0,          1,          1,        1,   294912, 0xa709d868
diff --git a/tests/ref/fate/filter-datascope-dec b/tests/ref/fate/filter-datascope-dec
new file mode 100644
index 0000000000..7fa4b33363
--- /dev/null
+++ b/tests/ref/fate/filter-datascope-dec
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 256x192
+#sar 0: 1/1
+0,          0,          0,        1,   294912, 0x1573a3c1
+0,          1,          1,        1,   294912, 0xc89ff489
diff --git a/tests/ref/fate/filter-oscilloscope-gbrp b/tests/ref/fate/filter-oscilloscope-gbrp
new file mode 100644
index 0000000000..6699c9f2b0
--- /dev/null
+++ b/tests/ref/fate/filter-oscilloscope-gbrp
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1152x240
+#sar 0: 1/1
+0,          0,          0,        1,   829440, 0xa038c84a
+0,          1,          1,        1,   829440, 0x779fb522
diff --git a/tests/ref/fate/filter-pixscope-gbrp b/tests/ref/fate/filter-pixscope-gbrp
new file mode 100644
index 0000000000..d431d34a7e
--- /dev/null
+++ b/tests/ref/fate/filter-pixscope-gbrp
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x480
+#sar 0: 1/1
+0,          0,          0,        1,   921600, 0x42793c87
+0,          1,          1,        1,   921600, 0x774ec5ff
diff --git a/tests/ref/fate/filter-pixscope-yuv444p10le b/tests/ref/fate/filter-pixscope-yuv444p10le
new file mode 100644
index 0000000000..0e0700a9c3
--- /dev/null
+++ b/tests/ref/fate/filter-pixscope-yuv444p10le
@@ -0,0 +1,7 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 640x480
+#sar 0: 1/1
+0,          0,          0,        1,  1843200, 0xf8b6575f
+0,          1,          1,        1,  1843200, 0x792e25ed