OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#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_buf * | exchange (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_buf * | pull (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::codestream * | state |
Definition at line 67 of file ojph_codestream.h.
ojph::codestream::codestream | ( | ) |
Definition at line 64 of file ojph_codestream.cpp.
References state.
ojph::codestream::~codestream | ( | ) |
Definition at line 58 of file ojph_codestream.cpp.
References state.
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().
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().
param_siz ojph::codestream::access_siz | ( | ) |
Definition at line 70 of file ojph_codestream.cpp.
References ojph::local::codestream::siz, and state.
Referenced by get_j2c_bit_depth(), get_j2c_downsampling_x(), get_j2c_downsampling_y(), get_j2c_height(), get_j2c_is_signed(), get_j2c_num_components(), get_j2c_width(), and main().
void ojph::codestream::close | ( | ) |
Definition at line 171 of file ojph_codestream.cpp.
References ojph::local::codestream::close(), and state.
Referenced by main().
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().
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().
Definition at line 177 of file ojph_codestream.cpp.
References ojph::local::codestream::exchange(), and state.
Referenced by main().
void ojph::codestream::flush | ( | ) |
Definition at line 165 of file ojph_codestream.cpp.
References ojph::local::codestream::flush(), and state.
Referenced by main().
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().
Definition at line 158 of file ojph_codestream.cpp.
References ojph::local::codestream::pull(), and state.
Referenced by cpp_pull_j2c_line(), and main().
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().
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().
void ojph::codestream::restrict_input_resolution | ( | ui32 | skipped_res_for_data, |
ui32 | skipped_res_for_recon | ||
) |
Definition at line 144 of file ojph_codestream.cpp.
References ojph::local::codestream::restrict_input_resolution(), and state.
Referenced by cpp_restrict_input_resolution(), and main().
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().
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().
void ojph::codestream::set_tilepart_divisions | ( | bool | at_resolutions, |
bool | at_components | ||
) |
Definition at line 100 of file ojph_codestream.cpp.
References ojph::OJPH_TILEPART_COMPONENTS, ojph::OJPH_TILEPART_RESOLUTIONS, ojph::local::codestream::set_tilepart_divisions(), and state.
Referenced by main().
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().
|
private |
Definition at line 118 of file ojph_codestream.h.
Referenced by access_cod(), access_qcd(), access_siz(), close(), codestream(), create(), enable_resilience(), exchange(), flush(), is_planar(), pull(), read_headers(), request_tlm_marker(), restrict_input_resolution(), set_planar(), set_profile(), set_tilepart_divisions(), write_headers(), and ~codestream().