Struct jxl_vardct::DequantMatrixSet
source · pub struct DequantMatrixSet { /* private fields */ }
Expand description
A set of dequantization matrices.
Implementations§
source§impl DequantMatrixSet
impl DequantMatrixSet
sourcepub fn get(&self, channel: usize, dct_select: TransformType) -> &[f32]
pub fn get(&self, channel: usize, dct_select: TransformType) -> &[f32]
Returns the dequantization matrix for the given channel and transform type.
The coefficients is in the raster order.
sourcepub fn get_transposed(
&self,
channel: usize,
dct_select: TransformType,
) -> &[f32]
pub fn get_transposed( &self, channel: usize, dct_select: TransformType, ) -> &[f32]
Returns the transposed dequantization matrix for the given channel and transform type.
The coefficients is in the raster order.
Trait Implementations§
source§impl Bundle<DequantMatrixSetParams<'_, '_, '_>> for DequantMatrixSet
impl Bundle<DequantMatrixSetParams<'_, '_, '_>> for DequantMatrixSet
Auto Trait Implementations§
impl Freeze for DequantMatrixSet
impl RefUnwindSafe for DequantMatrixSet
impl Send for DequantMatrixSet
impl Sync for DequantMatrixSet
impl Unpin for DequantMatrixSet
impl UnwindSafe for DequantMatrixSet
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