use alloc::vec::Vec;
#[derive(Debug)]
pub struct EncodedHtJ2kCodeBlock {
pub data: Vec<u8>,
pub cleanup_length: u32,
pub refinement_length: u32,
pub num_coding_passes: u8,
pub num_zero_bitplanes: u8,
}
#[derive(Debug, Clone, Copy)]
pub struct J2kHtCodeBlockEncodeJob<'a> {
pub coefficients: &'a [i32],
pub width: u32,
pub height: u32,
pub total_bitplanes: u8,
pub target_coding_passes: u8,
}
#[derive(Debug, Clone, Copy)]
pub struct J2kHtSubbandEncodeJob<'a> {
pub coefficients: &'a [f32],
pub width: u32,
pub height: u32,
pub step_exponent: u16,
pub step_mantissa: u16,
pub range_bits: u8,
pub reversible: bool,
pub code_block_width: u32,
pub code_block_height: u32,
pub total_bitplanes: u8,
}
crate::move_only::assert_move_only!(EncodedHtJ2kCodeBlock);