pub(crate) struct TransformMatrixShaperOptimizedV<T: Clone> {
pub(crate) linear: Vec<f32>,
pub(crate) gamma: Box<[T; 65536]>,
pub(crate) adaptation_matrix: Matrix3f,
}Expand description
Low memory footprint optimized routine for matrix shaper profiles with the same Gamma and linear curves.
Fields§
§linear: Vec<f32>§gamma: Box<[T; 65536]>§adaptation_matrix: Matrix3fAuto Trait Implementations§
impl<T> Freeze for TransformMatrixShaperOptimizedV<T>
impl<T> RefUnwindSafe for TransformMatrixShaperOptimizedV<T>where
T: RefUnwindSafe,
impl<T> Send for TransformMatrixShaperOptimizedV<T>where
T: Send,
impl<T> Sync for TransformMatrixShaperOptimizedV<T>where
T: Sync,
impl<T> Unpin for TransformMatrixShaperOptimizedV<T>
impl<T> UnsafeUnpin for TransformMatrixShaperOptimizedV<T>
impl<T> UnwindSafe for TransformMatrixShaperOptimizedV<T>where
T: UnwindSafe,
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