Module spectrusty::video

source ·
Expand description

Modules

Building blocks for rendering pixel surfaces.

Structs

Bitflags defining ZX Spectrum’s border colors.
General-purpose coordinates, used by various video related methods as a return or an argument type.
The type used to record changes of ULAplus palette entries.
Flags determining the rendering mode and the border color.
Implements a method to render an image of a video frame for classic ZX Spectrum low resolution modes.
Implements a method to render the double pixel density image of a video frame for ULAplus/SCLD modes.
The type used for an ULAplus G3R3B2 / grayscale palette.

Enums

This enum is used to select border size when rendering video frames.

Constants

Maximum border size measured in low-resolution pixels.
A halved count of PAL pixel columns (low resolution).
A halved count of PAL pixel lines (low resolution).

Traits

A trait used for obtaining pixel colors.
A trait for providing a way for placing pixels into byte buffers.
An interface for rendering Spectrum’s pixel data to frame buffers.
A collection of static methods and constants related to video parameters.

Functions

Returns an offset into attributes memory of the given vertical coordinate y [0, 192) (0 on top).
Returns an offset into INK/PAPER bitmap memory of the given vertical coordinate y [0, 192) (0 on top).