Commit Graph
2 Commits
Author SHA1 Message Date
dotCooCoo ee98081611 craft-scopes: peaks skip oversized scopes and data past the plane
summary::peaks now returns no peaks for a vectorscope larger than
MAX_VECTOR_SIZE, as summary::coarse does, and reads only the first
size * size entries of the data, so a trailing entry is not reported
as a cell outside the grid.
2026-11-16 23:39:28 -08:00
dotCooCoo 87e810f34d craft-scopes: waveform, parade, histogram and vectorscopes of a frame
A new crate with the scope math a Craft app's scopes panel draws: the
waveform, RGB and YUV parades, histogram (with HDR bins) and the YUV and
HLS vectorscopes of a borrowed RGBA8 or NV12 frame, as count grids, with
level and vectorscope summaries and painters that turn the grids into
RGBA8 trace images. Each *_into form reuses the caller's buffers, so a
steady stream of frames does not allocate. Frame strides, plane sizes and
hand-built grids are checked against fixed caps.

The crate builds on FilmCraft's crates/scopes and LightCraft's HDR
histogram bins (NOTICE names the commits).
2026-11-16 19:30:11 -08:00