gstreamer_gl::gl_video_frame

Trait GLVideoFrameExt

Source
pub trait GLVideoFrameExt: IsGLVideoFrame + VideoFrameExt {
    // Provided methods
    fn memory(&self, idx: u32) -> Result<&GLMemoryRef, BoolError> { ... }
    fn texture_id(&self, idx: u32) -> Result<u32, BoolError> { ... }
    fn texture_format(&self, idx: u32) -> Result<GLFormat, BoolError> { ... }
    fn texture_height(&self, idx: u32) -> Result<i32, BoolError> { ... }
    fn texture_target(&self, idx: u32) -> Result<GLTextureTarget, BoolError> { ... }
    fn texture_width(&self, idx: u32) -> Result<i32, BoolError> { ... }
}

Provided Methods§

Implementors§