OpenJPEG  2.5.0
Macros | Functions
mhixbox_manager.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "mhixbox_manager.h"
#include "opj_inttypes.h"

Macros

#define FCGI_stdout   stdout
 
#define FCGI_stderr   stderr
 
#define logstream   stderr
 

Functions

mhixbox_param_tgene_mhixbox (box_param_t *box)
 generate mhix box More...
 
markeridx_param_tsearch_markeridx (Byte2_t code, mhixbox_param_t *mhix)
 search a marker index by marker code from mhix box More...
 
void print_mhixbox (mhixbox_param_t *mhix)
 print mhix box parameters More...
 
void print_markeridx (markeridx_param_t *markeridx)
 print marker index parameters More...
 
void delete_mhixbox (mhixbox_param_t **mhix)
 delete mhix box More...
 

Macro Definition Documentation

◆ FCGI_stderr

#define FCGI_stderr   stderr

◆ FCGI_stdout

#define FCGI_stdout   stdout

◆ logstream

#define logstream   stderr

Function Documentation

◆ delete_mhixbox()

void delete_mhixbox ( mhixbox_param_t **  mhix)

delete mhix box

Parameters
[in,out]mhixaddress of the mhix box pointer

References markeridx_param::next.

Referenced by delete_index(), and set_mainmhixdata().

◆ gene_mhixbox()

mhixbox_param_t* gene_mhixbox ( box_param_t box)

◆ print_markeridx()

void print_markeridx ( markeridx_param_t markeridx)

print marker index parameters

Parameters
[in]markeridxmarker index pointer

References markeridx_param::code, markeridx_param::length, logstream, markeridx_param::num_remain, and markeridx_param::offset.

◆ print_mhixbox()

void print_mhixbox ( mhixbox_param_t mhix)

◆ search_markeridx()

markeridx_param_t* search_markeridx ( Byte2_t  code,
mhixbox_param_t mhix 
)

search a marker index by marker code from mhix box

Parameters
[in]codemarker code
[in]mhixmhix box pointer
Returns
found marker index pointer

References markeridx_param::code, FCGI_stderr, mhixbox_param::first, and markeridx_param::next.

Referenced by set_mainmhixdata().