OpenJPH
Open-source implementation of JPEG2000 Part-15
Loading...
Searching...
No Matches
ojph_defs.h File Reference
#include <cstdint>
#include "ojph_version.h"

Go to the source code of this file.

Namespaces

namespace  ojph

Macros

#define OJPH_INT_STRINGIFY(I)
#define OJPH_INT_TO_STRING(I)
#define ojph_div_ceil(a, b)
#define ojph_max(a, b)
#define ojph_min(a, b)
#define ojph_unused(x)

Typedefs

typedef uint8_t ojph::ui8
typedef int8_t ojph::si8
typedef uint16_t ojph::ui16
typedef int16_t ojph::si16
typedef uint32_t ojph::ui32
typedef int32_t ojph::si32
typedef uint64_t ojph::ui64
typedef int64_t ojph::si64

Variables

const int ojph::NUM_FRAC_BITS = 13

Macro Definition Documentation

◆ ojph_div_ceil

◆ OJPH_INT_STRINGIFY

#define OJPH_INT_STRINGIFY ( I)
Value:
#I

Definition at line 60 of file ojph_defs.h.

◆ OJPH_INT_TO_STRING

#define OJPH_INT_TO_STRING ( I)
Value:
#define OJPH_INT_STRINGIFY(I)
Definition ojph_defs.h:60

Definition at line 61 of file ojph_defs.h.

Referenced by ojph::local::codestream::write_headers().

◆ ojph_max

#define ojph_max ( a,
b )
Value:
(((a) > (b)) ? (a) : (b))

Definition at line 73 of file ojph_defs.h.

Referenced by ojph::mem_elastic_allocator::allocate(), ojph::yuv_out::configure(), ojph::local::tile::fill_tlm(), ojph::local::codestream::finalize_alloc(), ojph::local::resolution::finalize_alloc(), ojph::local::subband::finalize_alloc(), ojph::local::tile::finalize_alloc(), ojph::local::tile::flush(), ojph::local::subband::get_cb_indices(), ojph::local::param_qcd::get_largest_Kmax(), ojph::local::param_qcd::get_MAGB(), ojph::cli_interpreter::init(), ojph::local::local_gen_irv_convert_to_float_nlt2or4(), ojph::local::local_gen_irv_convert_to_float_nlt2or4_precise_1step(), ojph::local::local_gen_irv_convert_to_float_nlt2or4_precise_search(), ojph::local::local_gen_irv_convert_to_integer_nlt2or4(), main(), ojph::local::mel_encode(), ojph::local::ojph_decode_codeblock32(), ojph::local::ojph_decode_codeblock64(), ojph::local::ojph_decode_codeblock_vsx(), ojph::local::ojph_decode_codeblock_wasm(), ojph::local::ojph_encode_codeblock32(), ojph::local::ojph_encode_codeblock64(), ojph::yuv_in::open(), ojph::local::precinct::parse(), ojph::local::tile::parse_tile_header(), ojph::local::codestream::pre_alloc(), ojph::local::tile::pre_alloc(), ojph::local::nlt_rec::prepare_for_encoding_precise(), ojph::local::precinct::prepare_precinct(), ojph::local::param_qcd::propose_precision(), ojph::local::subband::pull_line(), ojph::local::subband::push_line(), ojph::local::param_nlt::set_nonlinear_transform(), ojph::local::param_qcd::set_rev_quant(), and ojph::mem_outfile::write().

◆ ojph_min

◆ ojph_unused