OpenJPEG  2.5.3
Data Structures | Macros | Typedefs | Functions | Variables
t1_ht_generate_luts.c File Reference
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <stdint.h>

Data Structures

struct  vlc_src_table
 HT decoding tables, as given in the standard. More...
 

Macros

#define OPJ_TRUE   1
 
#define OPJ_FALSE   0
 

Typedefs

typedef int8_t OPJ_INT8
 
typedef uint8_t OPJ_UINT8
 
typedef int16_t OPJ_INT16
 
typedef uint16_t OPJ_UINT16
 
typedef int32_t OPJ_INT32
 
typedef uint32_t OPJ_UINT32
 
typedef int64_t OPJ_INT64
 
typedef uint64_t OPJ_UINT64
 
typedef int OPJ_BOOL
 
typedef struct vlc_src_table vlc_src_table_t
 HT decoding tables, as given in the standard. More...
 

Functions

OPJ_BOOL vlc_init_tables ()
 Initializes vlc_tbl0 and vlc_tbl1 tables, from table0.h and table1.h. More...
 

Variables

static vlc_src_table_t tbl0 []
 
static vlc_src_table_t tbl1 []
 
int vlc_tbl0 [1024] = { 0 }
 vlc_tbl0 contains decoding information for initial row of quads More...
 
int vlc_tbl1 [1024] = { 0 }
 vlc_tbl1 contains decoding information for non-initial row of quads More...
 
OPJ_BOOL vlc_tables_initialized = OPJ_FALSE
 Initializes VLC tables vlc_tbl0 and vlc_tbl1. More...
 

Macro Definition Documentation

◆ OPJ_FALSE

#define OPJ_FALSE   0

Referenced by vlc_init_tables().

◆ OPJ_TRUE

#define OPJ_TRUE   1

Referenced by vlc_init_tables().

Typedef Documentation

◆ OPJ_BOOL

typedef int OPJ_BOOL

◆ OPJ_INT16

typedef int16_t OPJ_INT16

◆ OPJ_INT32

typedef int32_t OPJ_INT32

◆ OPJ_INT64

typedef int64_t OPJ_INT64

◆ OPJ_INT8

typedef int8_t OPJ_INT8

◆ OPJ_UINT16

typedef uint16_t OPJ_UINT16

◆ OPJ_UINT32

typedef uint32_t OPJ_UINT32

◆ OPJ_UINT64

typedef uint64_t OPJ_UINT64

◆ OPJ_UINT8

typedef uint8_t OPJ_UINT8

◆ vlc_src_table_t

HT decoding tables, as given in the standard.

Data in the table is arranged in this format: c_q is the context for a quad rho is the signficance pattern for a quad u_off indicate if u value is 0 (u_off is 0), or communicated e_k, e_1 EMB patterns cwd VLC codeword cwd VLC codeword length

Variable Documentation

◆ tbl0

vlc_src_table_t tbl0[]
static

Referenced by vlc_init_tables().

◆ tbl1

vlc_src_table_t tbl1[]
static

Referenced by vlc_init_tables().