SMPTE RP219-1 pattern signal

This commit is contained in:
Dmitry Sergeev
2026-09-16 00:09:16 +03:00
parent 72939c3be7
commit c3bcee6223
5 changed files with 158 additions and 18 deletions
+10 -4
View File
@@ -192,16 +192,22 @@ type pattern struct {
var patterns = map[string]pattern{
"bars": {
name: "bars",
description: "SMPTE 75% color bars",
kernelPath: "kernels/static/smpteBars.wgsl",
description: "75% color bars",
kernelPath: "kernels/static/colorBars.wgsl",
motion: false,
},
"bars-move": {
name: "bars-move",
description: "SMPTE 75% color bars with moving square",
kernelPath: "kernels/dynamic/smpteBars.wgsl",
description: "75% color bars with moving square",
kernelPath: "kernels/dynamic/colorBars.wgsl",
motion: true,
},
"smpte": {
name: "smpte",
description: "SMPTE RP-219 Color Bar Signal",
kernelPath: "kernels/static/smpteBars.wgsl",
motion: false,
},
"gray-bars": {
name: "gray-bars",
description: "13-step grayscale bars (Y 64..940)",