pub struct JpegToHtj2kOptions {
pub encode_options: JpegToHtj2kEncodeOptions,
pub coefficient_path: JpegToHtj2kCoefficientPath,
pub validate_against_float_reference: bool,
pub validate_against_integer_reference: bool,
}Expand description
Options for the experimental JPEG-to-HTJ2K path.
Fields§
§encode_options: JpegToHtj2kEncodeOptionsHTJ2K encode options used after wavelet bands are produced.
coefficient_path: JpegToHtj2kCoefficientPathCoefficient production path used for HTJ2K precomputed bands.
validate_against_float_reference: boolMaterialize the float IDCT-then-DWT oracle and report rounded coefficient differences. This is intended for validation and tests, not the production direct path.
validate_against_integer_reference: boolMaterialize signinum-jpeg scalar ISLOW samples and report reversible integer 5/3 coefficient differences against the rounded direct path. This is intended for validation and tests, not the production direct path.
Implementations§
Source§impl JpegToHtj2kOptions
impl JpegToHtj2kOptions
Sourcepub fn lossless_53() -> JpegToHtj2kOptions
pub fn lossless_53() -> JpegToHtj2kOptions
Options for the default reversible 5/3 HTJ2K coefficient path.
Sourcepub fn lossy_97() -> JpegToHtj2kOptions
pub fn lossy_97() -> JpegToHtj2kOptions
Options for the irreversible 9/7 HTJ2K float-linear coefficient path.
Trait Implementations§
Source§impl Clone for JpegToHtj2kOptions
impl Clone for JpegToHtj2kOptions
Source§fn clone(&self) -> JpegToHtj2kOptions
fn clone(&self) -> JpegToHtj2kOptions
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 moreSource§impl Debug for JpegToHtj2kOptions
impl Debug for JpegToHtj2kOptions
Source§impl Default for JpegToHtj2kOptions
impl Default for JpegToHtj2kOptions
Source§fn default() -> JpegToHtj2kOptions
fn default() -> JpegToHtj2kOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JpegToHtj2kOptions
impl RefUnwindSafe for JpegToHtj2kOptions
impl Send for JpegToHtj2kOptions
impl Sync for JpegToHtj2kOptions
impl Unpin for JpegToHtj2kOptions
impl UnsafeUnpin for JpegToHtj2kOptions
impl UnwindSafe for JpegToHtj2kOptions
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