Struct openjpeg_sys::opj_image [−][src]
#[repr(C)]pub struct opj_image {
pub x0: OPJ_UINT32,
pub y0: OPJ_UINT32,
pub x1: OPJ_UINT32,
pub y1: OPJ_UINT32,
pub numcomps: OPJ_UINT32,
pub color_space: OPJ_COLOR_SPACE,
pub comps: *mut opj_image_comp_t,
pub icc_profile_buf: *mut OPJ_BYTE,
pub icc_profile_len: OPJ_UINT32,
}
Expand description
Defines image data and characteristics
Fields
x0: OPJ_UINT32
XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area
y0: OPJ_UINT32
YOsiz: vertical offset from the origin of the reference grid to the top side of the image area
x1: OPJ_UINT32
Xsiz: width of the reference grid
y1: OPJ_UINT32
Ysiz: height of the reference grid
numcomps: OPJ_UINT32
number of components in the image
color_space: OPJ_COLOR_SPACE
color space: sRGB, Greyscale or YUV
comps: *mut opj_image_comp_t
image components
icc_profile_buf: *mut OPJ_BYTE
‘restricted’ ICC profile
icc_profile_len: OPJ_UINT32
size of ICC profile
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for opj_image
impl UnwindSafe for opj_image
Blanket Implementations
Mutably borrows from an owned value. Read more