Struct obs_source_frame2
Source #[repr(C)]
pub struct obs_source_frame2 {Show 13 fields
pub data: [*mut u8; 8],
pub linesize: [u32; 8],
pub width: u32,
pub height: u32,
pub timestamp: u64,
pub format: video_format,
pub range: video_range_type,
pub color_matrix: [f32; 16],
pub color_range_min: [f32; 3],
pub color_range_max: [f32; 3],
pub flip: bool,
pub flags: u8,
pub trc: u8,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.