pub struct EncodedOutputChunk<T> {
pub data: T,
pub pts: Option<u64>,
pub is_keyframe: bool,
}👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Expand description
Represents a chunk of encoded video data returned by the encoder.
pts is the presentation timestamp – a number, which describes when the given frame
should be presented, used for synchronization with other tracks, e.g. with audio
Fields§
§data: T👎Deprecated since 0.3.1:
§This crate has been renamed. Please migrate to gpu-video.
pts: Option<u64>👎Deprecated since 0.3.1:
§This crate has been renamed. Please migrate to gpu-video.
is_keyframe: bool👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Auto Trait Implementations§
impl<T> Freeze for EncodedOutputChunk<T>where
T: Freeze,
impl<T> RefUnwindSafe for EncodedOutputChunk<T>where
T: RefUnwindSafe,
impl<T> Send for EncodedOutputChunk<T>where
T: Send,
impl<T> Sync for EncodedOutputChunk<T>where
T: Sync,
impl<T> Unpin for EncodedOutputChunk<T>where
T: Unpin,
impl<T> UnsafeUnpin for EncodedOutputChunk<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for EncodedOutputChunk<T>where
T: UnwindSafe,
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