pub struct VesaDisplayDeviceBlock {Show 35 fields
pub interface_type: u8,
pub num_links: u8,
pub interface_version: u8,
pub interface_release: u8,
pub content_protection: u8,
pub min_clock_mhz: u8,
pub max_clock_mhz: u16,
pub native_width: Option<u16>,
pub native_height: Option<u16>,
pub aspect_ratio_raw: u8,
pub default_orientation: u8,
pub rotation_capability: u8,
pub zero_pixel_location: u8,
pub scan_direction: u8,
pub subpixel_layout: u8,
pub h_pitch_hundredths_mm: u8,
pub v_pitch_hundredths_mm: u8,
pub dithering: u8,
pub direct_drive: bool,
pub overdrive_not_recommended: bool,
pub deinterlacing: bool,
pub audio_on_video_interface: bool,
pub separate_audio_inputs: bool,
pub audio_input_override: bool,
pub audio_delay_ms: Option<i16>,
pub frame_rate_conversion: u8,
pub frame_rate_range: u8,
pub native_frame_rate: u8,
pub interface_color_depth: u8,
pub display_color_depth: u8,
pub additional_chromaticities: [u8; 8],
pub response_time_ms: u8,
pub response_time_white_to_black: bool,
pub h_overscan_pct: u8,
pub v_overscan_pct: u8,
}Expand description
Decoded VESA Display Device Data Block (extended tag 0x02).
A fixed 30-byte payload describing the physical and electrical characteristics of the display, per the VESA Display Device Data Block (DDDB) Standard, Version 1.
Fields§
§interface_type: u8Interface type code (bits 7:4). 0=Analog, 1=LVDS, 3=DVI-D, 6=HDMI-A, 9=DP, etc.
num_links: u8Number of lanes/channels (bits 3:0). For analog interfaces this is a subtype code.
interface_version: u8Interface standard version (bits 7:4 of byte 0x03).
interface_release: u8Interface standard release (bits 3:0 of byte 0x03).
content_protection: u8Content protection code (byte 0x04). 0=none, 1=HDCP, 2=DTCP, 3=DPCP.
min_clock_mhz: u8Minimum supported clock frequency per link in MHz (6-bit, range 0–63).
max_clock_mhz: u16Maximum supported clock frequency per link in MHz (10-bit, range 0–1023).
native_width: Option<u16>Native horizontal pixel count, or None if the display has no fixed format.
native_height: Option<u16>Native vertical pixel count, or None if the display has no fixed format.
aspect_ratio_raw: u8Aspect ratio raw byte. Physical AR = (raw / 100.0) + 1.0 (long-axis / short-axis).
default_orientation: u8Default orientation: 0=landscape, 1=portrait, 2=not_fixed, 3=undefined.
rotation_capability: u8Rotation capability: 0=none, 1=90°CW, 2=90°CCW, 3=both.
zero_pixel_location: u8Zero pixel (scan origin) location: 0=upper-left, 1=upper-right, 2=lower-left, 3=lower-right.
scan_direction: u8Scan direction: 0=undefined, 1=long-axis-fast, 2=short-axis-fast, 3=reserved.
subpixel_layout: u8Subpixel layout code (byte 0x0D). 0=undefined, 1=RGB-V, 2=RGB-H, etc.
h_pitch_hundredths_mm: u8Horizontal pixel pitch in 0.01 mm increments (range 0.00–2.55 mm).
v_pitch_hundredths_mm: u8Vertical pixel pitch in 0.01 mm increments (range 0.00–2.55 mm).
dithering: u8Dithering type: 0=none, 1=spatial, 2=temporal, 3=spatial+temporal.
direct_drive: boolDisplay is direct-drive — no internal scaling/de-interlacing/FRC.
overdrive_not_recommended: boolVideo source should not apply overdrive for this display.
deinterlacing: boolDisplay can de-interlace interlaced input to progressive scan.
audio_on_video_interface: boolAudio is supported on the video interface.
separate_audio_inputs: boolSeparate audio inputs are provided independently of the video interface.
audio_input_override: boolAudio received on the video interface automatically overrides other audio inputs.
audio_delay_ms: Option<i16>Signed audio delay in milliseconds (positive = audio after video, negative = before).
None means no delay information is provided (raw delay byte was 0x00).
frame_rate_conversion: u8Frame-rate conversion capability: 0=none, 1=single-buffer, 2=double-buffer, 3=interpolation.
frame_rate_range: u8Maximum excursion (±FPS) from the nominal frame rate (6 bits, 0–63).
native_frame_rate: u8Native or nominal display frame rate in frames/second.
interface_color_depth: u8Color bit depth per primary on the video interface (1–16).
display_color_depth: u8Color bit depth per primary at the display panel without temporal dithering (1–16).
additional_chromaticities: [u8; 8]Raw bytes 0x16–0x1D: chromaticity data for up to three additional primaries.
response_time_ms: u8Response time in milliseconds (0 = < 1 ms, 127 = > 126 ms).
response_time_white_to_black: booltrue if the response time is white-to-black; false if black-to-white.
h_overscan_pct: u8Percentage of active image outside the visible screen area, horizontally (0–15%).
v_overscan_pct: u8Percentage of active image outside the visible screen area, vertically (0–15%).
Trait Implementations§
Source§impl Clone for VesaDisplayDeviceBlock
impl Clone for VesaDisplayDeviceBlock
Source§fn clone(&self) -> VesaDisplayDeviceBlock
fn clone(&self) -> VesaDisplayDeviceBlock
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more