pub struct RCSummary {
pub(crate) ntus: i32,
nframes: [i32; 5],
exp: [u8; 4],
scale_sum: [i64; 4],
pub(crate) total: i32,
}
Expand description
Rate control pass summary
It contains encoding information related to the whole previous encoding pass.
Fields§
§ntus: i32
§nframes: [i32; 5]
§exp: [u8; 4]
§scale_sum: [i64; 4]
§total: i32
Implementations§
Source§impl RateControlSummary
impl RateControlSummary
Sourcepub(crate) fn from_slice(bytes: &[u8]) -> Result<Self, Error>
pub(crate) fn from_slice(bytes: &[u8]) -> Result<Self, Error>
Deserializes a byte slice into a RateControlSummary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RCSummary
impl RefUnwindSafe for RCSummary
impl Send for RCSummary
impl Sync for RCSummary
impl Unpin for RCSummary
impl UnwindSafe for RCSummary
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