|
Grok
7.6.6
|
Namespaces | |
| local | |
Classes | |
| class | argument |
| class | cli_interpreter |
| struct | size |
| struct | point |
| struct | rect |
| 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 |
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 | OJPH_MSG_LEVEL : int { NO_MSG = 0 , INFO = 1 , WARN = 2 , ERROR = 3 } |
Functions | |
| int | cpu_ext_level () |
| static ui32 | population_count (ui32 val) |
| static ui32 | count_leading_zeros (ui32 val) |
| static ui32 | count_trailing_zeros (ui32 val) |
| static si32 | ojph_round (float val) |
| static si32 | ojph_trunc (float val) |
| template<typename T , int N> | |
| size_t | calc_aligned_size (size_t size) |
| template<typename T , int N> | |
| T * | align_ptr (T *ptr) |
| OJPH_EXPORT void | set_info_stream (FILE *s) |
| OJPH_EXPORT void | configure_info (message_info *info) |
| OJPH_EXPORT message_info & | get_info () |
| OJPH_EXPORT void | set_warning_stream (FILE *s) |
| OJPH_EXPORT void | configure_warning (message_warning *warn) |
| OJPH_EXPORT message_warning & | get_warning () |
| OJPH_EXPORT void | set_error_stream (FILE *s) |
| OJPH_EXPORT void | configure_error (message_error *error) |
| OJPH_EXPORT message_error & | get_error () |
Variables | |
| const ui32 | byte_alignment = 32 |
| const ui32 | log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
| const ui32 | object_alignment = 8 |
| const int | NUM_FRAC_BITS = 13 |
| static int | cpu_level = 0 |
| static bool | cpu_level_initialized = true |
| FILE * | info_stream = stdout |
| message_info | info |
| message_info & | local_info = info |
| FILE * | warning_stream = stdout |
| message_warning | warn |
| message_warning & | local_warn = warn |
| FILE * | error_stream = stderr |
| message_error | error |
| message_error & | local_error = error |
| typedef int16_t ojph::si16 |
| typedef int32_t ojph::si32 |
| typedef int64_t ojph::si64 |
| typedef int8_t ojph::si8 |
| typedef uint16_t ojph::ui16 |
| typedef uint32_t ojph::ui32 |
| typedef uint64_t ojph::ui64 |
| typedef uint8_t ojph::ui8 |
| enum ojph::OJPH_MSG_LEVEL : int |
|
inline |
References count_leading_zeros().
| size_t ojph::calc_aligned_size | ( | size_t | size | ) |
References count_leading_zeros().
| void ojph::configure_error | ( | message_error * | error | ) |
References error, and local_error.
| void ojph::configure_info | ( | message_info * | info | ) |
References info, and local_info.
| void ojph::configure_warning | ( | message_warning * | warn | ) |
References local_warn, and warn.
References population_count().
Referenced by align_ptr(), calc_aligned_size(), ojph::local::ojph_decode_codeblock(), and ojph::local::ojph_encode_codeblock().
References population_count().
| int ojph::cpu_ext_level | ( | ) |
References cpu_level, and cpu_level_initialized.
| message_error & ojph::get_error | ( | ) |
References local_error.
| message_info & ojph::get_info | ( | ) |
References local_info.
| message_warning & ojph::get_warning | ( | ) |
References local_warn.
|
inlinestatic |
|
inlinestatic |
| void ojph::set_error_stream | ( | FILE * | s | ) |
References error_stream.
| void ojph::set_info_stream | ( | FILE * | s | ) |
References info_stream.
| void ojph::set_warning_stream | ( | FILE * | s | ) |
References warning_stream.
| const ui32 ojph::byte_alignment = 32 |
|
static |
Referenced by cpu_ext_level().
|
static |
Referenced by cpu_ext_level().
| message_error ojph::error |
Referenced by configure_error(), main(), grk::minpf_get_full_path(), and grk::minpf_load_dynamic_library().
| FILE* ojph::error_stream = stderr |
Referenced by ojph::message_error::operator()(), and set_error_stream().
| message_info ojph::info |
Referenced by grk::FileFormat::apply_channel_definition(), grk::FileFormat::check_color(), configure_info(), grk_initialize(), grk_plugin_internal_decode_callback(), grk_plugin_internal_encode_callback(), grk_plugin_load(), main(), grk::TileLengthMarkers::push(), grk::TileLengthMarkers::read(), and grk::TileLengthMarkers::write_end().
| FILE* ojph::info_stream = stdout |
Referenced by ojph::message_info::operator()(), and set_info_stream().
| message_error& ojph::local_error = error |
Referenced by configure_error(), and get_error().
| message_info& ojph::local_info = info |
Referenced by configure_info(), and get_info().
| message_warning& ojph::local_warn = warn |
Referenced by configure_warning(), and get_warning().
| const ui32 ojph::log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
| const int ojph::NUM_FRAC_BITS = 13 |
| const ui32 ojph::object_alignment = 8 |
| message_warning ojph::warn |
Referenced by configure_warning().
| FILE* ojph::warning_stream = stdout |
Referenced by ojph::message_warning::operator()(), and set_warning_stream().