pub struct PreprocessedVideo {
pub groups: Vec<Vec<f32>>,
pub grid_t: usize,
pub grid_h: usize,
pub grid_w: usize,
}Expand description
A decoded, ready-to-encode video.
Fields§
§groups: Vec<Vec<f32>>One entry per temporal group, each shaped exactly like a preprocessed
still: [grid_h * grid_w, C * tp * patch * patch].
grid_t: usize§grid_h: usize§grid_w: usizeImplementations§
Trait Implementations§
Source§impl Debug for PreprocessedVideo
Summarised rather than derived: the payload is megabytes of f32 and a
derived Debug would dump all of it into any test failure or log line
that happens to format one.
impl Debug for PreprocessedVideo
Summarised rather than derived: the payload is megabytes of f32 and a
derived Debug would dump all of it into any test failure or log line
that happens to format one.
Auto Trait Implementations§
impl Freeze for PreprocessedVideo
impl RefUnwindSafe for PreprocessedVideo
impl Send for PreprocessedVideo
impl Sync for PreprocessedVideo
impl Unpin for PreprocessedVideo
impl UnwindSafe for PreprocessedVideo
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