gstreamer_video::video_frame

Trait VideoFrameExt

Source
pub trait VideoFrameExt: IsVideoFrame {
Show 28 methods // Provided methods fn as_ptr(&self) -> *const GstVideoFrame { ... } fn info(&self) -> &VideoInfo { ... } fn flags(&self) -> VideoFrameFlags { ... } fn id(&self) -> i32 { ... } fn buffer(&self) -> &BufferRef { ... } fn format(&self) -> VideoFormat { ... } fn format_info(&self) -> VideoFormatInfo { ... } fn width(&self) -> u32 { ... } fn height(&self) -> u32 { ... } fn size(&self) -> usize { ... } fn is_interlaced(&self) -> bool { ... } fn is_tff(&self) -> bool { ... } fn is_rff(&self) -> bool { ... } fn is_onefield(&self) -> bool { ... } fn is_bottom_field(&self) -> bool { ... } fn is_top_field(&self) -> bool { ... } fn n_planes(&self) -> u32 { ... } fn n_components(&self) -> u32 { ... } fn plane_stride(&self) -> &[i32] { ... } fn plane_offset(&self) -> &[usize] { ... } fn comp_depth(&self, component: u32) -> u32 { ... } fn comp_height(&self, component: u32) -> u32 { ... } fn comp_width(&self, component: u32) -> u32 { ... } fn comp_offset(&self, component: u32) -> usize { ... } fn comp_poffset(&self, component: u32) -> u32 { ... } fn comp_pstride(&self, component: u32) -> i32 { ... } fn comp_stride(&self, component: u32) -> i32 { ... } fn comp_plane(&self, component: u32) -> u32 { ... }
}

Provided Methods§

Source

fn as_ptr(&self) -> *const GstVideoFrame

Source

fn info(&self) -> &VideoInfo

Source

fn flags(&self) -> VideoFrameFlags

Source

fn id(&self) -> i32

Source

fn buffer(&self) -> &BufferRef

Source

fn format(&self) -> VideoFormat

Source

fn format_info(&self) -> VideoFormatInfo

Source

fn width(&self) -> u32

Source

fn height(&self) -> u32

Source

fn size(&self) -> usize

Source

fn is_interlaced(&self) -> bool

Source

fn is_tff(&self) -> bool

Source

fn is_rff(&self) -> bool

Source

fn is_onefield(&self) -> bool

Source

fn is_bottom_field(&self) -> bool

Source

fn is_top_field(&self) -> bool

Source

fn n_planes(&self) -> u32

Source

fn n_components(&self) -> u32

Source

fn plane_stride(&self) -> &[i32]

Source

fn plane_offset(&self) -> &[usize]

Source

fn comp_depth(&self, component: u32) -> u32

Source

fn comp_height(&self, component: u32) -> u32

Source

fn comp_width(&self, component: u32) -> u32

Source

fn comp_offset(&self, component: u32) -> usize

Source

fn comp_poffset(&self, component: u32) -> u32

Source

fn comp_pstride(&self, component: u32) -> i32

Source

fn comp_stride(&self, component: u32) -> i32

Source

fn comp_plane(&self, component: u32) -> u32

Implementors§