OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph::local::subband Class Reference

#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_bufget_line ()
 
void push_line ()
 
void get_cb_indices (const size &num_precincts, precinct *precincts)
 
float get_delta ()
 
line_bufpull_line ()
 

Static Public Member Functions

static void pre_alloc (codestream *codestream, const rect &band_rect, ui32 res_num)
 

Private Attributes

ui32 res_num
 
ui32 band_num
 
bool reversible
 
bool empty
 
rect band_rect
 
line_buflines
 
resolutionparent
 
codeblockblocks
 
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_headercoded_cbs
 
mem_elastic_allocatorelastic
 

Friends

struct precinct
 

Detailed Description

Definition at line 323 of file ojph_codestream_local.h.

Member Function Documentation

◆ exchange_buf()

void ojph::local::subband::exchange_buf ( line_buf l)

◆ finalize_alloc()

◆ get_cb_indices()

◆ get_delta()

float ojph::local::subband::get_delta ( )
inline

Definition at line 337 of file ojph_codestream_local.h.

References delta.

Referenced by ojph::local::codeblock::finalize_alloc().

◆ get_line()

line_buf * ojph::local::subband::get_line ( )
inline

Definition at line 333 of file ojph_codestream_local.h.

References lines.

Referenced by ojph::local::resolution::push_line().

◆ pre_alloc()

◆ pull_line()

◆ push_line()

Friends And Related Function Documentation

◆ precinct

friend struct precinct
friend

Definition at line 325 of file ojph_codestream_local.h.

Member Data Documentation

◆ band_num

ui32 ojph::local::subband::band_num
private

Definition at line 342 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and get_cb_indices().

◆ band_rect

rect ojph::local::subband::band_rect
private

Definition at line 345 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pre_alloc(), pull_line(), and push_line().

◆ blocks

codeblock* ojph::local::subband::blocks
private

Definition at line 348 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pull_line(), and push_line().

◆ coded_cbs

◆ cur_cb_height

int ojph::local::subband::cur_cb_height
private

Definition at line 354 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pull_line(), and push_line().

◆ cur_cb_row

ui32 ojph::local::subband::cur_cb_row
private

Definition at line 352 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pull_line(), and push_line().

◆ cur_line

int ojph::local::subband::cur_line
private

Definition at line 353 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pull_line(), and push_line().

◆ delta

float ojph::local::subband::delta
private

Definition at line 355 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and get_delta().

◆ delta_inv

float ojph::local::subband::delta_inv
private

Definition at line 355 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ elastic

mem_elastic_allocator* ojph::local::subband::elastic
private

Definition at line 358 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and push_line().

◆ empty

bool ojph::local::subband::empty
private

◆ K_max

ui32 ojph::local::subband::K_max
private

Definition at line 356 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ lines

line_buf* ojph::local::subband::lines
private

Definition at line 346 of file ojph_codestream_local.h.

Referenced by exchange_buf(), finalize_alloc(), get_line(), pull_line(), and push_line().

◆ log_PP

size ojph::local::subband::log_PP
private

Definition at line 350 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), get_cb_indices(), and pre_alloc().

◆ num_blocks

◆ parent

resolution* ojph::local::subband::parent
private

Definition at line 347 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and get_cb_indices().

◆ res_num

ui32 ojph::local::subband::res_num
private

Definition at line 342 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and pre_alloc().

◆ reversible

bool ojph::local::subband::reversible
private

Definition at line 343 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ xcb_prime

ui32 ojph::local::subband::xcb_prime
private

◆ ycb_prime

ui32 ojph::local::subband::ycb_prime
private

The documentation for this class was generated from the following files: