pub struct RcState {
pub frames_encoded: u64,
pub total_bits: u64,
pub buffer_level: i64,
pub average_bitrate: f64,
pub average_qp: f32,
pub frames_dropped: u64,
pub scene_cuts_detected: u64,
pub current_gop: u64,
}Expand description
Rate control state summary.
Fields§
§frames_encoded: u64Total frames processed.
total_bits: u64Total bits produced.
buffer_level: i64Current buffer level.
average_bitrate: f64Average bitrate so far.
average_qp: f32Average QP so far.
frames_dropped: u64Frames dropped due to rate control.
scene_cuts_detected: u64Keyframes forced by scene detection.
current_gop: u64Current GOP index.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RcState
impl RefUnwindSafe for RcState
impl Send for RcState
impl Sync for RcState
impl Unpin for RcState
impl UnsafeUnpin for RcState
impl UnwindSafe for RcState
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