pub enum VideoFrameBacking {
GpuSurface(VideoGpuSurfaceHandle),
CpuPooled(PooledVideoFrame),
}Expand description
Storage backing for a decoded video frame: either a zero-copy GPU texture handle or a pooled CPU buffer.
Variants§
GpuSurface(VideoGpuSurfaceHandle)
Zero-copy GPU surface/texture interop handle composited directly without CPU readback.
CpuPooled(PooledVideoFrame)
Bounded reusable CPU RGBA8 frame buffer fallback.
Trait Implementations§
Source§impl Clone for VideoFrameBacking
impl Clone for VideoFrameBacking
Source§impl Debug for VideoFrameBacking
impl Debug for VideoFrameBacking
Source§impl PartialEq for VideoFrameBacking
impl PartialEq for VideoFrameBacking
impl StructuralPartialEq for VideoFrameBacking
Auto Trait Implementations§
impl Forget for VideoFrameBacking
impl Freeze for VideoFrameBacking
impl Move for VideoFrameBacking
impl RefUnwindSafe for VideoFrameBacking
impl Send for VideoFrameBackingwhere
RawVecInner: Send,
impl Sync for VideoFrameBackingwhere
RawVecInner: Sync,
impl Unpin for VideoFrameBacking
impl UnsafeUnpin for VideoFrameBacking
impl UnwindSafe for VideoFrameBackingwhere
RawVecInner: 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