OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph Namespace Reference

Namespaces

namespace  local
 

Classes

class  argument
 
class  cli_interpreter
 
struct  coded_lists
 
class  codestream
 
class  comment_exchange
 
class  dpx_in
 
class  image_in_base
 
class  image_out_base
 
class  infile_base
 
class  j2c_infile
 
class  j2c_outfile
 
struct  line_buf
 
class  mem_elastic_allocator
 
class  mem_fixed_allocator
 
class  mem_infile
 
class  mem_outfile
 mem_outfile stores encoded j2k codestreams in memory More...
 
class  message_base
 
class  message_error
 
class  message_info
 
class  message_warning
 
class  outfile_base
 
class  param_cod
 
class  param_qcd
 
class  param_siz
 
struct  point
 
class  ppm_in
 
class  ppm_out
 
class  raw_in
 
class  raw_out
 
struct  rect
 
struct  size
 
class  yuv_in
 
class  yuv_out
 

Typedefs

typedef void(* conversion_fun) (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
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_TILEPART_DIVISONS : ui32 { OJPH_TILEPART_NODIVSIONS = 0x0 , OJPH_TILEPART_RESOLUTIONS = 0x1 , OJPH_TILEPART_COMPONENTS = 0x2 , OJPH_TILEPART_LAYERS = 0x4 }
 
enum  : int {
  X86_CPU_EXT_LEVEL_GENERIC = 0 , X86_CPU_EXT_LEVEL_MMX = 1 , X86_CPU_EXT_LEVEL_SSE = 2 , X86_CPU_EXT_LEVEL_SSE2 = 3 ,
  X86_CPU_EXT_LEVEL_SSE3 = 4 , X86_CPU_EXT_LEVEL_SSSE3 = 5 , X86_CPU_EXT_LEVEL_SSE41 = 6 , X86_CPU_EXT_LEVEL_SSE42 = 7 ,
  X86_CPU_EXT_LEVEL_AVX = 8 , X86_CPU_EXT_LEVEL_AVX2 = 9 , X86_CPU_EXT_LEVEL_AVX2FMA = 10 , X86_CPU_EXT_LEVEL_AVX512 = 11
}
 
enum  OJPH_MSG_LEVEL : int { NO_MSG = 0 , INFO = 1 , WARN = 2 , ERROR = 3 }
 

Functions

void gen_cvrt_32b1c_to_8ub1c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void gen_cvrt_32b3c_to_8ub3c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void gen_cvrt_32b1c_to_16ub1c_le (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void gen_cvrt_32b3c_to_16ub3c_le (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void gen_cvrt_32b1c_to_16ub1c_be (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void gen_cvrt_32b3c_to_16ub3c_be (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b1c_to_8ub1c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b3c_to_8ub3c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b1c_to_16ub1c_le (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b3c_to_16ub3c_le (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b1c_to_16ub1c_be (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void sse41_cvrt_32b3c_to_16ub3c_be (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void avx2_cvrt_32b1c_to_8ub1c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void avx2_cvrt_32b3c_to_8ub3c (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void avx2_cvrt_32b1c_to_16ub1c_le (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
void avx2_cvrt_32b1c_to_16ub1c_be (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)
 
static ui16 be2le (const ui16 v)
 
static ui32 be2le (const ui32 t)
 
static void eat_white_spaces (FILE *fh)
 
static ui16 be2le (const ui16 v)
 
static ui16 be2le (const ui16 v)
 
OJPH_EXPORT int get_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)
 
int ojph_fseek (FILE *stream, si64 offset, int origin)
 
si64 ojph_ftell (FILE *stream)
 
OJPH_EXPORT void set_info_stream (FILE *s)
 
OJPH_EXPORT void configure_info (message_info *info)
 
OJPH_EXPORT message_infoget_info ()
 
OJPH_EXPORT void set_warning_stream (FILE *s)
 
OJPH_EXPORT void configure_warning (message_warning *warn)
 
OJPH_EXPORT message_warningget_warning ()
 
OJPH_EXPORT void set_error_stream (FILE *s)
 
OJPH_EXPORT void configure_error (message_error *error)
 
OJPH_EXPORT message_errorget_error ()
 
bool run_cpuid (uint32_t eax, uint32_t ecx, uint32_t *abcd)
 
uint64_t read_xcr (uint32_t index)
 
bool init_cpu_ext_level (int &level)
 

Variables

const char OJPH_PO_STRING_LRCP [] = "LRCP"
 
const char OJPH_PO_STRING_RLCP [] = "RLCP"
 
const char OJPH_PO_STRING_RPCL [] = "RPCL"
 
const char OJPH_PO_STRING_PCRL [] = "PCRL"
 
const char OJPH_PO_STRING_CPRL [] = "CPRL"
 
const char OJPH_PN_STRING_PROFILE0 [] = "PROFILE0"
 
const char OJPH_PN_STRING_PROFILE1 [] = "PROFILE1"
 
const char OJPH_PN_STRING_CINEMA2K [] = "CINEMA2K"
 
const char OJPH_PN_STRING_CINEMA4K [] = "CINEMA4K"
 
const char OJPH_PN_STRING_CINEMAS2K [] = "CINEMAS2K"
 
const char OJPH_PN_STRING_CINEMAS4K [] = "CINEMAS4K"
 
const char OJPH_PN_STRING_BROADCAST [] = "BROADCAST"
 
const char OJPH_PN_STRING_IMF [] = "IMF"
 
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
 
static bool cpu_level_initialized = init_cpu_ext_level(cpu_level)
 
FILE * info_stream = stdout
 
message_info info
 
message_infolocal_info = info
 
FILE * warning_stream = stdout
 
message_warning warn
 
message_warninglocal_warn = warn
 
FILE * error_stream = stderr
 
message_error error
 
message_errorlocal_error = error
 

Typedef Documentation

◆ conversion_fun

typedef void(* ojph::conversion_fun) (const line_buf *ln0, const line_buf *ln1, const line_buf *ln2, void *dp, ui32 bit_depth, ui32 count)

Definition at line 451 of file ojph_img_io.h.

◆ si16

typedef int16_t ojph::si16

Definition at line 53 of file ojph_defs.h.

◆ si32

typedef int32_t ojph::si32

Definition at line 55 of file ojph_defs.h.

◆ si64

typedef int64_t ojph::si64

Definition at line 57 of file ojph_defs.h.

◆ si8

typedef int8_t ojph::si8

Definition at line 51 of file ojph_defs.h.

◆ ui16

typedef uint16_t ojph::ui16

Definition at line 52 of file ojph_defs.h.

◆ ui32

typedef uint32_t ojph::ui32

Definition at line 54 of file ojph_defs.h.

◆ ui64

typedef uint64_t ojph::ui64

Definition at line 56 of file ojph_defs.h.

◆ ui8

typedef uint8_t ojph::ui8

Definition at line 50 of file ojph_defs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
X86_CPU_EXT_LEVEL_GENERIC 
X86_CPU_EXT_LEVEL_MMX 
X86_CPU_EXT_LEVEL_SSE 
X86_CPU_EXT_LEVEL_SSE2 
X86_CPU_EXT_LEVEL_SSE3 
X86_CPU_EXT_LEVEL_SSSE3 
X86_CPU_EXT_LEVEL_SSE41 
X86_CPU_EXT_LEVEL_SSE42 
X86_CPU_EXT_LEVEL_AVX 
X86_CPU_EXT_LEVEL_AVX2 
X86_CPU_EXT_LEVEL_AVX2FMA 
X86_CPU_EXT_LEVEL_AVX512 

Definition at line 94 of file ojph_arch.h.

◆ OJPH_MSG_LEVEL

Enumerator
NO_MSG 
INFO 
WARN 
ERROR 

Definition at line 47 of file ojph_message.h.

◆ OJPH_PROFILE_NUM

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 74 of file ojph_params_local.h.

◆ OJPH_TILEPART_DIVISONS

Enumerator
OJPH_TILEPART_NODIVSIONS 
OJPH_TILEPART_RESOLUTIONS 
OJPH_TILEPART_COMPONENTS 
OJPH_TILEPART_LAYERS 

Definition at line 98 of file ojph_params_local.h.

◆ PROGRESSION_ORDER

Enumerator
OJPH_PO_LRCP 
OJPH_PO_RLCP 
OJPH_PO_RPCL 
OJPH_PO_PCRL 
OJPH_PO_CPRL 

Definition at line 57 of file ojph_params_local.h.

Function Documentation

◆ align_ptr()

template<typename T , int N>
T * ojph::align_ptr ( T *  ptr)
inline

Definition at line 222 of file ojph_arch.h.

References count_leading_zeros().

◆ avx2_cvrt_32b1c_to_16ub1c_be()

void ojph::avx2_cvrt_32b1c_to_16ub1c_be ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 305 of file ojph_img_io_avx2.cpp.

References be2le(), ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ avx2_cvrt_32b1c_to_16ub1c_le()

void ojph::avx2_cvrt_32b1c_to_16ub1c_le ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 261 of file ojph_img_io_avx2.cpp.

References ojph::line_buf::i32, and ojph_unused.

◆ avx2_cvrt_32b1c_to_8ub1c()

void ojph::avx2_cvrt_32b1c_to_8ub1c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 58 of file ojph_img_io_avx2.cpp.

References ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ avx2_cvrt_32b3c_to_8ub3c()

void ojph::avx2_cvrt_32b3c_to_8ub3c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 116 of file ojph_img_io_avx2.cpp.

References ojph::line_buf::i32.

Referenced by ojph::ppm_out::configure().

◆ be2le() [1/4]

◆ be2le() [2/4]

static ui16 ojph::be2le ( const ui16  v)
static

Definition at line 52 of file ojph_img_io_avx2.cpp.

◆ be2le() [3/4]

static ui16 ojph::be2le ( const ui16  v)
static

Definition at line 52 of file ojph_img_io_sse41.cpp.

◆ be2le() [4/4]

static ui32 ojph::be2le ( const ui32  t)
inlinestatic

Definition at line 62 of file ojph_img_io.cpp.

References be2le().

◆ calc_aligned_size()

template<typename T , int N>
size_t ojph::calc_aligned_size ( size_t  size)

Definition at line 212 of file ojph_arch.h.

References count_leading_zeros().

◆ configure_error()

void ojph::configure_error ( message_error error)

Definition at line 130 of file ojph_message.cpp.

References error, and local_error.

◆ configure_info()

void ojph::configure_info ( message_info info)

Definition at line 54 of file ojph_message.cpp.

References info, and local_info.

◆ configure_warning()

void ojph::configure_warning ( message_warning warn)

Definition at line 92 of file ojph_message.cpp.

References local_warn, and warn.

◆ count_leading_zeros()

◆ count_trailing_zeros()

static ui32 ojph::count_trailing_zeros ( ui32  val)
inlinestatic

Definition at line 152 of file ojph_arch.h.

References population_count().

◆ eat_white_spaces()

static void ojph::eat_white_spaces ( FILE *  fh)
static

Definition at line 72 of file ojph_img_io.cpp.

Referenced by ojph::ppm_in::open().

◆ gen_cvrt_32b1c_to_16ub1c_be()

void ojph::gen_cvrt_32b1c_to_16ub1c_be ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 190 of file ojph_img_io.cpp.

References be2le(), ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ gen_cvrt_32b1c_to_16ub1c_le()

void ojph::gen_cvrt_32b1c_to_16ub1c_le ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 145 of file ojph_img_io.cpp.

References ojph::line_buf::i32, and ojph_unused.

◆ gen_cvrt_32b1c_to_8ub1c()

void ojph::gen_cvrt_32b1c_to_8ub1c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 99 of file ojph_img_io.cpp.

References ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ gen_cvrt_32b3c_to_16ub3c_be()

void ojph::gen_cvrt_32b3c_to_16ub3c_be ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 208 of file ojph_img_io.cpp.

References be2le(), and ojph::line_buf::i32.

Referenced by ojph::ppm_out::configure().

◆ gen_cvrt_32b3c_to_16ub3c_le()

void ojph::gen_cvrt_32b3c_to_16ub3c_le ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 163 of file ojph_img_io.cpp.

References ojph::line_buf::i32.

◆ gen_cvrt_32b3c_to_8ub3c()

void ojph::gen_cvrt_32b3c_to_8ub3c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 118 of file ojph_img_io.cpp.

References ojph::line_buf::i32.

Referenced by ojph::ppm_out::configure().

◆ get_cpu_ext_level()

◆ get_error()

message_error & ojph::get_error ( )

Definition at line 136 of file ojph_message.cpp.

References local_error.

◆ get_info()

message_info & ojph::get_info ( )

Definition at line 60 of file ojph_message.cpp.

References local_info.

◆ get_warning()

message_warning & ojph::get_warning ( )

Definition at line 98 of file ojph_message.cpp.

References local_warn.

◆ init_cpu_ext_level()

◆ ojph_fseek()

int ojph::ojph_fseek ( FILE *  stream,
si64  offset,
int  origin 
)
inline

Definition at line 61 of file ojph_file.h.

Referenced by ojph::ppm_in::read(), and ojph::j2c_infile::seek().

◆ ojph_ftell()

si64 ojph::ojph_ftell ( FILE *  stream)
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().

◆ ojph_round()

static si32 ojph::ojph_round ( float  val)
inlinestatic

◆ ojph_trunc()

static si32 ojph::ojph_trunc ( float  val)
inlinestatic

Definition at line 183 of file ojph_arch.h.

Referenced by ojph::local::gen_irv_tx_to_cb().

◆ population_count()

static ui32 ojph::population_count ( ui32  val)
inlinestatic

◆ read_xcr()

uint64_t ojph::read_xcr ( uint32_t  index)

Definition at line 69 of file ojph_arch.cpp.

Referenced by init_cpu_ext_level().

◆ run_cpuid()

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().

◆ set_error_stream()

void ojph::set_error_stream ( FILE *  s)

Definition at line 142 of file ojph_message.cpp.

References error_stream.

◆ set_info_stream()

void ojph::set_info_stream ( FILE *  s)

Definition at line 66 of file ojph_message.cpp.

References info_stream.

◆ set_warning_stream()

void ojph::set_warning_stream ( FILE *  s)

Definition at line 104 of file ojph_message.cpp.

References warning_stream.

◆ sse41_cvrt_32b1c_to_16ub1c_be()

void ojph::sse41_cvrt_32b1c_to_16ub1c_be ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 368 of file ojph_img_io_sse41.cpp.

References be2le(), ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ sse41_cvrt_32b1c_to_16ub1c_le()

void ojph::sse41_cvrt_32b1c_to_16ub1c_le ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 227 of file ojph_img_io_sse41.cpp.

References ojph::line_buf::i32, and ojph_unused.

◆ sse41_cvrt_32b1c_to_8ub1c()

void ojph::sse41_cvrt_32b1c_to_8ub1c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 58 of file ojph_img_io_sse41.cpp.

References ojph::line_buf::i32, and ojph_unused.

Referenced by ojph::ppm_out::configure().

◆ sse41_cvrt_32b3c_to_16ub3c_be()

void ojph::sse41_cvrt_32b3c_to_16ub3c_be ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 410 of file ojph_img_io_sse41.cpp.

References be2le(), and ojph::line_buf::i32.

Referenced by ojph::ppm_out::configure().

◆ sse41_cvrt_32b3c_to_16ub3c_le()

void ojph::sse41_cvrt_32b3c_to_16ub3c_le ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 269 of file ojph_img_io_sse41.cpp.

References be2le(), and ojph::line_buf::i32.

◆ sse41_cvrt_32b3c_to_8ub3c()

void ojph::sse41_cvrt_32b3c_to_8ub3c ( const line_buf ln0,
const line_buf ln1,
const line_buf ln2,
void *  dp,
ui32  bit_depth,
ui32  count 
)

Definition at line 112 of file ojph_img_io_sse41.cpp.

References ojph::line_buf::i32.

Referenced by ojph::ppm_out::configure().

Variable Documentation

◆ byte_alignment

const ui32 ojph::byte_alignment = 32

◆ cpu_level

int ojph::cpu_level
static

Definition at line 180 of file ojph_arch.cpp.

Referenced by get_cpu_ext_level().

◆ cpu_level_initialized

bool ojph::cpu_level_initialized = init_cpu_ext_level(cpu_level)
static

Definition at line 181 of file ojph_arch.cpp.

Referenced by get_cpu_ext_level().

◆ error

◆ error_stream

FILE* ojph::error_stream = stderr

Definition at line 123 of file ojph_message.cpp.

Referenced by ojph::message_error::operator()(), and set_error_stream().

◆ info

message_info ojph::info

Definition at line 50 of file ojph_message.cpp.

Referenced by configure_info().

◆ info_stream

FILE* ojph::info_stream = stdout

Definition at line 47 of file ojph_message.cpp.

Referenced by ojph::message_info::operator()(), and set_info_stream().

◆ local_error

message_error& ojph::local_error = error

Definition at line 127 of file ojph_message.cpp.

Referenced by configure_error(), and get_error().

◆ local_info

message_info& ojph::local_info = info

Definition at line 51 of file ojph_message.cpp.

Referenced by configure_info(), and get_info().

◆ local_warn

message_warning& ojph::local_warn = warn

Definition at line 89 of file ojph_message.cpp.

Referenced by configure_warning(), and get_warning().

◆ log_byte_alignment

const ui32 ojph::log_byte_alignment = 31 - count_leading_zeros(byte_alignment)

Definition at line 202 of file ojph_arch.h.

◆ NUM_FRAC_BITS

const int ojph::NUM_FRAC_BITS = 13

Definition at line 67 of file ojph_defs.h.

◆ object_alignment

const ui32 ojph::object_alignment = 8

Definition at line 203 of file ojph_arch.h.

◆ OJPH_PN_STRING_BROADCAST

const char ojph::OJPH_PN_STRING_BROADCAST[] = "BROADCAST"

Definition at line 94 of file ojph_params_local.h.

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

◆ OJPH_PN_STRING_CINEMA2K

const char ojph::OJPH_PN_STRING_CINEMA2K[] = "CINEMA2K"

Definition at line 90 of file ojph_params_local.h.

◆ OJPH_PN_STRING_CINEMA4K

const char ojph::OJPH_PN_STRING_CINEMA4K[] = "CINEMA4K"

Definition at line 91 of file ojph_params_local.h.

◆ OJPH_PN_STRING_CINEMAS2K

const char ojph::OJPH_PN_STRING_CINEMAS2K[] = "CINEMAS2K"

Definition at line 92 of file ojph_params_local.h.

◆ OJPH_PN_STRING_CINEMAS4K

const char ojph::OJPH_PN_STRING_CINEMAS4K[] = "CINEMAS4K"

Definition at line 93 of file ojph_params_local.h.

◆ OJPH_PN_STRING_IMF

const char ojph::OJPH_PN_STRING_IMF[] = "IMF"

Definition at line 95 of file ojph_params_local.h.

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

◆ OJPH_PN_STRING_PROFILE0

const char ojph::OJPH_PN_STRING_PROFILE0[] = "PROFILE0"

Definition at line 88 of file ojph_params_local.h.

◆ OJPH_PN_STRING_PROFILE1

const char ojph::OJPH_PN_STRING_PROFILE1[] = "PROFILE1"

Definition at line 89 of file ojph_params_local.h.

◆ OJPH_PO_STRING_CPRL

const char ojph::OJPH_PO_STRING_CPRL[] = "CPRL"

◆ OJPH_PO_STRING_LRCP

const char ojph::OJPH_PO_STRING_LRCP[] = "LRCP"

◆ OJPH_PO_STRING_PCRL

const char ojph::OJPH_PO_STRING_PCRL[] = "PCRL"

◆ OJPH_PO_STRING_RLCP

const char ojph::OJPH_PO_STRING_RLCP[] = "RLCP"

◆ OJPH_PO_STRING_RPCL

const char ojph::OJPH_PO_STRING_RPCL[] = "RPCL"

◆ warn

message_warning ojph::warn

Definition at line 88 of file ojph_message.cpp.

Referenced by configure_warning().

◆ warning_stream

FILE* ojph::warning_stream = stdout

Definition at line 85 of file ojph_message.cpp.

Referenced by ojph::message_warning::operator()(), and set_warning_stream().