pub struct SceneEncodeParams {
pub qp_offset: f64,
pub bitrate_weight: f64,
pub gop_size: u32,
pub force_keyframe: bool,
pub min_qp: f64,
pub max_qp: f64,
pub b_frames: u32,
pub enable_aq: bool,
pub aq_strength: f64,
}Expand description
Encoding parameters for a scene.
Fields§
§qp_offset: f64QP offset relative to base QP (can be negative for higher quality).
bitrate_weight: f64Bitrate allocation weight (1.0 = normal, >1.0 = more bits).
gop_size: u32Recommended GOP size in frames.
force_keyframe: boolWhether to force a keyframe at scene start.
min_qp: f64Minimum QP allowed.
max_qp: f64Maximum QP allowed.
b_frames: u32B-frame count for this scene.
enable_aq: boolWhether to enable adaptive quantization.
aq_strength: f64AQ strength (0.0 - 2.0).
Implementations§
Trait Implementations§
Source§impl Clone for SceneEncodeParams
impl Clone for SceneEncodeParams
Source§fn clone(&self) -> SceneEncodeParams
fn clone(&self) -> SceneEncodeParams
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 SceneEncodeParams
impl Debug for SceneEncodeParams
Auto Trait Implementations§
impl Freeze for SceneEncodeParams
impl RefUnwindSafe for SceneEncodeParams
impl Send for SceneEncodeParams
impl Sync for SceneEncodeParams
impl Unpin for SceneEncodeParams
impl UnsafeUnpin for SceneEncodeParams
impl UnwindSafe for SceneEncodeParams
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