Struct gstreamer_video_sys::GstVideoFormatInfo
source · #[repr(C)]pub struct GstVideoFormatInfo {Show 22 fields
pub format: GstVideoFormat,
pub name: *const c_char,
pub description: *const c_char,
pub flags: GstVideoFormatFlags,
pub bits: c_uint,
pub n_components: c_uint,
pub shift: [c_uint; 4],
pub depth: [c_uint; 4],
pub pixel_stride: [c_int; 4],
pub n_planes: c_uint,
pub plane: [c_uint; 4],
pub poffset: [c_uint; 4],
pub w_sub: [c_uint; 4],
pub h_sub: [c_uint; 4],
pub unpack_format: GstVideoFormat,
pub unpack_func: GstVideoFormatUnpack,
pub pack_lines: c_int,
pub pack_func: GstVideoFormatPack,
pub tile_mode: GstVideoTileMode,
pub tile_ws: c_uint,
pub tile_hs: c_uint,
pub tile_info: [GstVideoTileInfo; 4],
}
Fields§
§format: GstVideoFormat
§name: *const c_char
§description: *const c_char
§flags: GstVideoFormatFlags
§bits: c_uint
§n_components: c_uint
§shift: [c_uint; 4]
§depth: [c_uint; 4]
§pixel_stride: [c_int; 4]
§n_planes: c_uint
§plane: [c_uint; 4]
§poffset: [c_uint; 4]
§w_sub: [c_uint; 4]
§h_sub: [c_uint; 4]
§unpack_format: GstVideoFormat
§unpack_func: GstVideoFormatUnpack
§pack_lines: c_int
§pack_func: GstVideoFormatPack
§tile_mode: GstVideoTileMode
§tile_ws: c_uint
§tile_hs: c_uint
§tile_info: [GstVideoTileInfo; 4]
Trait Implementations§
source§impl Clone for GstVideoFormatInfo
impl Clone for GstVideoFormatInfo
source§fn clone(&self) -> GstVideoFormatInfo
fn clone(&self) -> GstVideoFormatInfo
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 GstVideoFormatInfo
impl Debug for GstVideoFormatInfo
impl Copy for GstVideoFormatInfo
Auto Trait Implementations§
impl Freeze for GstVideoFormatInfo
impl RefUnwindSafe for GstVideoFormatInfo
impl !Send for GstVideoFormatInfo
impl !Sync for GstVideoFormatInfo
impl Unpin for GstVideoFormatInfo
impl UnwindSafe for GstVideoFormatInfo
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
)