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

#include <ojph_codestream_local.h>

Public Member Functions

void finalize_alloc (codestream *codestream, const rect &tile_rect, const rect &recon_tile_rect, ui32 tile_idx, ui32 offset)
 
bool push (line_buf *line, ui32 comp_num)
 
void prepare_for_flush ()
 
void fill_tlm (param_tlm *tlm)
 
void flush (outfile_base *file)
 
void parse_tile_header (const param_sot &sot, infile_base *file, const ui64 &tile_start_location)
 
bool pull (line_buf *, ui32 comp_num)
 
rect get_tile_rect ()
 

Static Public Member Functions

static void pre_alloc (codestream *codestream, const rect &tile_rect, const rect &recon_tile_rect)
 

Private Attributes

rect tile_rect
 
rect recon_tile_rect
 
ui32 num_comps
 
tile_compcomps
 
ui32 num_lines
 
line_buflines
 
bool reversible
 
bool employ_color_transform
 
bool resilient
 
rectcomp_rects
 
rectrecon_comp_rects
 
ui32line_offsets
 
ui32 skipped_res_for_read
 
ui32num_bits
 
bool * is_signed
 
ui32cur_line
 
int prog_order
 
param_sot sot
 
int next_tile_part
 
int profile
 
ui32num_comp_bytes
 

Detailed Description

Definition at line 168 of file ojph_codestream_local.h.

Member Function Documentation

◆ fill_tlm()

◆ finalize_alloc()

◆ flush()

◆ get_tile_rect()

rect ojph::local::tile::get_tile_rect ( )
inline

Definition at line 184 of file ojph_codestream_local.h.

References tile_rect.

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

◆ parse_tile_header()

◆ pre_alloc()

◆ prepare_for_flush()

void ojph::local::tile::prepare_for_flush ( )

◆ pull()

◆ push()

Member Data Documentation

◆ comp_rects

rect* ojph::local::tile::comp_rects
private

Definition at line 194 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and push().

◆ comps

tile_comp* ojph::local::tile::comps
private

◆ cur_line

ui32* ojph::local::tile::cur_line
private

Definition at line 200 of file ojph_codestream_local.h.

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

◆ employ_color_transform

bool ojph::local::tile::employ_color_transform
private

Definition at line 193 of file ojph_codestream_local.h.

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

◆ is_signed

bool* ojph::local::tile::is_signed
private

Definition at line 199 of file ojph_codestream_local.h.

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

◆ line_offsets

ui32* ojph::local::tile::line_offsets
private

Definition at line 195 of file ojph_codestream_local.h.

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

◆ lines

line_buf* ojph::local::tile::lines
private

Definition at line 192 of file ojph_codestream_local.h.

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

◆ next_tile_part

int ojph::local::tile::next_tile_part
private

Definition at line 205 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and parse_tile_header().

◆ num_bits

ui32* ojph::local::tile::num_bits
private

Definition at line 198 of file ojph_codestream_local.h.

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

◆ num_comp_bytes

ui32* ojph::local::tile::num_comp_bytes
private

Definition at line 209 of file ojph_codestream_local.h.

Referenced by fill_tlm(), finalize_alloc(), flush(), and prepare_for_flush().

◆ num_comps

ui32 ojph::local::tile::num_comps
private

◆ num_lines

ui32 ojph::local::tile::num_lines
private

Definition at line 191 of file ojph_codestream_local.h.

Referenced by finalize_alloc().

◆ profile

int ojph::local::tile::profile
private

◆ prog_order

int ojph::local::tile::prog_order
private

Definition at line 201 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), flush(), and parse_tile_header().

◆ recon_comp_rects

rect * ojph::local::tile::recon_comp_rects
private

Definition at line 194 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and pull().

◆ recon_tile_rect

rect ojph::local::tile::recon_tile_rect
private

Definition at line 188 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and pre_alloc().

◆ resilient

bool ojph::local::tile::resilient
private

Definition at line 193 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and parse_tile_header().

◆ reversible

bool ojph::local::tile::reversible
private

Definition at line 193 of file ojph_codestream_local.h.

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

◆ skipped_res_for_read

ui32 ojph::local::tile::skipped_res_for_read
private

Definition at line 196 of file ojph_codestream_local.h.

Referenced by finalize_alloc(), and parse_tile_header().

◆ sot

param_sot ojph::local::tile::sot
private

Definition at line 204 of file ojph_codestream_local.h.

Referenced by fill_tlm(), finalize_alloc(), flush(), and parse_tile_header().

◆ tile_rect

rect ojph::local::tile::tile_rect
private

Definition at line 188 of file ojph_codestream_local.h.

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


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