pub struct J2kOwnedCodeBlockBatchJob {Show 15 fields
pub output_x: u32,
pub output_y: u32,
pub data: Vec<u8>,
pub segments: Vec<J2kCodeBlockSegment>,
pub width: u32,
pub height: u32,
pub output_stride: usize,
pub missing_bit_planes: u8,
pub number_of_coding_passes: u8,
pub total_bitplanes: u8,
pub roi_shift: u8,
pub sub_band_type: J2kSubBandType,
pub style: J2kCodeBlockStyle,
pub strict: bool,
pub dequantization_step: f32,
}Expand description
Adapter owned classic J2K 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 payload bytes for all coded segments in this code block.
segments: Vec<J2kCodeBlockSegment>Coded segments for the code block.
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.
total_bitplanes: u8Total coded bitplanes for the parent sub-band.
roi_shift: u8Region-of-interest maxshift value from RGN marker metadata.
sub_band_type: J2kSubBandTypeThe sub-band type containing this code block.
style: J2kCodeBlockStyleThe code-block style flags.
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 J2kOwnedCodeBlockBatchJob
impl Clone for J2kOwnedCodeBlockBatchJob
Source§fn clone(&self) -> J2kOwnedCodeBlockBatchJob
fn clone(&self) -> J2kOwnedCodeBlockBatchJob
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 J2kOwnedCodeBlockBatchJob
impl RefUnwindSafe for J2kOwnedCodeBlockBatchJob
impl Send for J2kOwnedCodeBlockBatchJob
impl Sync for J2kOwnedCodeBlockBatchJob
impl Unpin for J2kOwnedCodeBlockBatchJob
impl UnsafeUnpin for J2kOwnedCodeBlockBatchJob
impl UnwindSafe for J2kOwnedCodeBlockBatchJob
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