Struct y4m::Frame[][src]

pub struct Frame<'f> { /* fields omitted */ }

A single frame.

Methods

impl<'f> Frame<'f>
[src]

Create a new frame with optional parameters. No heap allocations are made.

Return Y (first) plane.

Return U (second) plane. Empty in case of grayscale.

Return V (third) plane. Empty in case of grayscale.

Return frame raw parameters if any.

Trait Implementations

impl<'f> Debug for Frame<'f>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'f> Send for Frame<'f>

impl<'f> Sync for Frame<'f>