[−][src]Module spectrusty_core::video
Re-exports
pub use pixel::Palette; |
pub use pixel::PixelBuffer; |
Modules
pixel | Building blocks for rendering pixel surfaces. |
Structs
BorderColor | Bitflags defining ZX Spectrum's border colors. |
CellCoords | General-purpose coordinates, used by various video related methods as a return or an argument type. |
ParseBorderSizeError | |
TryFromU8BorderColorError | |
TryFromUIntBorderSizeError |
Enums
BorderSize | This enum is used to select border size when rendering video frames. |
Constants
MAX_BORDER_SIZE | Maximum border size measured in low-resolution pixels. |
PAL_HC | A halved count of PAL |
PAL_VC | A halved count of PAL |
Traits
Video | An interface for rendering Spectrum's pixel data to frame buffers. |
VideoFrame | A collection of static methods and constants related to video parameters. |
Functions
color_line_offset | Returns an offset into attributes memory of the given vertical coordinate |
pixel_line_offset | Returns an offset into INK/PAPER bitmap memory of the given vertical coordinate |