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

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for opj_codestream_info

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for opj_codestream_info

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.