|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_subband.h>
Public Member Functions | |
| subband () | |
| void | finalize_alloc (codestream *codestream, const rect &band_rect, resolution *res, ui32 res_num, ui32 subband_num) |
| void | exchange_buf (line_buf *l) |
| line_buf * | get_line () |
| void | push_line () |
| void | get_cb_indices (const size &num_precincts, precinct *precincts) |
| float | get_delta () |
| bool | exists () |
| line_buf * | pull_line () |
| resolution * | get_parent () |
| const resolution * | get_parent () const |
Static Public Member Functions | |
| static void | pre_alloc (codestream *codestream, const rect &band_rect, ui32 comp_num, ui32 res_num, ui32 transform_flags) |
Private Attributes | |
| bool | empty |
| ui32 | res_num |
| ui32 | band_num |
| bool | reversible |
| rect | band_rect |
| line_buf * | lines |
| resolution * | parent |
| codeblock * | blocks |
| size | num_blocks |
| size | log_PP |
| ui32 | xcb_prime |
| ui32 | ycb_prime |
| ui32 | cur_cb_row |
| int | cur_line |
| int | cur_cb_height |
| float | delta |
| float | delta_inv |
| ui32 | K_max |
| coded_cb_header * | coded_cbs |
| mem_elastic_allocator * | elastic |
Friends | |
| struct | precinct |
Definition at line 62 of file ojph_subband.h.
|
inline |
Definition at line 66 of file ojph_subband.h.
References band_num, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, delta, delta_inv, elastic, empty, K_max, lines, parent, res_num, reversible, xcb_prime, and ycb_prime.
| void ojph::local::subband::exchange_buf | ( | line_buf * | l | ) |
Definition at line 278 of file ojph_subband.cpp.
References empty, ojph::line_buf::flags, lines, ojph::line_buf::p, ojph::line_buf::pre_size, and ojph::line_buf::size.
|
inline |
Definition at line 94 of file ojph_subband.h.
References empty.
| void ojph::local::subband::finalize_alloc | ( | codestream * | codestream, |
| const rect & | band_rect, | ||
| resolution * | res, | ||
| ui32 | res_num, | ||
| ui32 | subband_num ) |
Definition at line 117 of file ojph_subband.cpp.
References ojph::local::param_cod::access_atk(), ojph::local::codestream::access_dfs(), ojph::local::codestream::access_qcd(), band_num, band_rect, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, delta, delta_inv, elastic, empty, ojph::local::codestream::get_allocator(), ojph::local::codestream::get_coc(), ojph::local::param_dfs::get_dfs(), ojph::local::param_cod::get_dfs_index(), ojph::local::codestream::get_elastic_alloc(), ojph::local::param_qcd::get_irrev_delta(), ojph::local::param_qcd::get_Kmax(), ojph::local::param_cod::get_log_block_dims(), ojph::local::param_cod::get_log_precinct_size(), ojph::local::param_cod::get_num_decompositions(), ojph::local::param_qcd::get_qcc(), ojph::size::h, ojph::local::param_cod::is_dfs_defined(), ojph::local::param_atk::is_reversible(), K_max, lines, log_PP, num_blocks, ojph_max, ojph_min, parent, ojph::mem_fixed_allocator::post_alloc_data(), ojph::mem_fixed_allocator::post_alloc_obj(), ojph::local::param_qcd::propose_precision(), res_num, reversible, ojph::size::w, xcb_prime, and ycb_prime.
Definition at line 223 of file ojph_subband.cpp.
References band_num, ojph::local::precinct::cb_idxs, empty, ojph::size::h, log_PP, num_blocks, ojph_max, ojph_min, ojph::rect::org, parent, precinct, ojph::rect::siz, ojph::size::w, ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
|
inline |
Definition at line 93 of file ojph_subband.h.
References delta.
|
inline |
Definition at line 89 of file ojph_subband.h.
References lines.
|
inline |
Definition at line 97 of file ojph_subband.h.
References parent.
|
inline |
Definition at line 98 of file ojph_subband.h.
References parent.
|
static |
Definition at line 57 of file ojph_subband.cpp.
References ojph::local::param_cod::access_atk(), ojph::local::codestream::access_qcd(), band_rect, empty, ojph::local::codestream::get_allocator(), ojph::local::codestream::get_coc(), ojph::local::param_cod::get_log_block_dims(), ojph::local::param_cod::get_log_precinct_size(), ojph::local::param_qcd::get_qcc(), ojph::size::h, ojph::local::resolution::HORZ_TRX, ojph::local::param_atk::is_reversible(), log_PP, num_blocks, ojph_min, ojph::local::codeblock::pre_alloc(), ojph::mem_fixed_allocator::pre_alloc_data(), ojph::mem_fixed_allocator::pre_alloc_obj(), ojph::local::param_qcd::propose_precision(), res_num, reversible, ojph::local::resolution::VERT_TRX, ojph::size::w, xcb_prime, and ycb_prime.
Referenced by ojph::local::resolution::pre_alloc().
| line_buf * ojph::local::subband::pull_line | ( | ) |
Definition at line 335 of file ojph_subband.cpp.
References band_rect, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, empty, ojph::size::h, lines, num_blocks, ojph_max, ojph_min, pull_line(), ojph::size::w, xcb_prime, and ycb_prime.
Referenced by pull_line().
| void ojph::local::subband::push_line | ( | ) |
Definition at line 291 of file ojph_subband.cpp.
References band_rect, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, elastic, empty, ojph::size::h, lines, num_blocks, ojph_max, ojph_min, ojph::size::w, xcb_prime, and ycb_prime.
|
friend |
Definition at line 64 of file ojph_subband.h.
References precinct.
Referenced by get_cb_indices(), and precinct.
|
private |
Definition at line 103 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), and subband().
|
private |
Definition at line 105 of file ojph_subband.h.
Referenced by finalize_alloc(), pre_alloc(), pull_line(), and push_line().
|
private |
Definition at line 108 of file ojph_subband.h.
Referenced by finalize_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 117 of file ojph_subband.h.
Referenced by finalize_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 114 of file ojph_subband.h.
Referenced by finalize_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 112 of file ojph_subband.h.
Referenced by finalize_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 113 of file ojph_subband.h.
Referenced by finalize_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 115 of file ojph_subband.h.
Referenced by finalize_alloc(), get_delta(), and subband().
|
private |
Definition at line 115 of file ojph_subband.h.
Referenced by finalize_alloc(), and subband().
|
private |
Definition at line 118 of file ojph_subband.h.
Referenced by finalize_alloc(), push_line(), and subband().
|
private |
Definition at line 101 of file ojph_subband.h.
Referenced by exchange_buf(), exists(), finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 116 of file ojph_subband.h.
Referenced by finalize_alloc(), and subband().
|
private |
Definition at line 106 of file ojph_subband.h.
Referenced by exchange_buf(), finalize_alloc(), get_line(), pull_line(), push_line(), and subband().
|
private |
Definition at line 110 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), and pre_alloc().
|
private |
Definition at line 109 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), and push_line().
|
private |
Definition at line 107 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), get_parent(), get_parent(), and subband().
|
private |
Definition at line 103 of file ojph_subband.h.
Referenced by finalize_alloc(), pre_alloc(), and subband().
|
private |
Definition at line 104 of file ojph_subband.h.
Referenced by finalize_alloc(), pre_alloc(), and subband().
|
private |
Definition at line 111 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), push_line(), and subband().
|
private |
Definition at line 111 of file ojph_subband.h.
Referenced by finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), push_line(), and subband().