pub struct DpbEntry<T> {
pub pic: RcPictureData,
pub reference: Option<T>,
pub decoded_frame: Option<T>,
/* private fields */
}
Expand description
A single entry in the DPB.
Fields§
§pic: RcPictureData
PictureData
of the frame in this entry.
reference: Option<T>
Reference to the decoded frame, ensuring that it doesn’t get reused while in the DPB.
decoded_frame: Option<T>
Decoded frame promise. It will be set when the frame enters the DPB, and taken during the bump process.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DpbEntry<T>where
T: Freeze,
impl<T> !RefUnwindSafe for DpbEntry<T>
impl<T> !Send for DpbEntry<T>
impl<T> !Sync for DpbEntry<T>
impl<T> Unpin for DpbEntry<T>where
T: Unpin,
impl<T> !UnwindSafe for DpbEntry<T>
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