Trait gstreamer_gl::prelude::VideoFrameGLExt[][src]

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 texture_id(&self, idx: u32) -> Option<u32>; }

Required methods

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

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

fn texture_id(&self, idx: u32) -> Option<u32>[src]

Loading content...

Implementations on Foreign Types

impl VideoFrameGLExt for VideoFrame<Readable>[src]

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

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

fn texture_id(&self, idx: u32) -> Option<u32>[src]

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

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

fn from_buffer_ref_readable_gl<'b, 'c>(
    buffer: &'b BufferRef,
    info: &'c VideoInfo
) -> Result<VideoFrameRef<&'b BufferRef>, BoolError>
[src]

fn texture_id(&self, idx: u32) -> Option<u32>[src]

Loading content...

Implementors

Loading content...