Struct gstreamer_video_sys::GstVideoInfo
source · #[repr(C)]pub struct GstVideoInfo {Show 16 fields
pub finfo: *const GstVideoFormatInfo,
pub interlace_mode: GstVideoInterlaceMode,
pub flags: GstVideoFlags,
pub width: c_int,
pub height: c_int,
pub size: size_t,
pub views: c_int,
pub chroma_site: GstVideoChromaSite,
pub colorimetry: GstVideoColorimetry,
pub par_n: c_int,
pub par_d: c_int,
pub fps_n: c_int,
pub fps_d: c_int,
pub offset: [size_t; 4],
pub stride: [c_int; 4],
pub ABI: GstVideoInfo_ABI,
}
Fields§
§finfo: *const GstVideoFormatInfo
§interlace_mode: GstVideoInterlaceMode
§flags: GstVideoFlags
§width: c_int
§height: c_int
§size: size_t
§views: c_int
§chroma_site: GstVideoChromaSite
§colorimetry: GstVideoColorimetry
§par_n: c_int
§par_d: c_int
§fps_n: c_int
§fps_d: c_int
§offset: [size_t; 4]
§stride: [c_int; 4]
§ABI: GstVideoInfo_ABI
Trait Implementations§
source§impl Clone for GstVideoInfo
impl Clone for GstVideoInfo
source§fn clone(&self) -> GstVideoInfo
fn clone(&self) -> GstVideoInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstVideoInfo
impl Debug for GstVideoInfo
impl Copy for GstVideoInfo
Auto Trait Implementations§
impl Freeze for GstVideoInfo
impl RefUnwindSafe for GstVideoInfo
impl !Send for GstVideoInfo
impl !Sync for GstVideoInfo
impl Unpin for GstVideoInfo
impl UnwindSafe for GstVideoInfo
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)