[][src]Struct openjpeg2_sys::opj_image

#[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,
}

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

impl Clone for opj_image[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for opj_image[src]

impl Debug for opj_image[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]