OpenJPH
Open-source implementation of JPEG2000 Part-15
|
Namespaces | |
local | |
local2 | |
Classes | |
class | image_in_base |
class | ppm_in |
class | yuv_in |
class | image_out_base |
class | ppm_out |
class | yuv_out |
class | argument |
class | cli_interpreter |
struct | size |
struct | point |
struct | rect |
class | codestream |
class | outfile_base |
class | j2c_outfile |
class | mem_outfile |
mem_outfile stores encoded j2k codestreams in memory More... | |
class | infile_base |
class | j2c_infile |
class | mem_infile |
class | mem_fixed_allocator |
struct | line_buf |
struct | coded_lists |
class | mem_elastic_allocator |
class | message_base |
class | message_info |
class | message_warning |
class | message_error |
class | param_siz |
class | param_cod |
class | param_qcd |
Typedefs | |
typedef uint8_t | ui8 |
typedef int8_t | si8 |
typedef uint16_t | ui16 |
typedef int16_t | si16 |
typedef uint32_t | ui32 |
typedef int32_t | si32 |
typedef uint64_t | ui64 |
typedef int64_t | si64 |
Enumerations | |
enum | PROGRESSION_ORDER : si32 { OJPH_PO_LRCP = 0 , OJPH_PO_RLCP = 1 , OJPH_PO_RPCL = 2 , OJPH_PO_PCRL = 3 , OJPH_PO_CPRL = 4 } |
enum | OJPH_PROFILE_NUM : si32 { OJPH_PN_UNDEFINED = 0 , OJPH_PN_PROFILE0 = 1 , OJPH_PN_PROFILE1 = 2 , OJPH_PN_CINEMA2K = 3 , OJPH_PN_CINEMA4K = 4 , OJPH_PN_CINEMAS2K = 5 , OJPH_PN_CINEMAS4K = 6 , OJPH_PN_BROADCAST = 7 , OJPH_PN_IMF = 8 } |
enum | OJPH_MSG_LEVEL : int { NO_MSG = 0 , INFO = 1 , WARN = 2 , ERROR = 3 } |
typedef int16_t ojph::si16 |
Definition at line 53 of file ojph_defs.h.
typedef int32_t ojph::si32 |
Definition at line 55 of file ojph_defs.h.
typedef int64_t ojph::si64 |
Definition at line 57 of file ojph_defs.h.
typedef int8_t ojph::si8 |
Definition at line 51 of file ojph_defs.h.
typedef uint16_t ojph::ui16 |
Definition at line 52 of file ojph_defs.h.
typedef uint32_t ojph::ui32 |
Definition at line 54 of file ojph_defs.h.
typedef uint64_t ojph::ui64 |
Definition at line 56 of file ojph_defs.h.
typedef uint8_t ojph::ui8 |
Definition at line 50 of file ojph_defs.h.
enum ojph::OJPH_MSG_LEVEL : int |
Enumerator | |
---|---|
NO_MSG | |
INFO | |
WARN | |
ERROR |
Definition at line 47 of file ojph_message.h.
enum ojph::OJPH_PROFILE_NUM : si32 |
Enumerator | |
---|---|
OJPH_PN_UNDEFINED | |
OJPH_PN_PROFILE0 | |
OJPH_PN_PROFILE1 | |
OJPH_PN_CINEMA2K | |
OJPH_PN_CINEMA4K | |
OJPH_PN_CINEMAS2K | |
OJPH_PN_CINEMAS4K | |
OJPH_PN_BROADCAST | |
OJPH_PN_IMF |
Definition at line 73 of file ojph_params_local.h.
enum ojph::PROGRESSION_ORDER : si32 |
Enumerator | |
---|---|
OJPH_PO_LRCP | |
OJPH_PO_RLCP | |
OJPH_PO_RPCL | |
OJPH_PO_PCRL | |
OJPH_PO_CPRL |
Definition at line 56 of file ojph_params_local.h.
|
inline |
Definition at line 178 of file ojph_arch.h.
References count_leading_zeros().
Definition at line 55 of file ojph_img_io.cpp.
Referenced by ojph::ppm_in::read(), and ojph::ppm_out::write().
size_t ojph::calc_aligned_size | ( | size_t | size | ) |
Definition at line 168 of file ojph_arch.h.
References count_leading_zeros().
void ojph::configure_error | ( | message_error * | error | ) |
Definition at line 130 of file ojph_message.cpp.
References error, and local_error.
void ojph::configure_info | ( | message_info * | info | ) |
Definition at line 54 of file ojph_message.cpp.
References info, and local_info.
void ojph::configure_warning | ( | message_warning * | warn | ) |
Definition at line 92 of file ojph_message.cpp.
References local_warn, and warn.
Definition at line 90 of file ojph_arch.h.
References population_count().
Referenced by align_ptr(), calc_aligned_size(), ojph::local::log2ceil(), ojph::local::ojph_decode_codeblock(), ojph::local::ojph_encode_codeblock(), ojph::ppm_in::open(), ojph::local::precinct::prepare_precinct(), ojph::param_cod::set_block_dims(), and ojph::param_cod::set_precinct_size().
Definition at line 112 of file ojph_arch.h.
References population_count().
int ojph::cpu_ext_level | ( | ) |
Definition at line 170 of file ojph_arch.cpp.
References cpu_level, and cpu_level_initialized.
Referenced by ojph::local::init_colour_transform_functions(), and ojph::local::init_wavelet_transform_functions().
|
static |
Definition at line 62 of file ojph_img_io.cpp.
Referenced by ojph::ppm_in::open().
message_error & ojph::get_error | ( | ) |
Definition at line 136 of file ojph_message.cpp.
References local_error.
message_info & ojph::get_info | ( | ) |
Definition at line 60 of file ojph_message.cpp.
References local_info.
message_warning & ojph::get_warning | ( | ) |
Definition at line 98 of file ojph_message.cpp.
References local_warn.
bool ojph::init_cpu_ext_level | ( | int & | level | ) |
Definition at line 81 of file ojph_arch.cpp.
References read_xcr(), and run_cpuid().
|
inline |
Definition at line 61 of file ojph_file.h.
Referenced by ojph::ppm_in::read(), and ojph::j2c_infile::seek().
|
inline |
Definition at line 66 of file ojph_file.h.
Referenced by ojph::ppm_in::open(), ojph::j2c_outfile::tell(), and ojph::j2c_infile::tell().
|
inlinestatic |
Definition at line 131 of file ojph_arch.h.
Referenced by ojph::local::gen_cnvrt_float_to_si32(), and ojph::local::gen_cnvrt_float_to_si32_shftd().
|
inlinestatic |
Definition at line 143 of file ojph_arch.h.
Referenced by ojph::local::subband::push_line().
Definition at line 70 of file ojph_arch.h.
Referenced by count_leading_zeros(), count_trailing_zeros(), ojph::local::ojph_decode_codeblock(), ojph::local::param_cap::read(), and ojph::local::vlc_init_tables().
uint64_t ojph::read_xcr | ( | uint32_t | index | ) |
Definition at line 69 of file ojph_arch.cpp.
Referenced by init_cpu_ext_level().
bool ojph::run_cpuid | ( | uint32_t | eax, |
uint32_t | ecx, | ||
uint32_t * | abcd | ||
) |
Definition at line 50 of file ojph_arch.cpp.
Referenced by init_cpu_ext_level().
void ojph::set_error_stream | ( | FILE * | s | ) |
Definition at line 142 of file ojph_message.cpp.
References error_stream.
void ojph::set_info_stream | ( | FILE * | s | ) |
Definition at line 66 of file ojph_message.cpp.
References info_stream.
void ojph::set_warning_stream | ( | FILE * | s | ) |
Definition at line 104 of file ojph_message.cpp.
References warning_stream.
const ui32 ojph::byte_alignment = 32 |
Definition at line 157 of file ojph_arch.h.
|
static |
Definition at line 157 of file ojph_arch.cpp.
Referenced by cpu_ext_level().
|
static |
Definition at line 158 of file ojph_arch.cpp.
Referenced by cpu_ext_level().
message_error ojph::error |
Definition at line 126 of file ojph_message.cpp.
Referenced by configure_error(), and ojph::local::tile::parse_tile_header().
FILE* ojph::error_stream = stderr |
Definition at line 123 of file ojph_message.cpp.
Referenced by ojph::message_error::operator()(), and set_error_stream().
message_info ojph::info |
Definition at line 50 of file ojph_message.cpp.
Referenced by configure_info().
FILE* ojph::info_stream = stdout |
Definition at line 47 of file ojph_message.cpp.
Referenced by ojph::message_info::operator()(), and set_info_stream().
message_error& ojph::local_error = error |
Definition at line 127 of file ojph_message.cpp.
Referenced by configure_error(), and get_error().
message_info& ojph::local_info = info |
Definition at line 51 of file ojph_message.cpp.
Referenced by configure_info(), and get_info().
message_warning& ojph::local_warn = warn |
Definition at line 89 of file ojph_message.cpp.
Referenced by configure_warning(), and get_warning().
const ui32 ojph::log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
Definition at line 158 of file ojph_arch.h.
const int ojph::NUM_FRAC_BITS = 13 |
Definition at line 67 of file ojph_defs.h.
const ui32 ojph::object_alignment = 8 |
Definition at line 159 of file ojph_arch.h.
const char ojph::OJPH_PN_STRING_BROADCAST[] = "BROADCAST" |
Definition at line 93 of file ojph_params_local.h.
Referenced by ojph::local::codestream::set_profile().
const char ojph::OJPH_PN_STRING_CINEMA2K[] = "CINEMA2K" |
Definition at line 89 of file ojph_params_local.h.
const char ojph::OJPH_PN_STRING_CINEMA4K[] = "CINEMA4K" |
Definition at line 90 of file ojph_params_local.h.
const char ojph::OJPH_PN_STRING_CINEMAS2K[] = "CINEMAS2K" |
Definition at line 91 of file ojph_params_local.h.
const char ojph::OJPH_PN_STRING_CINEMAS4K[] = "CINEMAS4K" |
Definition at line 92 of file ojph_params_local.h.
const char ojph::OJPH_PN_STRING_IMF[] = "IMF" |
Definition at line 94 of file ojph_params_local.h.
Referenced by ojph::local::codestream::set_profile().
const char ojph::OJPH_PN_STRING_PROFILE0[] = "PROFILE0" |
Definition at line 87 of file ojph_params_local.h.
const char ojph::OJPH_PN_STRING_PROFILE1[] = "PROFILE1" |
Definition at line 88 of file ojph_params_local.h.
const char ojph::OJPH_PO_STRING_CPRL[] = "CPRL" |
Definition at line 70 of file ojph_params_local.h.
Referenced by ojph::param_cod::get_progression_order_as_string(), and ojph::param_cod::set_progression_order().
const char ojph::OJPH_PO_STRING_LRCP[] = "LRCP" |
Definition at line 66 of file ojph_params_local.h.
Referenced by ojph::param_cod::get_progression_order_as_string(), and ojph::param_cod::set_progression_order().
const char ojph::OJPH_PO_STRING_PCRL[] = "PCRL" |
Definition at line 69 of file ojph_params_local.h.
Referenced by ojph::param_cod::get_progression_order_as_string(), and ojph::param_cod::set_progression_order().
const char ojph::OJPH_PO_STRING_RLCP[] = "RLCP" |
Definition at line 67 of file ojph_params_local.h.
Referenced by ojph::param_cod::get_progression_order_as_string(), and ojph::param_cod::set_progression_order().
const char ojph::OJPH_PO_STRING_RPCL[] = "RPCL" |
Definition at line 68 of file ojph_params_local.h.
Referenced by ojph::param_cod::get_progression_order_as_string(), and ojph::param_cod::set_progression_order().
message_warning ojph::warn |
Definition at line 88 of file ojph_message.cpp.
Referenced by configure_warning().
FILE* ojph::warning_stream = stdout |
Definition at line 85 of file ojph_message.cpp.
Referenced by ojph::message_warning::operator()(), and set_warning_stream().