Grok 15.1.0
_grk_cparameters Struct Reference

#include <grok.h>

Public Attributes

bool tile_size_on
uint32_t tx0
uint32_t ty0
uint32_t t_width
uint32_t t_height
uint16_t numlayers
bool allocation_by_rate_distortion
 rate control allocation by rate/distortion curve
double layer_rate [GRK_MAX_LAYERS]
 layers rates expressed as compression ratios.
bool allocation_by_quality
double layer_distortion [GRK_MAX_LAYERS]
char * comment [GRK_NUM_COMMENTS_SUPPORTED]
uint16_t comment_len [GRK_NUM_COMMENTS_SUPPORTED]
bool is_binary_comment [GRK_NUM_COMMENTS_SUPPORTED]
size_t num_comments
uint8_t csty
uint8_t numgbits
GRK_PROG_ORDER prog_order
grk_progression progression [GRK_MAXRLVLS]
uint32_t numpocs
uint8_t numresolution
uint32_t cblockw_init
uint32_t cblockh_init
uint8_t cblk_sty
bool irreversible
int32_t roi_compno
 region of interest: affected component in [0..3]; -1 indicates no ROI
uint32_t roi_shift
uint32_t res_spec
uint32_t prcw_init [GRK_MAXRLVLS]
uint32_t prch_init [GRK_MAXRLVLS]
char infile [GRK_PATH_LEN]
char outfile [GRK_PATH_LEN]
uint32_t image_offset_x0
uint32_t image_offset_y0
uint8_t subsampling_dx
uint8_t subsampling_dy
GRK_SUPPORTED_FILE_FMT decod_format
GRK_SUPPORTED_FILE_FMT cod_format
grk_raw_cparameters raw_cp
bool enable_tile_part_generation
uint8_t new_tile_part_progression_divider
uint8_t mct
void * mct_data
 Naive implementation of MCT restricted to a single reversible array based compressing without offset concerning all the components.
uint64_t max_cs_size
 Maximum size (in bytes) for the whole code stream.
uint64_t max_comp_size
 Maximum size (in bytes) for each component.
uint16_t rsiz
 RSIZ value To be used to combine GRK_PROFILE_*, GRK_EXTENSION_* and (sub)levels values.
uint16_t framerate
bool write_capture_resolution_from_file
double capture_resolution_from_file [2]
bool write_capture_resolution
double capture_resolution [2]
bool write_display_resolution
double display_resolution [2]
bool apply_icc
GRK_RATE_CONTROL_ALGORITHM rate_control_algorithm
uint32_t num_threads
int32_t device_id
uint32_t duration
uint32_t kernel_build_options
uint32_t repeats
bool write_plt
bool write_tlm
bool verbose
bool shared_memory_interface
grk_synthesis synth

Member Data Documentation

◆ allocation_by_quality

bool _grk_cparameters::allocation_by_quality

◆ allocation_by_rate_distortion

bool _grk_cparameters::allocation_by_rate_distortion

rate control allocation by rate/distortion curve

◆ apply_icc

bool _grk_cparameters::apply_icc

◆ capture_resolution

double _grk_cparameters::capture_resolution[2]

◆ capture_resolution_from_file

double _grk_cparameters::capture_resolution_from_file[2]

◆ cblk_sty

uint8_t _grk_cparameters::cblk_sty

◆ cblockh_init

uint32_t _grk_cparameters::cblockh_init

◆ cblockw_init

uint32_t _grk_cparameters::cblockw_init

◆ cod_format

GRK_SUPPORTED_FILE_FMT _grk_cparameters::cod_format

◆ comment

char* _grk_cparameters::comment[GRK_NUM_COMMENTS_SUPPORTED]

◆ comment_len

uint16_t _grk_cparameters::comment_len[GRK_NUM_COMMENTS_SUPPORTED]

◆ csty

uint8_t _grk_cparameters::csty

◆ decod_format

GRK_SUPPORTED_FILE_FMT _grk_cparameters::decod_format

◆ device_id

int32_t _grk_cparameters::device_id

◆ display_resolution

double _grk_cparameters::display_resolution[2]

◆ duration

uint32_t _grk_cparameters::duration

◆ enable_tile_part_generation

bool _grk_cparameters::enable_tile_part_generation

◆ framerate

uint16_t _grk_cparameters::framerate

◆ image_offset_x0

uint32_t _grk_cparameters::image_offset_x0

◆ image_offset_y0

uint32_t _grk_cparameters::image_offset_y0

◆ infile

char _grk_cparameters::infile[GRK_PATH_LEN]

◆ irreversible

bool _grk_cparameters::irreversible

◆ is_binary_comment

bool _grk_cparameters::is_binary_comment[GRK_NUM_COMMENTS_SUPPORTED]

◆ kernel_build_options

uint32_t _grk_cparameters::kernel_build_options

◆ layer_distortion

double _grk_cparameters::layer_distortion[GRK_MAX_LAYERS]

◆ layer_rate

double _grk_cparameters::layer_rate[GRK_MAX_LAYERS]

layers rates expressed as compression ratios.

They might be subsequently limited by the max_cs_size field

◆ max_comp_size

uint64_t _grk_cparameters::max_comp_size

Maximum size (in bytes) for each component.

If == 0, component size limitation is not considered

◆ max_cs_size

uint64_t _grk_cparameters::max_cs_size

Maximum size (in bytes) for the whole code stream.

If equal to zero, code stream size limitation is not considered If it does not comply with layer_rate, max_cs_size prevails and a warning is issued.

◆ mct

uint8_t _grk_cparameters::mct

◆ mct_data

void* _grk_cparameters::mct_data

Naive implementation of MCT restricted to a single reversible array based compressing without offset concerning all the components.

◆ new_tile_part_progression_divider

uint8_t _grk_cparameters::new_tile_part_progression_divider

◆ num_comments

size_t _grk_cparameters::num_comments

◆ num_threads

uint32_t _grk_cparameters::num_threads

◆ numgbits

uint8_t _grk_cparameters::numgbits

◆ numlayers

uint16_t _grk_cparameters::numlayers

◆ numpocs

uint32_t _grk_cparameters::numpocs

◆ numresolution

uint8_t _grk_cparameters::numresolution

◆ outfile

char _grk_cparameters::outfile[GRK_PATH_LEN]

◆ prch_init

uint32_t _grk_cparameters::prch_init[GRK_MAXRLVLS]

◆ prcw_init

uint32_t _grk_cparameters::prcw_init[GRK_MAXRLVLS]

◆ prog_order

GRK_PROG_ORDER _grk_cparameters::prog_order

◆ progression

grk_progression _grk_cparameters::progression[GRK_MAXRLVLS]

◆ rate_control_algorithm

GRK_RATE_CONTROL_ALGORITHM _grk_cparameters::rate_control_algorithm

◆ raw_cp

grk_raw_cparameters _grk_cparameters::raw_cp

◆ repeats

uint32_t _grk_cparameters::repeats

◆ res_spec

uint32_t _grk_cparameters::res_spec

◆ roi_compno

int32_t _grk_cparameters::roi_compno

region of interest: affected component in [0..3]; -1 indicates no ROI

◆ roi_shift

uint32_t _grk_cparameters::roi_shift

◆ rsiz

uint16_t _grk_cparameters::rsiz

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

◆ shared_memory_interface

bool _grk_cparameters::shared_memory_interface

◆ subsampling_dx

uint8_t _grk_cparameters::subsampling_dx

◆ subsampling_dy

uint8_t _grk_cparameters::subsampling_dy

◆ synth

grk_synthesis _grk_cparameters::synth

◆ t_height

uint32_t _grk_cparameters::t_height

◆ t_width

uint32_t _grk_cparameters::t_width

◆ tile_size_on

bool _grk_cparameters::tile_size_on

◆ tx0

uint32_t _grk_cparameters::tx0

◆ ty0

uint32_t _grk_cparameters::ty0

◆ verbose

bool _grk_cparameters::verbose

◆ write_capture_resolution

bool _grk_cparameters::write_capture_resolution

◆ write_capture_resolution_from_file

bool _grk_cparameters::write_capture_resolution_from_file

◆ write_display_resolution

bool _grk_cparameters::write_display_resolution

◆ write_plt

bool _grk_cparameters::write_plt

◆ write_tlm

bool _grk_cparameters::write_tlm

The documentation for this struct was generated from the following file: