Type Alias openjpeg_sys::opj_image_cmptparm_t

source ·
pub type opj_image_cmptparm_t = opj_image_comptparm;
Expand description

Component parameters structure used by the opj_image_create function

Aliased Type§

struct opj_image_cmptparm_t {
    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,
}

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)