Struct gstreamer_video_sys::GstVideoMeta
source · #[repr(C)]pub struct GstVideoMeta {Show 13 fields
pub meta: GstMeta,
pub buffer: *mut GstBuffer,
pub flags: GstVideoFrameFlags,
pub format: GstVideoFormat,
pub id: c_int,
pub width: c_uint,
pub height: c_uint,
pub n_planes: c_uint,
pub offset: [size_t; 4],
pub stride: [c_int; 4],
pub map: Option<unsafe extern "C" fn(_: *mut GstVideoMeta, _: c_uint, _: *mut GstMapInfo, _: *mut gpointer, _: *mut c_int, _: GstMapFlags) -> gboolean>,
pub unmap: Option<unsafe extern "C" fn(_: *mut GstVideoMeta, _: c_uint, _: *mut GstMapInfo) -> gboolean>,
pub alignment: GstVideoAlignment,
}
Fields§
§meta: GstMeta
§buffer: *mut GstBuffer
§flags: GstVideoFrameFlags
§format: GstVideoFormat
§id: c_int
§width: c_uint
§height: c_uint
§n_planes: c_uint
§offset: [size_t; 4]
§stride: [c_int; 4]
§map: Option<unsafe extern "C" fn(_: *mut GstVideoMeta, _: c_uint, _: *mut GstMapInfo, _: *mut gpointer, _: *mut c_int, _: GstMapFlags) -> gboolean>
§unmap: Option<unsafe extern "C" fn(_: *mut GstVideoMeta, _: c_uint, _: *mut GstMapInfo) -> gboolean>
§alignment: GstVideoAlignment
Trait Implementations§
source§impl Clone for GstVideoMeta
impl Clone for GstVideoMeta
source§fn clone(&self) -> GstVideoMeta
fn clone(&self) -> GstVideoMeta
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 GstVideoMeta
impl Debug for GstVideoMeta
impl Copy for GstVideoMeta
Auto Trait Implementations§
impl Freeze for GstVideoMeta
impl RefUnwindSafe for GstVideoMeta
impl !Send for GstVideoMeta
impl !Sync for GstVideoMeta
impl Unpin for GstVideoMeta
impl UnwindSafe for GstVideoMeta
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)