pub struct QpResult {
pub qp: u8,
pub qp_f: f32,
pub lambda: f64,
pub lambda_me: f64,
pub block_qp_offsets: Option<Vec<f32>>,
pub frame_type: FrameType,
pub complexity_factor: f32,
}Expand description
QP selection result.
Fields§
§qp: u8Selected QP (integer).
qp_f: f32Selected QP (floating point).
lambda: f64Lambda for RDO.
lambda_me: f64Lambda for motion estimation.
block_qp_offsets: Option<Vec<f32>>Block-level QP offsets (if AQ enabled).
frame_type: FrameTypeFrame type.
complexity_factor: f32Complexity factor relative to average.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QpResult
impl RefUnwindSafe for QpResult
impl Send for QpResult
impl Sync for QpResult
impl Unpin for QpResult
impl UnsafeUnpin for QpResult
impl UnwindSafe for QpResult
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