Grok 15.1.0
_grk_decompress_core_params Struct Reference

#include <grok.h>

Public Attributes

uint8_t reduce
 Set the number of highest resolution levels to be discarded.
uint16_t layers_to_decompress
 Set the maximum number of quality layers to decompress.
uint32_t tile_cache_strategy
uint32_t disable_random_access_flags
bool skip_allocate_composite
grk_io_pixels_callback io_buffer_callback
void * io_user_data
grk_io_register_reclaim_callback io_register_client_callback

Member Data Documentation

◆ disable_random_access_flags

uint32_t _grk_decompress_core_params::disable_random_access_flags

◆ io_buffer_callback

grk_io_pixels_callback _grk_decompress_core_params::io_buffer_callback

◆ io_register_client_callback

grk_io_register_reclaim_callback _grk_decompress_core_params::io_register_client_callback

◆ io_user_data

void* _grk_decompress_core_params::io_user_data

◆ layers_to_decompress

uint16_t _grk_decompress_core_params::layers_to_decompress

Set the maximum number of quality layers to decompress.

If there are fewer quality layers than the specified number, all quality layers will be decompressed. If value is non-zero, then only these specified layers are decompressed. If value is zero or not set, then all the quality layers are decompressed

◆ reduce

uint8_t _grk_decompress_core_params::reduce

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 across tiles. If value is greater than zero, then the image is decoded to original dimension divided by 2^(reduce). If the value is equal to zero or not set, then the image is decompressed at full resolution

◆ skip_allocate_composite

bool _grk_decompress_core_params::skip_allocate_composite

◆ tile_cache_strategy

uint32_t _grk_decompress_core_params::tile_cache_strategy

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