pub struct HtOwnedCodeBlockBatchJob {Show 15 fields
pub output_x: u32,
pub output_y: u32,
pub data: Vec<u8>,
pub cleanup_length: u32,
pub refinement_length: u32,
pub width: u32,
pub height: u32,
pub output_stride: usize,
pub missing_bit_planes: u8,
pub number_of_coding_passes: u8,
pub num_bitplanes: u8,
pub roi_shift: u8,
pub stripe_causal: bool,
pub strict: bool,
pub dequantization_step: f32,
}Expand description
Adapter owned HTJ2K batched code-block decode job.
Fields§
§output_x: u32X offset within the target sub-band coefficient buffer.
output_y: u32Y offset within the target sub-band coefficient buffer.
data: Vec<u8>Combined cleanup/refinement bytes for the code block.
cleanup_length: u32Cleanup segment length in bytes.
refinement_length: u32Refinement segment length in bytes.
width: u32Code-block width in samples.
height: u32Code-block height in samples.
output_stride: usizeOutput row stride, in samples, for the target sub-band storage.
missing_bit_planes: u8Missing most-significant bit planes for this code block.
number_of_coding_passes: u8Number of coding passes present for this code block.
num_bitplanes: u8Total coded bitplanes for the parent sub-band.
roi_shift: u8Region-of-interest maxshift value from RGN marker metadata.
stripe_causal: boolWhether vertically causal context was enabled.
strict: boolWhether strict decode validation is enabled for the parent image.
dequantization_step: f32Dequantization step to apply to decoded coefficients.
Trait Implementations§
Source§impl Clone for HtOwnedCodeBlockBatchJob
impl Clone for HtOwnedCodeBlockBatchJob
Source§fn clone(&self) -> HtOwnedCodeBlockBatchJob
fn clone(&self) -> HtOwnedCodeBlockBatchJob
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for HtOwnedCodeBlockBatchJob
impl RefUnwindSafe for HtOwnedCodeBlockBatchJob
impl Send for HtOwnedCodeBlockBatchJob
impl Sync for HtOwnedCodeBlockBatchJob
impl Unpin for HtOwnedCodeBlockBatchJob
impl UnsafeUnpin for HtOwnedCodeBlockBatchJob
impl UnwindSafe for HtOwnedCodeBlockBatchJob
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more