pub type opj_image_comp_t = opj_image_comp;
Expand description

Defines a single image component

Aliased Type§

struct opj_image_comp_t {
Show 13 fields pub dx: u32, pub dy: u32, pub w: u32, pub h: u32, pub x0: u32, pub y0: u32, pub prec: u32, pub bpp: u32, pub sgnd: u32, pub resno_decoded: u32, pub factor: u32, pub data: *mut i32, pub alpha: u16,
}

Fields§

§dx: u32

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

§dy: u32

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

§w: u32

data width

§h: u32

data height

§x0: u32

x component offset compared to the whole image

§y0: u32

y component offset compared to the whole image

§prec: u32

precision: number of bits per component per pixel

§bpp: u32

image depth in bits

§sgnd: u32

signed (1) / unsigned (0)

§resno_decoded: u32

number of decoded resolution

§factor: u32

number of division by 2 of the out image compared to the original size of image

§data: *mut i32

image component data

§alpha: u16

alpha channel