Grok
7.6.6
|
Coding parameters. More...
#include <CodingParams.h>
Public Member Functions | |
grk_rect_u32 | getTileBounds (const GrkImage *p_image, uint32_t tile_x, uint32_t tile_y) const |
void | destroy () |
Public Attributes | |
uint16_t | rsiz |
Rsiz. More... | |
uint32_t | pcap |
uint16_t | ccap [32] |
uint32_t | tx0 |
XTOsiz. More... | |
uint32_t | ty0 |
YTOsiz. More... | |
uint32_t | t_width |
XTsiz. More... | |
uint32_t | t_height |
YTsiz. More... | |
size_t | num_comments |
comments More... | |
char * | comment [GRK_NUM_COMMENTS_SUPPORTED] |
uint16_t | comment_len [GRK_NUM_COMMENTS_SUPPORTED] |
bool | isBinaryComment [GRK_NUM_COMMENTS_SUPPORTED] |
uint32_t | t_grid_width |
number of tiles in width More... | |
uint32_t | t_grid_height |
number of tiles in height More... | |
PPMMarker * | ppm_marker |
TileCodingParams * | tcps |
tile coding parameters More... | |
union { | |
DecodingParams m_dec | |
EncodingParams m_enc | |
} | m_coding_params |
TileLengthMarkers * | tlm_markers |
PacketLengthMarkers * | plm_markers |
Coding parameters.
void grk::CodingParams::destroy | ( | ) |
References comment, grk::TileCodingParams::destroy(), num_comments, plm_markers, ppm_marker, t_grid_height, t_grid_width, tcps, and tlm_markers.
Referenced by grk::CodeStream::~CodeStream().
grk_rect_u32 grk::CodingParams::getTileBounds | ( | const GrkImage * | p_image, |
uint32_t | tile_x, | ||
uint32_t | tile_y | ||
) | const |
References t_height, t_width, tx0, ty0, _grk_image::x0, grk::grk_rectangle< T >::x0, _grk_image::x1, grk::grk_rectangle< T >::x1, _grk_image::y0, grk::grk_rectangle< T >::y0, _grk_image::y1, and grk::grk_rectangle< T >::y1.
Referenced by grk::TileProcessor::init(), grk::pi_get_encoding_params(), and grk::pi_update_encoding_parameters().
uint16_t grk::CodingParams::ccap[32] |
Referenced by grk::j2k_read_cap().
char* grk::CodingParams::comment[GRK_NUM_COMMENTS_SUPPORTED] |
Referenced by destroy(), grk::j2k_read_com(), grk::j2k_write_com(), and grk::CodeStream::read_header().
uint16_t grk::CodingParams::comment_len[GRK_NUM_COMMENTS_SUPPORTED] |
Referenced by grk::j2k_read_com(), grk::j2k_write_com(), and grk::CodeStream::read_header().
bool grk::CodingParams::isBinaryComment[GRK_NUM_COMMENTS_SUPPORTED] |
Referenced by grk::j2k_read_com(), grk::j2k_write_com(), and grk::CodeStream::read_header().
union { ... } grk::CodingParams::m_coding_params |
Referenced by grk::GrkImage::compositeFrom(), grk::grk_update_image_comp_header_from_coding_params(), grk::TileComponent::init(), grk::CodeStream::init_decompress(), grk::j2k_get_num_tp(), grk::TileProcessor::layer_needs_rate_control(), grk::TileProcessor::pcrd_bisect_feasible(), grk::TileProcessor::pcrd_bisect_simple(), grk::pi_create_compress(), grk::pi_enable_tile_part_generation(), grk::TileProcessor::pre_compress_first_tile_part(), grk::TileProcessor::rate_allocate(), and grk::TileProcessor::TileProcessor().
DecodingParams grk::CodingParams::m_dec |
EncodingParams grk::CodingParams::m_enc |
Referenced by grk::j2k_get_num_tp(), grk::TileProcessor::layer_needs_rate_control(), grk::TileProcessor::pcrd_bisect_feasible(), grk::TileProcessor::pcrd_bisect_simple(), grk::pi_create_compress(), grk::pi_enable_tile_part_generation(), grk::TileProcessor::pre_compress_first_tile_part(), grk::TileProcessor::rate_allocate(), and grk::TileProcessor::TileProcessor().
size_t grk::CodingParams::num_comments |
comments
Referenced by destroy(), grk::j2k_read_com(), grk::j2k_write_com(), and grk::CodeStream::read_header().
uint32_t grk::CodingParams::pcap |
Referenced by grk::j2k_read_cap(), and grk::j2k_read_SPCod_SPCoc().
PacketLengthMarkers* grk::CodingParams::plm_markers |
Referenced by destroy(), and grk::j2k_read_plm().
PPMMarker* grk::CodingParams::ppm_marker |
Referenced by destroy(), grk::j2k_merge_ppm(), and grk::j2k_read_ppm().
uint16_t grk::CodingParams::rsiz |
Rsiz.
Referenced by grk::pi_create_compress(), grk::pi_enable_tile_part_generation(), and grk::CodeStream::read_header().
uint32_t grk::CodingParams::t_grid_height |
number of tiles in height
Referenced by grk::CodeStream::decompress_tiles(), destroy(), grk::grk_update_image_comp_header_from_coding_params(), grk::j2k_allocate_tile_element_cstr_index(), grk::j2k_calculate_tp(), grk::j2k_dump(), grk::j2k_dump_MH_info(), grk::j2k_get_cstr_info(), grk::j2k_get_num_tp(), grk::pi_create(), grk::pi_create_compress(), grk::pi_create_decompress(), grk::pi_get_encoding_params(), grk::pi_update_compress(), grk::pi_update_encoding_parameters(), grk::TileProcessor::pre_write_tile(), and grk::CodeStream::read_header().
uint32_t grk::CodingParams::t_grid_width |
number of tiles in width
Referenced by grk::CodeStream::decompress_tiles(), destroy(), grk::grk_update_image_comp_header_from_coding_params(), grk::TileProcessor::init(), grk::j2k_allocate_tile_element_cstr_index(), grk::j2k_calculate_tp(), grk::j2k_dump(), grk::j2k_dump_MH_info(), grk::j2k_get_cstr_info(), grk::j2k_get_num_tp(), grk::pi_get_encoding_params(), grk::pi_update_encoding_parameters(), grk::TileProcessor::pre_write_tile(), and grk::CodeStream::read_header().
uint32_t grk::CodingParams::t_height |
uint32_t grk::CodingParams::t_width |
TileCodingParams* grk::CodingParams::tcps |
tile coding parameters
Referenced by grk::TileProcessor::decompress_tile_t2(), destroy(), grk::TileProcessor::do_compress(), grk::TileProcessor::init(), grk::j2k_calculate_tp(), grk::j2k_dump(), grk::j2k_get_num_tp(), grk::j2k_write_mco(), grk::j2k_write_mct_data_group(), grk::j2k_write_poc(), grk::j2k_write_regions(), grk::pi_check_next_for_valid_progression(), grk::pi_create(), grk::pi_create_compress(), grk::pi_create_decompress(), grk::pi_enable_tile_part_generation(), grk::pi_get_encoding_params(), grk::pi_update_compress(), grk::pi_update_encoding_parameters(), grk::TileProcessor::pre_write_tile(), and grk::SOTMarker::write().
TileLengthMarkers* grk::CodingParams::tlm_markers |
Referenced by destroy(), grk::j2k_read_tlm(), grk::j2k_update_tlm(), grk::j2k_write_tlm_begin(), and grk::j2k_write_tlm_end().
uint32_t grk::CodingParams::tx0 |
uint32_t grk::CodingParams::ty0 |