OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_codestream_local.h>
Public Member Functions | |
void | finalize_alloc (codestream *codestream, subband *parent, const size &nominal, const size &cb_size, coded_cb_header *coded_cb, ui32 K_max, int tbx0) |
void | push (line_buf *line) |
void | encode (mem_elastic_allocator *elastic) |
void | recreate (const size &cb_size, coded_cb_header *coded_cb) |
void | decode () |
void | pull_line (line_buf *line) |
Static Public Member Functions | |
static void | pre_alloc (codestream *codestream, const size &nominal) |
Private Attributes | |
ui32 * | buf |
size | nominal_size |
size | cb_size |
ui32 | stride |
ui32 | buf_size |
subband * | parent |
int | line_offset |
ui32 | cur_line |
ui32 | K_max |
int | max_val |
bool | resilient |
bool | stripe_causal |
coded_cb_header * | coded_cb |
Friends | |
struct | precinct |
Definition at line 356 of file ojph_codestream_local.h.
void ojph::local::codeblock::decode | ( | ) |
Definition at line 4029 of file ojph_codestream.cpp.
References buf, ojph::coded_lists::buf, cb_size, coded_cb, ojph::size::h, ojph::local::coded_cb_header::missing_msbs, ojph::local::coded_cb_header::next_coded, ojph::local::coded_cb_header::num_passes, ojph::local::ojph_decode_codeblock(), OJPH_ERROR, ojph::local::coded_cb_header::pass_length, ojph::local::coded_cb_header::prefix_buf_size, resilient, stride, stripe_causal, and ojph::size::w.
Referenced by ojph::local::subband::pull_line().
void ojph::local::codeblock::encode | ( | mem_elastic_allocator * | elastic | ) |
Definition at line 4003 of file ojph_codestream.cpp.
References buf, cb_size, coded_cb, ojph::size::h, K_max, max_val, ojph::local::coded_cb_header::missing_msbs, ojph::local::coded_cb_header::next_coded, ojph::local::coded_cb_header::num_passes, ojph::local::ojph_encode_codeblock(), ojph::local::coded_cb_header::pass_length, stride, and ojph::size::w.
void ojph::local::codeblock::finalize_alloc | ( | codestream * | codestream, |
subband * | parent, | ||
const size & | nominal, | ||
const size & | cb_size, | ||
coded_cb_header * | coded_cb, | ||
ui32 | K_max, | ||
int | tbx0 | ||
) |
Definition at line 3959 of file ojph_codestream.cpp.
References ojph::local::codestream::access_cod(), buf, buf_size, cb_size, coded_cb, cur_line, ojph::local::codestream::get_allocator(), ojph::param_cod::get_block_vertical_causality(), ojph::size::h, ojph::local::codestream::is_resilient(), K_max, line_offset, max_val, nominal_size, parent, ojph::mem_fixed_allocator::post_alloc_data(), resilient, stride, stripe_causal, and ojph::size::w.
Referenced by ojph::local::subband::finalize_alloc().
|
static |
Definition at line 3949 of file ojph_codestream.cpp.
References ojph::local::codestream::get_allocator(), ojph::size::h, ojph::mem_fixed_allocator::pre_alloc_data(), stride, and ojph::size::w.
Referenced by ojph::local::subband::pre_alloc().
void ojph::local::codeblock::pull_line | ( | line_buf * | line | ) |
Definition at line 4054 of file ojph_codestream.cpp.
References buf, cb_size, cur_line, ojph::size::h, ojph::line_buf::i32, line_offset, stride, and ojph::size::w.
void ojph::local::codeblock::push | ( | line_buf * | line | ) |
Definition at line 3985 of file ojph_codestream.cpp.
References buf, cb_size, cur_line, ojph::line_buf::i32, line_offset, max_val, ojph_max, stride, and ojph::size::w.
void ojph::local::codeblock::recreate | ( | const size & | cb_size, |
coded_cb_header * | coded_cb | ||
) |
Definition at line 4019 of file ojph_codestream.cpp.
References buf_size, cb_size, coded_cb, cur_line, ojph::size::h, max_val, stride, and ojph::size::w.
Referenced by ojph::local::subband::pull_line(), and ojph::local::subband::push_line().
|
friend |
Definition at line 358 of file ojph_codestream_local.h.
|
private |
Definition at line 373 of file ojph_codestream_local.h.
Referenced by decode(), encode(), finalize_alloc(), pull_line(), and push().
|
private |
Definition at line 377 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), and recreate().
|
private |
Definition at line 375 of file ojph_codestream_local.h.
Referenced by decode(), encode(), finalize_alloc(), pull_line(), push(), and recreate().
|
private |
Definition at line 385 of file ojph_codestream_local.h.
Referenced by decode(), encode(), finalize_alloc(), and recreate().
|
private |
Definition at line 380 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), push(), and recreate().
|
private |
Definition at line 381 of file ojph_codestream_local.h.
Referenced by encode(), and finalize_alloc().
|
private |
Definition at line 379 of file ojph_codestream_local.h.
Referenced by finalize_alloc(), pull_line(), and push().
|
private |
Definition at line 382 of file ojph_codestream_local.h.
Referenced by encode(), finalize_alloc(), push(), and recreate().
|
private |
Definition at line 374 of file ojph_codestream_local.h.
Referenced by finalize_alloc().
|
private |
Definition at line 378 of file ojph_codestream_local.h.
Referenced by finalize_alloc().
|
private |
Definition at line 383 of file ojph_codestream_local.h.
Referenced by decode(), and finalize_alloc().
|
private |
Definition at line 376 of file ojph_codestream_local.h.
Referenced by decode(), encode(), finalize_alloc(), pre_alloc(), pull_line(), push(), and recreate().
|
private |
Definition at line 384 of file ojph_codestream_local.h.
Referenced by decode(), and finalize_alloc().