pub struct HfMetadataParams<'ma, 'pool, 'tracker> {
pub num_lf_groups: u32,
pub lf_group_idx: u32,
pub lf_width: u32,
pub lf_height: u32,
pub jpeg_upsampling: [u32; 3],
pub bits_per_sample: u32,
pub global_ma_config: Option<&'ma MaConfig>,
pub epf: Option<(f32, [f32; 8])>,
pub quantizer_global_scale: u32,
pub tracker: Option<&'tracker AllocTracker>,
pub pool: &'pool JxlThreadPool,
}
Expand description
Parameters for decoding HfMetadata
.
Fields§
§num_lf_groups: u32
§lf_group_idx: u32
§lf_width: u32
§lf_height: u32
§jpeg_upsampling: [u32; 3]
§bits_per_sample: u32
§global_ma_config: Option<&'ma MaConfig>
§epf: Option<(f32, [f32; 8])>
§quantizer_global_scale: u32
§tracker: Option<&'tracker AllocTracker>
§pool: &'pool JxlThreadPool
Trait Implementations§
Source§impl Bundle<HfMetadataParams<'_, '_, '_>> for HfMetadata
impl Bundle<HfMetadataParams<'_, '_, '_>> for HfMetadata
Auto Trait Implementations§
impl<'ma, 'pool, 'tracker> Freeze for HfMetadataParams<'ma, 'pool, 'tracker>
impl<'ma, 'pool, 'tracker> RefUnwindSafe for HfMetadataParams<'ma, 'pool, 'tracker>
impl<'ma, 'pool, 'tracker> Send for HfMetadataParams<'ma, 'pool, 'tracker>
impl<'ma, 'pool, 'tracker> Sync for HfMetadataParams<'ma, 'pool, 'tracker>
impl<'ma, 'pool, 'tracker> Unpin for HfMetadataParams<'ma, 'pool, 'tracker>
impl<'ma, 'pool, 'tracker> UnwindSafe for HfMetadataParams<'ma, 'pool, 'tracker>
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