Struct gstreamer_gl::gl_video_frame::GLVideoFrame
source · pub struct GLVideoFrame<T> { /* private fields */ }
Implementations§
source§impl<T> GLVideoFrame<T>
impl<T> GLVideoFrame<T>
pub fn into_buffer(self) -> Buffer
pub unsafe fn from_glib_full(frame: GstVideoFrame) -> Self
pub fn into_raw(self) -> GstVideoFrame
pub fn as_video_frame_gl_ref(&self) -> GLVideoFrameRef<&BufferRef>
source§impl GLVideoFrame<Readable>
impl GLVideoFrame<Readable>
source§impl GLVideoFrame<Writable>
impl GLVideoFrame<Writable>
pub fn from_buffer_writable( buffer: Buffer, info: &VideoInfo ) -> Result<Self, Buffer>
pub fn memory_mut(&self, idx: u32) -> Result<&mut GLMemoryRef, BoolError>
pub fn buffer_mut(&mut self) -> &mut BufferRef
Trait Implementations§
source§impl<T> Debug for GLVideoFrame<T>
impl<T> Debug for GLVideoFrame<T>
source§impl<T> Drop for GLVideoFrame<T>
impl<T> Drop for GLVideoFrame<T>
source§impl<T> IsVideoFrame for GLVideoFrame<T>
impl<T> IsVideoFrame for GLVideoFrame<T>
fn as_raw(&self) -> &GstVideoFrame
impl<T> IsGLVideoFrame for GLVideoFrame<T>
impl<T> Send for GLVideoFrame<T>
impl<T> Sync for GLVideoFrame<T>
Auto Trait Implementations§
impl<T> Freeze for GLVideoFrame<T>
impl<T> RefUnwindSafe for GLVideoFrame<T>where
T: RefUnwindSafe,
impl<T> Unpin for GLVideoFrame<T>where
T: Unpin,
impl<T> UnwindSafe for GLVideoFrame<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more