OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_codestream_local.h>
Public Member Functions | |
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 () |
line_buf * | pull_line () |
Static Public Member Functions | |
static void | pre_alloc (codestream *codestream, const rect &band_rect, ui32 res_num) |
Friends | |
struct | precinct |
Definition at line 323 of file ojph_codestream_local.h.
Definition at line 3786 of file ojph_codestream.cpp.
References empty, ojph::line_buf::i32, lines, ojph::line_buf::pre_size, and ojph::line_buf::size.
Referenced by ojph::local::resolution::push_line().
void ojph::local::subband::finalize_alloc | ( | codestream * | codestream, |
const rect & | band_rect, | ||
resolution * | res, | ||
ui32 | res_num, | ||
ui32 | subband_num | ||
) |
Definition at line 3649 of file ojph_codestream.cpp.
References ojph::local::codestream::access_qcd(), ojph::size::area(), band_num, band_rect, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, delta, delta_inv, elastic, empty, ojph::local::codeblock::finalize_alloc(), ojph::local::codestream::get_allocator(), ojph::local::codestream::get_cod(), ojph::local::resolution::get_comp_num(), ojph::local::codestream::get_elastic_alloc(), ojph::local::param_qcd::get_Kmax(), ojph::local::param_cod::get_log_block_dims(), ojph::local::param_cod::get_log_precinct_size(), ojph::size::h, ojph::local::param_qcd::irrev_get_delta(), ojph::local::param_cod::is_reversible(), K_max, lines, log_PP, num_blocks, ojph_max, ojph_min, ojph::rect::org, parent, ojph::mem_fixed_allocator::post_alloc_data(), ojph::mem_fixed_allocator::post_alloc_obj(), res_num, reversible, ojph::rect::siz, ojph::size::w, ojph::line_buf::wrap(), ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
Referenced by ojph::local::resolution::finalize_alloc().
Definition at line 3733 of file ojph_codestream.cpp.
References band_num, ojph::local::precinct::cb_idxs, empty, ojph::local::resolution::get_rect(), ojph::size::h, log_PP, num_blocks, ojph_max, ojph_min, ojph::rect::org, parent, ojph::rect::siz, ojph::size::w, ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
Referenced by ojph::local::resolution::finalize_alloc().
|
inline |
Definition at line 337 of file ojph_codestream_local.h.
References delta.
Referenced by ojph::local::codeblock::finalize_alloc().
|
inline |
Definition at line 333 of file ojph_codestream_local.h.
References lines.
Referenced by ojph::local::resolution::push_line().
|
static |
Definition at line 3605 of file ojph_codestream.cpp.
References ojph::size::area(), band_rect, empty, ojph::local::codestream::get_allocator(), ojph::local::codestream::get_cod(), ojph::local::param_cod::get_log_block_dims(), ojph::local::param_cod::get_log_precinct_size(), ojph::size::h, log_PP, num_blocks, ojph_min, ojph::rect::org, ojph::local::codeblock::pre_alloc(), ojph::mem_fixed_allocator::pre_alloc_data(), ojph::mem_fixed_allocator::pre_alloc_obj(), res_num, ojph::rect::siz, ojph::size::w, ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
Referenced by ojph::local::resolution::pre_alloc().
line_buf * ojph::local::subband::pull_line | ( | ) |
Definition at line 3842 of file ojph_codestream.cpp.
References band_rect, blocks, coded_cbs, cur_cb_height, cur_cb_row, cur_line, ojph::local::codeblock::decode(), empty, ojph::size::h, lines, num_blocks, ojph_max, ojph_min, ojph::rect::org, pull_line(), ojph::local::codeblock::recreate(), ojph::rect::siz, ojph::size::w, ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
Referenced by ojph::local::resolution::pull_line(), and pull_line().
void ojph::local::subband::push_line | ( | ) |
Definition at line 3798 of file ojph_codestream.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::rect::org, ojph::local::codeblock::recreate(), ojph::rect::siz, ojph::size::w, ojph::point::x, xcb_prime, ojph::point::y, and ycb_prime.
Referenced by ojph::local::resolution::push_line().
Definition at line 325 of file ojph_codestream_local.h.
|
private |
Definition at line 342 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and get_cb_indices().
|
private |
Definition at line 345 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pre_alloc(), pull_line(), and push_line().
|
private |
Definition at line 348 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), and push_line().
|
private |
Definition at line 357 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), ojph::local::precinct::parse(), ojph::local::precinct::prepare_precinct(), pull_line(), push_line(), and ojph::local::precinct::write().
|
private |
Definition at line 354 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), and push_line().
|
private |
Definition at line 352 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), and push_line().
|
private |
Definition at line 353 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), and push_line().
|
private |
Definition at line 355 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and get_delta().
|
private |
Definition at line 355 of file ojph_codestream_local.h.
Referenced by finalize_alloc().
|
private |
Definition at line 358 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and push_line().
|
private |
Definition at line 344 of file ojph_codestream_local.h.
Referenced by exchange_buf(), finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), and push_line().
|
private |
Definition at line 356 of file ojph_codestream_local.h.
Referenced by finalize_alloc().
|
private |
Definition at line 346 of file ojph_codestream_local.h.
Referenced by exchange_buf(), finalize_alloc(), get_line(), pull_line(), and push_line().
|
private |
Definition at line 350 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), get_cb_indices(), and pre_alloc().
|
private |
Definition at line 349 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), get_cb_indices(), ojph::local::precinct::parse(), pre_alloc(), ojph::local::precinct::prepare_precinct(), pull_line(), push_line(), and ojph::local::precinct::write().
|
private |
Definition at line 347 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and get_cb_indices().
|
private |
Definition at line 342 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and pre_alloc().
|
private |
Definition at line 343 of file ojph_codestream_local.h.
Referenced by finalize_alloc().
|
private |
Definition at line 351 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), and push_line().
|
private |
Definition at line 351 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), get_cb_indices(), pre_alloc(), pull_line(), and push_line().