pub struct HfCoeffParams<'a, 'b, S: Sample> {
pub num_hf_presets: u32,
pub hf_block_ctx: &'a HfBlockContext,
pub block_info: SharedSubgrid<'a, BlockInfo>,
pub jpeg_upsampling: [u32; 3],
pub lf_quant: Option<[SharedSubgrid<'a, S>; 3]>,
pub hf_pass: &'a HfPass,
pub coeff_shift: u32,
pub tracker: Option<&'b AllocTracker>,
}
Expand description
Parameters for decoding HfCoeff
.
Fields§
§num_hf_presets: u32
§hf_block_ctx: &'a HfBlockContext
§block_info: SharedSubgrid<'a, BlockInfo>
§jpeg_upsampling: [u32; 3]
§lf_quant: Option<[SharedSubgrid<'a, S>; 3]>
§hf_pass: &'a HfPass
§coeff_shift: u32
§tracker: Option<&'b AllocTracker>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, S> Freeze for HfCoeffParams<'a, 'b, S>
impl<'a, 'b, S> RefUnwindSafe for HfCoeffParams<'a, 'b, S>where
S: RefUnwindSafe,
impl<'a, 'b, S> Send for HfCoeffParams<'a, 'b, S>
impl<'a, 'b, S> Sync for HfCoeffParams<'a, 'b, S>
impl<'a, 'b, S> Unpin for HfCoeffParams<'a, 'b, S>
impl<'a, 'b, S> UnwindSafe for HfCoeffParams<'a, 'b, S>where
S: RefUnwindSafe,
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