pub struct DecodedVideo {
pub frames: Vec<RgbFrame>,
pub indices: Vec<usize>,
pub total_frames: usize,
pub src_fps: Option<f64>,
pub decoder: &'static str,
}Expand description
A decoded video: the sampled frames and where they came from.
Fields§
§frames: Vec<RgbFrame>§indices: Vec<usize>source frame index of each kept frame
total_frames: usize§src_fps: Option<f64>§decoder: &'static strframes-dir, y4m or ffmpeg
Trait Implementations§
Source§impl Clone for DecodedVideo
impl Clone for DecodedVideo
Auto Trait Implementations§
impl Freeze for DecodedVideo
impl RefUnwindSafe for DecodedVideo
impl Send for DecodedVideo
impl Sync for DecodedVideo
impl Unpin for DecodedVideo
impl UnsafeUnpin for DecodedVideo
impl UnwindSafe for DecodedVideo
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