pub struct J2kCodeBlockDecodeJob<'a> {Show 13 fields
pub data: &'a [u8],
pub segments: &'a [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 classic J2K code-block job description for backend experimentation.
Fields§
§data: &'a [u8]Combined payload bytes for all coded segments in this code block.
segments: &'a [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<'a> Clone for J2kCodeBlockDecodeJob<'a>
impl<'a> Clone for J2kCodeBlockDecodeJob<'a>
Source§fn clone(&self) -> J2kCodeBlockDecodeJob<'a>
fn clone(&self) -> J2kCodeBlockDecodeJob<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for J2kCodeBlockDecodeJob<'a>
Auto Trait Implementations§
impl<'a> Freeze for J2kCodeBlockDecodeJob<'a>
impl<'a> RefUnwindSafe for J2kCodeBlockDecodeJob<'a>
impl<'a> Send for J2kCodeBlockDecodeJob<'a>
impl<'a> Sync for J2kCodeBlockDecodeJob<'a>
impl<'a> Unpin for J2kCodeBlockDecodeJob<'a>
impl<'a> UnsafeUnpin for J2kCodeBlockDecodeJob<'a>
impl<'a> UnwindSafe for J2kCodeBlockDecodeJob<'a>
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
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>
Converts
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>
Converts
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