pub struct ReferenceFrame<T: Pixel> {
pub order_hint: u32,
pub width: u32,
pub height: u32,
pub render_width: u32,
pub render_height: u32,
pub frame: Arc<Frame<T>>,
pub input_hres: Arc<Plane<T>>,
pub input_qres: Arc<Plane<T>>,
pub cdfs: CDFContext,
pub frame_me_stats: Arc<RwLock<[FrameMEStats; 8]>>,
pub output_frameno: u64,
pub segmentation: SegmentationState,
}Fields§
§order_hint: u32§width: u32§height: u32§render_width: u32§render_height: u32§frame: Arc<Frame<T>>§input_hres: Arc<Plane<T>>§input_qres: Arc<Plane<T>>§cdfs: CDFContext§frame_me_stats: Arc<RwLock<[FrameMEStats; 8]>>§output_frameno: u64§segmentation: SegmentationStateTrait Implementations§
Source§impl<T: Clone + Pixel> Clone for ReferenceFrame<T>
impl<T: Clone + Pixel> Clone for ReferenceFrame<T>
Source§fn clone(&self) -> ReferenceFrame<T>
fn clone(&self) -> ReferenceFrame<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for ReferenceFrame<T>
impl<T> RefUnwindSafe for ReferenceFrame<T>where
T: RefUnwindSafe,
impl<T> Send for ReferenceFrame<T>
impl<T> Sync for ReferenceFrame<T>
impl<T> Unpin for ReferenceFrame<T>
impl<T> UnwindSafe for ReferenceFrame<T>where
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more