Struct SaliencePerceptualGovernor
pub struct SaliencePerceptualGovernor;Expand description
Computes Quantization Parameter (QP) and ray budgets from D_9 semantic salience.
Implementations§
§impl SaliencePerceptualGovernor
impl SaliencePerceptualGovernor
pub fn evaluate_qp_and_ray_budget(salience_class: u8) -> (u8, u32)
pub fn evaluate_qp_and_ray_budget(salience_class: u8) -> (u8, u32)
Maps salience class (0=Class A Focal, 64=Class B Dynamic, 192=Class C Ambient, 255=Class D Subperceptual) to Quantization Parameter (QP) and allocated primary ray budget per pixel.
Trait Implementations§
§impl Clone for SaliencePerceptualGovernor
impl Clone for SaliencePerceptualGovernor
§fn clone(&self) -> SaliencePerceptualGovernor
fn clone(&self) -> SaliencePerceptualGovernor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SaliencePerceptualGovernor
§impl Debug for SaliencePerceptualGovernor
impl Debug for SaliencePerceptualGovernor
§impl Default for SaliencePerceptualGovernor
impl Default for SaliencePerceptualGovernor
§fn default() -> SaliencePerceptualGovernor
fn default() -> SaliencePerceptualGovernor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SaliencePerceptualGovernor
impl RefUnwindSafe for SaliencePerceptualGovernor
impl Send for SaliencePerceptualGovernor
impl Sync for SaliencePerceptualGovernor
impl Unpin for SaliencePerceptualGovernor
impl UnsafeUnpin for SaliencePerceptualGovernor
impl UnwindSafe for SaliencePerceptualGovernor
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