synth

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package synth draws deterministic desktop-like test frames: gradients, fine text-like detail, and a vertical scroll per frame index, so encoders see realistic spatial detail and motion without a live display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BGRA

func BGRA(dst []byte, width, height, i int)

BGRA fills a width*height*4 buffer for frame index i.

func NV12

func NV12(dst []byte, width, height, i int)

NV12 fills a Y plane (width*height) then interleaved UV (width*height/2).

func P010

func P010(dst []byte, width, height, i int)

P010 is NV12 with 16-bit little-endian samples holding 10 bits in the top bits.

func RGB10A2

func RGB10A2(dst []byte, width, height, i int)

RGB10A2 packs DXGI_FORMAT_R10G10B10A2_UNORM pixels.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL