pub struct TemporalLayerConfig {
pub layer_id: u8,
pub framerate_fraction: f32,
pub bitrate_fraction: f32,
pub qp_offset: i8,
pub reference_mode: SvcReferenceMode,
}Expand description
Configuration for a single temporal layer.
Fields§
§layer_id: u8Layer identifier (0 = base, higher = enhancement).
framerate_fraction: f32Fraction of full framerate this layer represents (0.0-1.0).
bitrate_fraction: f32Fraction of total bitrate allocated to this layer (0.0-1.0).
qp_offset: i8QP offset relative to base layer (positive = lower quality).
reference_mode: SvcReferenceModeReference frame mode for this layer.
Trait Implementations§
Source§impl Clone for TemporalLayerConfig
impl Clone for TemporalLayerConfig
Source§fn clone(&self) -> TemporalLayerConfig
fn clone(&self) -> TemporalLayerConfig
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 moreAuto Trait Implementations§
impl Freeze for TemporalLayerConfig
impl RefUnwindSafe for TemporalLayerConfig
impl Send for TemporalLayerConfig
impl Sync for TemporalLayerConfig
impl Unpin for TemporalLayerConfig
impl UnsafeUnpin for TemporalLayerConfig
impl UnwindSafe for TemporalLayerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more