Struct cros_codecs::decoders::h264::decoder::ReadyPicture
source · [−]struct ReadyPicture<T> {
handle: T,
pic_order: i32,
}
Expand description
A picture ready to be sent to the DecoderSession, with an ordering on its picture order so it
can be placed into a BinaryHeap
.
Fields
handle: T
Handle to the picture.
pic_order: i32
pic_order_cnt of the picture as per the H.264 spec.
Implementations
sourceimpl<T> ReadyPicture<T>
impl<T> ReadyPicture<T>
Trait Implementations
sourceimpl<T> Ord for ReadyPicture<T>
impl<T> Ord for ReadyPicture<T>
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<T> PartialEq<ReadyPicture<T>> for ReadyPicture<T>
impl<T> PartialEq<ReadyPicture<T>> for ReadyPicture<T>
sourceimpl<T> PartialOrd<ReadyPicture<T>> for ReadyPicture<T>
impl<T> PartialOrd<ReadyPicture<T>> for ReadyPicture<T>
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T> Eq for ReadyPicture<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ReadyPicture<T>where
T: RefUnwindSafe,
impl<T> Send for ReadyPicture<T>where
T: Send,
impl<T> Sync for ReadyPicture<T>where
T: Sync,
impl<T> Unpin for ReadyPicture<T>where
T: Unpin,
impl<T> UnwindSafe for ReadyPicture<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more