Struct grokj2k_sys::_grk_header_info[][src]

#[repr(C)]
pub struct _grk_header_info {
Show fields pub cblockw_init: u32, pub cblockh_init: u32, pub irreversible: bool, pub mct: u32, pub rsiz: u16, pub numresolutions: u32, pub csty: u8, pub cblk_sty: u8, pub prcw_init: [u32; 33], pub prch_init: [u32; 33], pub tx0: u32, pub ty0: u32, pub t_width: u32, pub t_height: u32, pub t_grid_width: u32, pub t_grid_height: u32, pub numlayers: u16, pub xml_data: *mut u8, pub xml_data_len: usize, pub num_comments: usize, pub comment: [*mut c_char; 256], pub comment_len: [u16; 256], pub isBinaryComment: [bool; 256], pub asocs: [grk_asoc; 256], pub num_asocs: u32,
}
Expand description

Header info

Fields

cblockw_init: u32

initial code block width, default to 64

cblockh_init: u32

initial code block height, default to 64

irreversible: bool

1 : use the irreversible DWT 9-7, 0 : use lossless compression (default)

mct: u32

multi-component transform identifier

rsiz: u16

RSIZ value To be used to combine GRK_PROFILE_, GRK_EXTENSION_ and (sub)levels values.

numresolutions: u32

number of resolutions

csty: u8cblk_sty: u8prcw_init: [u32; 33]

initial precinct width

prch_init: [u32; 33]

initial precinct height

tx0: u32

XTOsiz

ty0: u32

YTOsiz

t_width: u32

XTsiz

t_height: u32

YTsiz

t_grid_width: u32

tile grid width

t_grid_height: u32

tile grid height

numlayers: u16

number of layers

xml_data: *mut u8xml_data_len: usizenum_comments: usizecomment: [*mut c_char; 256]comment_len: [u16; 256]isBinaryComment: [bool; 256]asocs: [grk_asoc; 256]num_asocs: 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.