Skip to main content

Module display

Module display 

Source
Expand description

Putting images on the wall: patterns, stills, and video. Every content command sends through driver::Wall, so the frame recipe lives once.

Functions§

brightness
Set the panel’s brightness.
image_frame
img as a canvas-sized frame: Stretch ignores the aspect ratio, Contain letterboxes in black, Cover crops. Lanczos3 throughout.
load_canvas
Load a wall layout, or build a single-panel one from the size flags.
play
Play a video source onto the wall in layout, or a single panel.
play_on
Play a video source onto canvas. Reports N frames, F fps every 60 frames as a transient line and once at the end; stops when cancelled.
probe
Send chosen pieces of a refresh with explicit pacing, so a current meter can attribute a change to one component instead of to a whole burst. The pixel content is a solid colour. Diagnosis only.
show_frame
Show one still: three refreshes, or refresh until cancelled when hold.
show_image
Display an image file, scaled to the panel.
show_pattern
Draw a built-in pattern on the wall in layout, or a single panel.
show_pattern_on
Draw a built-in pattern on canvas.
show_solid
Fill the panel with one colour.
show_solid_on
Fill canvas with one colour.
wall_settings
Driver settings from the CLI flags. RXP_LATCHES, RXP_LATCH_GAP_US and RXP_ROW_GAP_US override the measured timing for experiments.