pub struct Options {
pub h_pixels: i32,
pub v_lines: i32,
pub margins_rqd: bool,
pub ip_param: IpParam,
pub ip_freq_rqd: f64,
pub int_rqd: bool,
pub m: f64,
pub c: f64,
pub k: f64,
pub j: f64,
}Expand description
Input options for GTF.
Fields§
§h_pixels: i32Number of active image pixels displayed on a line, not including any margin
v_lines: i32Number of vertical lines in the displayed image
margins_rqd: boolWhether margins are required
ip_param: IpParamIndicates which frequency parameter is specified in ip_freq_rqd
ip_freq_rqd: f64Vertical frame frequency (in Hz), horizontal frequency (in kHz) or pixel clock rate (in MHz)
int_rqd: boolWhether interlaced is required
m: f64Blanking formula gradient
c: f64Blanking formula offset
k: f64Blanking formula scaling factor
j: f64Blanking formula scaling factor weighting
Trait Implementations§
Source§impl From<di_gtf_options> for Options
impl From<di_gtf_options> for Options
Source§fn from(value: di_gtf_options) -> Options
fn from(value: di_gtf_options) -> Options
Converts to this type from the input type.
impl Copy for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more