pub struct Gray8 { /* private fields */ }Expand description
The identity conversion for 8-bit monochrome: one luma plane to
GRAY8_SRGB and back.
Trait Implementations§
Source§impl CaptureFrame for Gray8
impl CaptureFrame for Gray8
Source§fn capture(
&mut self,
pixels: &PixelSlice<'_>,
config: &CodecConfig,
timing: FrameTiming,
) -> Result<Frame, BoxedError>
fn capture( &mut self, pixels: &PixelSlice<'_>, config: &CodecConfig, timing: FrameTiming, ) -> Result<Frame, BoxedError>
Source§impl RenderFrame for Gray8
impl RenderFrame for Gray8
Source§fn canvas_descriptor(
&self,
track: &TrackInfo,
) -> Result<PixelDescriptor, BoxedError>
fn canvas_descriptor( &self, track: &TrackInfo, ) -> Result<PixelDescriptor, BoxedError>
The canvas descriptor for frames of
track. Read moreAuto Trait Implementations§
impl Freeze for Gray8
impl RefUnwindSafe for Gray8
impl Send for Gray8
impl Sync for Gray8
impl Unpin for Gray8
impl UnsafeUnpin for Gray8
impl UnwindSafe for Gray8
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