Struct grokj2k_sys::_grk_image_comp[][src]

#[repr(C)]
pub struct _grk_image_comp {
Show fields pub obj: grk_object, pub dx: u32, pub dy: u32, pub w: u32, pub stride: u32, pub h: u32, pub x0: u32, pub y0: u32, pub Xcrg: u16, pub Ycrg: u16, pub prec: u8, pub sgnd: bool, pub data: *mut i32, pub type_: GRK_COMPONENT_TYPE, pub association: GRK_COMPONENT_ASSOC,
}
Expand description

Image component

Fields

obj: grk_objectdx: u32

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

dy: u32

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

w: u32

data width

stride: u32

data stride

h: u32

data height

x0: u32

x component offset compared to the whole image

y0: u32

y component offset compared to the whole image

Xcrg: u16Ycrg: u16prec: u8

precision

sgnd: booldata: *mut i32

image component data

type_: GRK_COMPONENT_TYPEassociation: GRK_COMPONENT_ASSOC

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.