[][src]Trait gstreamer_gl::VideoFrameGLExt

pub trait VideoFrameGLExt {
    fn from_buffer_readable_gl(
        buffer: Buffer,
        info: &VideoInfo
    ) -> Result<VideoFrame<Readable>, Buffer>;
fn from_buffer_ref_readable_gl<'a, 'b>(
        buffer: &'a BufferRef,
        info: &'b VideoInfo
    ) -> Result<VideoFrameRef<&'a BufferRef>, BoolError>;
fn get_texture_id(&self, idx: u32) -> Option<u32>; }

Required methods

fn from_buffer_readable_gl(
    buffer: Buffer,
    info: &VideoInfo
) -> Result<VideoFrame<Readable>, Buffer>

fn from_buffer_ref_readable_gl<'a, 'b>(
    buffer: &'a BufferRef,
    info: &'b VideoInfo
) -> Result<VideoFrameRef<&'a BufferRef>, BoolError>

fn get_texture_id(&self, idx: u32) -> Option<u32>

Loading content...

Implementations on Foreign Types

impl VideoFrameGLExt for VideoFrame<Readable>[src]

impl<'a> VideoFrameGLExt for VideoFrameRef<&'a BufferRef>[src]

Loading content...

Implementors

Loading content...