[−][src]Struct openjpeg2_sys::opj_dparameters
Decompression parameters
Fields
cp_reduce: OPJ_UINT32
Set the number of highest resolution levels to be discarded. The image resolution is effectively divided by 2 to the power of the number of discarded levels. The reduce factor is limited by the smallest total number of decomposition levels among tiles. if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution
cp_layer: OPJ_UINT32
Set the maximum number of quality layers to decode. If there are less quality layers than the specified number, all the quality layers are decoded. if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded
infile: [c_char; 4096]
input file name
outfile: [c_char; 4096]
output file name
decod_format: c_int
input file format 0: J2K, 1: JP2, 2: JPT
cod_format: c_int
output file format 0: PGX, 1: PxM, 2: BMP
DA_x0: OPJ_UINT32
Decoding area left boundary
DA_x1: OPJ_UINT32
Decoding area right boundary
DA_y0: OPJ_UINT32
Decoding area up boundary
DA_y1: OPJ_UINT32
Decoding area bottom boundary
m_verbose: OPJ_BOOL
Verbose mode
tile_index: OPJ_UINT32
tile number of the decoded tile
nb_tile_to_decode: OPJ_UINT32
Nb of tile to decode
jpwl_correct: OPJ_BOOL
activates the JPWL correction capabilities
jpwl_exp_comps: c_int
expected number of components
jpwl_max_tiles: c_int
maximum number of tiles
flags: c_uint
Trait Implementations
impl Clone for opj_dparameters
[src]
fn clone(&self) -> opj_dparameters
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for opj_dparameters
[src]
Auto Trait Implementations
impl Unpin for opj_dparameters
impl Send for opj_dparameters
impl Sync for opj_dparameters
impl RefUnwindSafe for opj_dparameters
impl UnwindSafe for opj_dparameters
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,