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,
}Expand description
Adapter HTJ2K cleanup encode job for one unquantized sub-band.
Fields§
§coefficients: &'a [f32]Source sub-band coefficients in row-major order.
width: u32Sub-band width in samples.
height: u32Sub-band height in samples.
step_exponent: u16Quantization step-size exponent.
step_mantissa: u16Quantization step-size mantissa.
range_bits: u8Nominal range bits for this sub-band.
reversible: boolWhether to use reversible integer quantization.
code_block_width: u32Code-block width in samples.
code_block_height: u32Code-block height in samples.
total_bitplanes: u8Total coded bitplanes for this sub-band.
Trait Implementations§
Source§impl<'a> Clone for J2kHtSubbandEncodeJob<'a>
impl<'a> Clone for J2kHtSubbandEncodeJob<'a>
Source§fn clone(&self) -> J2kHtSubbandEncodeJob<'a>
fn clone(&self) -> J2kHtSubbandEncodeJob<'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 J2kHtSubbandEncodeJob<'a>
Auto Trait Implementations§
impl<'a> Freeze for J2kHtSubbandEncodeJob<'a>
impl<'a> RefUnwindSafe for J2kHtSubbandEncodeJob<'a>
impl<'a> Send for J2kHtSubbandEncodeJob<'a>
impl<'a> Sync for J2kHtSubbandEncodeJob<'a>
impl<'a> Unpin for J2kHtSubbandEncodeJob<'a>
impl<'a> UnsafeUnpin for J2kHtSubbandEncodeJob<'a>
impl<'a> UnwindSafe for J2kHtSubbandEncodeJob<'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