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

#include <ojph_codestream.h>

Public Member Functions

OJPH_EXPORT codestream ()
 
OJPH_EXPORT ~codestream ()
 
OJPH_EXPORT void set_planar (bool planar)
 
OJPH_EXPORT void set_profile (const char *s)
 
OJPH_EXPORT void set_tilepart_divisions (bool at_resolutions, bool at_components)
 
OJPH_EXPORT void request_tlm_marker (bool needed)
 
OJPH_EXPORT void write_headers (outfile_base *file, const comment_exchange *comments=NULL, ui32 num_comments=0)
 
OJPH_EXPORT line_bufexchange (line_buf *line, ui32 &next_component)
 
OJPH_EXPORT void flush ()
 
OJPH_EXPORT void enable_resilience ()
 
OJPH_EXPORT void read_headers (infile_base *file)
 
OJPH_EXPORT void restrict_input_resolution (ui32 skipped_res_for_data, ui32 skipped_res_for_recon)
 
OJPH_EXPORT void create ()
 
OJPH_EXPORT line_bufpull (ui32 &comp_num)
 
OJPH_EXPORT void close ()
 
OJPH_EXPORT param_siz access_siz ()
 
OJPH_EXPORT param_cod access_cod ()
 
OJPH_EXPORT param_qcd access_qcd ()
 
OJPH_EXPORT bool is_planar () const
 

Private Attributes

local::codestreamstate
 

Detailed Description

Definition at line 67 of file ojph_codestream.h.

Constructor & Destructor Documentation

◆ codestream()

ojph::codestream::codestream ( )

Definition at line 64 of file ojph_codestream.cpp.

References state.

◆ ~codestream()

ojph::codestream::~codestream ( )

Definition at line 58 of file ojph_codestream.cpp.

References state.

Member Function Documentation

◆ access_cod()

param_cod ojph::codestream::access_cod ( )

Definition at line 76 of file ojph_codestream.cpp.

References ojph::local::codestream::cod, and state.

Referenced by main().

◆ access_qcd()

param_qcd ojph::codestream::access_qcd ( )

Definition at line 82 of file ojph_codestream.cpp.

References ojph::local::codestream::qcd, and state.

Referenced by main().

◆ access_siz()

◆ close()

void ojph::codestream::close ( )

Definition at line 171 of file ojph_codestream.cpp.

References ojph::local::codestream::close(), and state.

Referenced by main().

◆ create()

void ojph::codestream::create ( )

Definition at line 152 of file ojph_codestream.cpp.

References ojph::local::codestream::read(), and state.

Referenced by cpp_parse_j2c_data(), and main().

◆ enable_resilience()

void ojph::codestream::enable_resilience ( )

Definition at line 132 of file ojph_codestream.cpp.

References ojph::local::codestream::enable_resilience(), and state.

Referenced by enable_resilience(), and main().

◆ exchange()

line_buf * ojph::codestream::exchange ( line_buf line,
ui32 next_component 
)

Definition at line 177 of file ojph_codestream.cpp.

References ojph::local::codestream::exchange(), and state.

Referenced by main().

◆ flush()

void ojph::codestream::flush ( )

Definition at line 165 of file ojph_codestream.cpp.

References ojph::local::codestream::flush(), and state.

Referenced by main().

◆ is_planar()

bool ojph::codestream::is_planar ( ) const

Definition at line 118 of file ojph_codestream.cpp.

References ojph::local::codestream::is_planar(), and state.

Referenced by main().

◆ pull()

line_buf * ojph::codestream::pull ( ui32 comp_num)

Definition at line 158 of file ojph_codestream.cpp.

References ojph::local::codestream::pull(), and state.

Referenced by cpp_pull_j2c_line(), and main().

◆ read_headers()

void ojph::codestream::read_headers ( infile_base file)

Definition at line 138 of file ojph_codestream.cpp.

References ojph::local::codestream::read_headers(), and state.

Referenced by cpp_init_j2c_data(), and main().

◆ request_tlm_marker()

void ojph::codestream::request_tlm_marker ( bool  needed)

Definition at line 112 of file ojph_codestream.cpp.

References ojph::local::codestream::request_tlm_marker(), and state.

Referenced by main().

◆ restrict_input_resolution()

void ojph::codestream::restrict_input_resolution ( ui32  skipped_res_for_data,
ui32  skipped_res_for_recon 
)

◆ set_planar()

void ojph::codestream::set_planar ( bool  planar)

Definition at line 88 of file ojph_codestream.cpp.

References ojph::local::codestream::set_planar(), and state.

Referenced by cpp_parse_j2c_data(), and main().

◆ set_profile()

void ojph::codestream::set_profile ( const char *  s)

Definition at line 94 of file ojph_codestream.cpp.

References ojph::local::codestream::set_profile(), and state.

Referenced by main().

◆ set_tilepart_divisions()

void ojph::codestream::set_tilepart_divisions ( bool  at_resolutions,
bool  at_components 
)

◆ write_headers()

void ojph::codestream::write_headers ( outfile_base file,
const comment_exchange comments = NULL,
ui32  num_comments = 0 
)

Definition at line 124 of file ojph_codestream.cpp.

References state, and ojph::local::codestream::write_headers().

Referenced by main().

Member Data Documentation

◆ state


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