Struct gst::VideoFrame [] [src]

pub struct VideoFrame {
    // some fields omitted
}

Methods

impl VideoFrame
[src]

unsafe fn new(vi: GstVideoInfo, buffer: Buffer) -> Option<VideoFrame>

fn info(&self) -> &VideoInfo

fn flags(&self) -> &GstVideoFlags

fn buffer(&self) -> &Buffer

fn format_info(&self) -> &GstVideoFormatInfo

fn format(&self) -> &GstVideoFormat

fn width(&self) -> i32

fn height(&self) -> i32

fn size(&self) -> u64

fn len<T>(&self) -> usize

fn is_interlaced(&self) -> bool

fn is_tff(&self) -> bool

fn is_rff(&self) -> bool

fn is_onefield(&self) -> bool

fn n_planes(&self) -> u32

fn plane<'a>(&'a self, p: u32) -> Option<VideoPlane<'a>>

fn n_components(&self) -> u32

fn component<'a>(&'a self, c: u32) -> Option<VideoComponent<'a>>

Trait Implementations

impl Drop for VideoFrame
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more