pub enum FrameType {
Invalid,
IDR,
I,
P,
Skip,
IPMixed,
}
Expand description
Frame type returned by the encoder.
The variant documentation was directly taken from OpenH264 project.
Variants§
Invalid
Encoder not ready or parameters are invalidate.
IDR
IDR frame in H.264
I
I frame type
P
P frame type
Skip
Skip the frame based encoder kernel“
IPMixed
A frame where I and P slices are mixing, not supported yet.
Trait Implementations§
Source§impl Ord for FrameType
impl Ord for FrameType
Source§impl PartialOrd for FrameType
impl PartialOrd for FrameType
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnwindSafe for FrameType
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