Struct openjpeg_sys::opj_codestream_info
source · #[repr(C)]pub struct opj_codestream_info {Show 22 fields
pub D_max: f64,
pub packno: c_int,
pub index_write: c_int,
pub image_w: c_int,
pub image_h: c_int,
pub prog: OPJ_PROG_ORDER,
pub tile_x: c_int,
pub tile_y: c_int,
pub tile_Ox: c_int,
pub tile_Oy: c_int,
pub tw: c_int,
pub th: c_int,
pub numcomps: c_int,
pub numlayers: c_int,
pub numdecompos: *mut c_int,
pub marknum: c_int,
pub marker: *mut opj_marker_info_t,
pub maxmarknum: c_int,
pub main_head_start: c_int,
pub main_head_end: c_int,
pub codestream_size: c_int,
pub tile: *mut opj_tile_info_t,
}
Expand description
Index structure of the codestream
Fields§
§D_max: f64
maximum distortion reduction on the whole image (add for Marcela)
packno: c_int
packet number
index_write: c_int
writing the packet in the index with t2_encode_packets
image_w: c_int
image width
image_h: c_int
image height
prog: OPJ_PROG_ORDER
progression order
tile_x: c_int
tile size in x
tile_y: c_int
tile size in y
tile_Ox: c_int
§tile_Oy: c_int
§tw: c_int
number of tiles in X
th: c_int
number of tiles in Y
numcomps: c_int
component numbers
numlayers: c_int
number of layer
numdecompos: *mut c_int
number of decomposition for each component
marknum: c_int
number of markers
marker: *mut opj_marker_info_t
list of markers
maxmarknum: c_int
actual size of markers array
main_head_start: c_int
main header position
main_head_end: c_int
main header position
codestream_size: c_int
codestream’s size
tile: *mut opj_tile_info_t
information regarding tiles inside image
Trait Implementations§
source§impl Clone for opj_codestream_info
impl Clone for opj_codestream_info
source§fn clone(&self) -> opj_codestream_info
fn clone(&self) -> opj_codestream_info
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_codestream_info
impl Debug for opj_codestream_info
impl Copy for opj_codestream_info
Auto Trait Implementations§
impl Freeze for opj_codestream_info
impl RefUnwindSafe for opj_codestream_info
impl !Send for opj_codestream_info
impl !Sync for opj_codestream_info
impl Unpin for opj_codestream_info
impl UnwindSafe for opj_codestream_info
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
)