pub struct CvtTimings {Show 20 fields
pub pixel_clock: f64,
pub h_total: u32,
pub h_active: u32,
pub h_blank: u32,
pub h_front_porch: u32,
pub h_sync: u32,
pub h_back_porch: u32,
pub h_sync_polarity: bool,
pub h_freq: f64,
pub h_period: f64,
pub v_total: u32,
pub v_active: u32,
pub v_blank: u32,
pub v_front_porch: u32,
pub v_sync: u32,
pub v_back_porch: u32,
pub v_sync_polarity: bool,
pub v_freq: f64,
pub v_period: f64,
pub interlaced: bool,
}
Expand description
Represents CVT timings.
To better understand CVT timings, read the README of this crate
Fields§
§pixel_clock: f64
The pixel clock (MHz)
h_total: u32
Total width to scan (Pixels)
h_active: u32
Active width section to scan (Pixels)
h_blank: u32
Blanking width section to scan (Pixels)
h_front_porch: u32
Front Porch width section to scan (Pixels)
h_sync: u32
Horizontal Sync (Pixels)
h_back_porch: u32
Back Porch width section to scan (Pixels)
h_sync_polarity: bool
Polarity of the horizontal sync scan (+/-)
h_freq: f64
Horizontal scan frequency (KHz)
This represents how many times per second a horizontal scan is performed
h_period: f64
Horizontal scan period (us)
This represents the amount of time a horizontal scan takes
v_total: u32
Total height to scan (Pixels)
v_active: u32
Active height section to scan (Pixels)
v_blank: u32
Blanking height section to scan (Pixels)
v_front_porch: u32
Front Porch height section to scan (Pixels)
v_sync: u32
Vertical Sync (Pixels)
v_back_porch: u32
Back Porch height section to scan (Pixels)
v_sync_polarity: bool
Polarity of the vertical sync scan (+/-)
v_freq: f64
Vertical scan frequency (KHz)
This represents how many times per second a vertical scan is performed
v_period: f64
Vertical scan period (us)
This represents the amount of time a vertical scan takes
interlaced: bool
Whether the video stream is interlaced or not
Implementations§
Source§impl CvtTimings
impl CvtTimings
Trait Implementations§
Source§impl Clone for CvtTimings
impl Clone for CvtTimings
Source§fn clone(&self) -> CvtTimings
fn clone(&self) -> CvtTimings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more