Trait gstreamer_video::video_frame::VideoFrameExt

source ·
pub trait VideoFrameExt: Sealed + 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§