pub enum SpsPpsStrategy {
ConstantId,
IncreasingId,
SpsListing,
SpsListingAndPpsIncreasing,
SpsPpsListing,
}Expand description
Sets the behavior for generating SPS/PPS.
Variants§
ConstantId
Use a constant SPS/PPS ID. The ID will not change across encoded video frames.
This is the default value.
IncreasingId
Increment the SPS/PPS ID with each IDR frame.
This allows decoders to detect missing frames.
SpsListing
Use SPS in the existing list if possible.
SpsListingAndPpsIncreasing
find doc for this
SpsPpsListing
find doc for this
Trait Implementations§
Source§impl Clone for SpsPpsStrategy
impl Clone for SpsPpsStrategy
Source§fn clone(&self) -> SpsPpsStrategy
fn clone(&self) -> SpsPpsStrategy
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 moreSource§impl Debug for SpsPpsStrategy
impl Debug for SpsPpsStrategy
Source§impl Default for SpsPpsStrategy
impl Default for SpsPpsStrategy
Source§fn default() -> SpsPpsStrategy
fn default() -> SpsPpsStrategy
Returns the “default value” for a type. Read more
impl Copy for SpsPpsStrategy
Auto Trait Implementations§
impl Freeze for SpsPpsStrategy
impl RefUnwindSafe for SpsPpsStrategy
impl Send for SpsPpsStrategy
impl Sync for SpsPpsStrategy
impl Unpin for SpsPpsStrategy
impl UnsafeUnpin for SpsPpsStrategy
impl UnwindSafe for SpsPpsStrategy
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