Struct openjpeg_sys::opj_image_comptparm
source · #[repr(C)]pub struct opj_image_comptparm {
pub dx: OPJ_UINT32,
pub dy: OPJ_UINT32,
pub w: OPJ_UINT32,
pub h: OPJ_UINT32,
pub x0: OPJ_UINT32,
pub y0: OPJ_UINT32,
pub prec: OPJ_UINT32,
pub bpp: OPJ_UINT32,
pub sgnd: OPJ_UINT32,
}
Expand description
Component parameters structure used by the opj_image_create
function
Fields§
§dx: OPJ_UINT32
XRsiz
: horizontal separation of a sample of ith component with respect to the reference grid
dy: OPJ_UINT32
YRsiz
: vertical separation of a sample of ith component with respect to the reference grid
w: OPJ_UINT32
data width
h: OPJ_UINT32
data height
x0: OPJ_UINT32
x component offset compared to the whole image
y0: OPJ_UINT32
y component offset compared to the whole image
prec: OPJ_UINT32
precision: number of bits per component per pixel
bpp: OPJ_UINT32
image depth in bits
sgnd: OPJ_UINT32
signed (1) / unsigned (0)
Trait Implementations§
source§impl Clone for opj_image_comptparm
impl Clone for opj_image_comptparm
source§fn clone(&self) -> opj_image_comptparm
fn clone(&self) -> opj_image_comptparm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for opj_image_comptparm
impl Debug for opj_image_comptparm
impl Copy for opj_image_comptparm
Auto Trait Implementations§
impl Freeze for opj_image_comptparm
impl RefUnwindSafe for opj_image_comptparm
impl Send for opj_image_comptparm
impl Sync for opj_image_comptparm
impl Unpin for opj_image_comptparm
impl UnwindSafe for opj_image_comptparm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)