OpenJPEG  2.5.0
Data Structures | Typedefs | Functions
placeholder_manager.h File Reference
#include "byte_manager.h"
#include "box_manager.h"

Go to the source code of this file.

Data Structures

struct  placeholder_param
 A.3.6.3 Placeholder box format. More...
 
struct  placeholderlist_param
 placeholder box list parameters More...
 

Typedefs

typedef struct placeholder_param placeholder_param_t
 A.3.6.3 Placeholder box format. More...
 
typedef struct placeholderlist_param placeholderlist_param_t
 placeholder box list parameters More...
 

Functions

placeholderlist_param_tgene_placeholderlist (void)
 generate a placeholder list More...
 
void delete_placeholderlist (placeholderlist_param_t **list)
 delete placeholder list More...
 
placeholder_param_tgene_placeholder (box_param_t *box, Byte8_t origID)
 generate a placeholder of a box More...
 
void delete_placeholder (placeholder_param_t **placeholder)
 delete a placeholder More...
 
void insert_placeholder_into_list (placeholder_param_t *phld, placeholderlist_param_t *phldlist)
 
void print_placeholder (placeholder_param_t *phld)
 print placeholder parameters More...
 
void print_allplaceholder (placeholderlist_param_t *list)
 print all placeholder parameters More...
 

Typedef Documentation

◆ placeholder_param_t

A.3.6.3 Placeholder box format.

placeholder box parameters

◆ placeholderlist_param_t

placeholder box list parameters

Function Documentation

◆ delete_placeholder()

void delete_placeholder ( placeholder_param_t **  placeholder)

delete a placeholder

Parameters
[in,out]placeholderaddress of the placeholder pointer

Referenced by delete_placeholderlist().

◆ delete_placeholderlist()

void delete_placeholderlist ( placeholderlist_param_t **  list)

delete placeholder list

Parameters
[in,out]listaddress of the placeholder list pointer

References delete_placeholder(), and placeholder_param::next.

Referenced by delete_metadata().

◆ gene_placeholder()

placeholder_param_t* gene_placeholder ( box_param_t box,
Byte8_t  origID 
)

generate a placeholder of a box

Parameters
[in]boxbox pointer
[in]origIDmetadata-bin ID of the bin containing the contents of the original box
Returns
pointer to the generated placeholder

References fetch_headbytes(), placeholder_param::Flags, box_param::headlen, placeholder_param::LBox, placeholder_param::next, placeholder_param::OrigBH, placeholder_param::OrigBHlen, placeholder_param::OrigID, and placeholder_param::TBox.

Referenced by const_metadatalist().

◆ gene_placeholderlist()

placeholderlist_param_t* gene_placeholderlist ( void  )

generate a placeholder list

Returns
pointer to the generated placeholder list

References placeholderlist_param::first, and placeholderlist_param::last.

Referenced by const_metadatalist(), and parse_metadata().

◆ insert_placeholder_into_list()

void insert_placeholder_into_list ( placeholder_param_t phld,
placeholderlist_param_t phldlist 
)

◆ print_allplaceholder()

void print_allplaceholder ( placeholderlist_param_t list)

print all placeholder parameters

Parameters
[in]listplaceholder list pointer

References placeholderlist_param::first, logstream, placeholder_param::next, and print_placeholder().

Referenced by print_metadata().

◆ print_placeholder()

void print_placeholder ( placeholder_param_t phld)