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

#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

ui32buf
 
size nominal_size
 
size cb_size
 
ui32 stride
 
ui32 buf_size
 
subbandparent
 
int line_offset
 
ui32 cur_line
 
ui32 K_max
 
int max_val
 
bool resilient
 
bool stripe_causal
 
coded_cb_headercoded_cb
 

Friends

struct precinct
 

Detailed Description

Definition at line 356 of file ojph_codestream_local.h.

Member Function Documentation

◆ decode()

◆ encode()

◆ finalize_alloc()

◆ pre_alloc()

void ojph::local::codeblock::pre_alloc ( codestream codestream,
const size nominal 
)
static

◆ pull_line()

void ojph::local::codeblock::pull_line ( line_buf line)

◆ push()

void ojph::local::codeblock::push ( line_buf line)

◆ recreate()

void ojph::local::codeblock::recreate ( const size cb_size,
coded_cb_header coded_cb 
)

Friends And Related Function Documentation

◆ precinct

friend struct precinct
friend

Definition at line 358 of file ojph_codestream_local.h.

Member Data Documentation

◆ buf

ui32* ojph::local::codeblock::buf
private

Definition at line 373 of file ojph_codestream_local.h.

Referenced by decode(), encode(), finalize_alloc(), pull_line(), and push().

◆ buf_size

ui32 ojph::local::codeblock::buf_size
private

Definition at line 377 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and recreate().

◆ cb_size

size ojph::local::codeblock::cb_size
private

Definition at line 375 of file ojph_codestream_local.h.

Referenced by decode(), encode(), finalize_alloc(), pull_line(), push(), and recreate().

◆ coded_cb

coded_cb_header* ojph::local::codeblock::coded_cb
private

Definition at line 385 of file ojph_codestream_local.h.

Referenced by decode(), encode(), finalize_alloc(), and recreate().

◆ cur_line

ui32 ojph::local::codeblock::cur_line
private

Definition at line 380 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), pull_line(), push(), and recreate().

◆ K_max

ui32 ojph::local::codeblock::K_max
private

Definition at line 381 of file ojph_codestream_local.h.

Referenced by encode(), and finalize_alloc().

◆ line_offset

int ojph::local::codeblock::line_offset
private

Definition at line 379 of file ojph_codestream_local.h.

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

◆ max_val

int ojph::local::codeblock::max_val
private

Definition at line 382 of file ojph_codestream_local.h.

Referenced by encode(), finalize_alloc(), push(), and recreate().

◆ nominal_size

size ojph::local::codeblock::nominal_size
private

Definition at line 374 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ parent

subband* ojph::local::codeblock::parent
private

Definition at line 378 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ resilient

bool ojph::local::codeblock::resilient
private

Definition at line 383 of file ojph_codestream_local.h.

Referenced by decode(), and finalize_alloc().

◆ stride

ui32 ojph::local::codeblock::stride
private

◆ stripe_causal

bool ojph::local::codeblock::stripe_causal
private

Definition at line 384 of file ojph_codestream_local.h.

Referenced by decode(), and finalize_alloc().


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