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