Struct grokj2k_sys::_grk_image_comptparm[][src]

#[repr(C)]
pub struct _grk_image_comptparm { pub dx: u32, pub dy: u32, pub w: u32, pub stride: u32, pub h: u32, pub x0: u32, pub y0: u32, pub prec: u8, pub sgnd: bool, }
Expand description

Image component parameters

Fields

dx: u32

XRsiz: horizontal separation of a sample of component with respect to the reference grid

dy: u32

YRsiz: vertical separation of a sample of component with respect to the reference grid

w: u32

data width

stride: u32h: u32

data height

x0: u32

x component offset compared to the whole image

y0: u32

y component offset compared to the whole image

prec: u8

precision

sgnd: bool

true if data is signed

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.