pub struct RoiEncoderConfig {
pub frame_width: u32,
pub frame_height: u32,
pub ctu_size: u32,
pub base_qp: u8,
pub max_qp_reduction: u8,
pub max_qp_increase: u8,
pub adjust_mode: QpAdjustMode,
}Expand description
Configuration for the ROI encoder optimizer.
Fields§
§frame_width: u32Frame width in pixels.
frame_height: u32Frame height in pixels.
ctu_size: u32CTU (Coding Tree Unit) size for block-level QP mapping.
base_qp: u8Base QP for the frame.
max_qp_reduction: u8Maximum negative QP offset allowed for boosted regions.
max_qp_increase: u8Maximum positive QP offset allowed for background regions.
adjust_mode: QpAdjustModeQP adjustment mode.
Trait Implementations§
Source§impl Clone for RoiEncoderConfig
impl Clone for RoiEncoderConfig
Source§fn clone(&self) -> RoiEncoderConfig
fn clone(&self) -> RoiEncoderConfig
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 RoiEncoderConfig
impl Debug for RoiEncoderConfig
Auto Trait Implementations§
impl Freeze for RoiEncoderConfig
impl RefUnwindSafe for RoiEncoderConfig
impl Send for RoiEncoderConfig
impl Sync for RoiEncoderConfig
impl Unpin for RoiEncoderConfig
impl UnsafeUnpin for RoiEncoderConfig
impl UnwindSafe for RoiEncoderConfig
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