Struct grokj2k_sys::_grk_decompress_params[][src]

#[repr(C)]
pub struct _grk_decompress_params {
Show fields pub core: grk_dparameters, pub infile: [c_char; 4096], pub outfile: [c_char; 4096], pub decod_format: GRK_SUPPORTED_FILE_FMT, pub cod_format: GRK_SUPPORTED_FILE_FMT, pub indexfilename: [c_char; 4096], pub DA_x0: u32, pub DA_x1: u32, pub DA_y0: u32, pub DA_y1: u32, pub m_verbose: bool, pub tileIndex: u16, pub nb_tile_to_decompress: u32, pub precision: *mut grk_precision, pub nb_precision: u32, pub force_rgb: bool, pub upsample: bool, pub split_pnm: bool, pub serialize_xml: bool, pub compression: u32, pub compressionLevel: u32, pub deviceId: i32, pub duration: u32, pub kernelBuildOptions: u32, pub repeats: u32, pub verbose: bool, pub numThreads: u32,
}
Expand description

Decompress parameters

Fields

core: grk_dparameters

core library parameters

infile: [c_char; 4096]

input file name

outfile: [c_char; 4096]

output file name

decod_format: GRK_SUPPORTED_FILE_FMT

input file format 0: J2K, 1: JP2

cod_format: GRK_SUPPORTED_FILE_FMT

output file format 0: PGX, 1: PxM, 2: BMP

indexfilename: [c_char; 4096]

index file name

DA_x0: u32

Decompress window left boundary

DA_x1: u32

Decompress window right boundary

DA_y0: u32

Decompress window up boundary

DA_y1: u32

Decompress window bottom boundary

m_verbose: bool

Verbose mode

tileIndex: u16

tile number of the decompressed tile

nb_tile_to_decompress: u32

Number of tiles to decompress

precision: *mut grk_precisionnb_precision: u32force_rgb: boolupsample: boolsplit_pnm: boolserialize_xml: boolcompression: u32compressionLevel: u32deviceId: i32duration: u32kernelBuildOptions: u32repeats: u32verbose: boolnumThreads: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.