OpenJPEG: manfbox_manager.c File Reference

OpenJPEG 2.1.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Functions
manfbox_manager.c File Reference
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include "manfbox_manager.h"`

## Macros
#define | FCGI_stdout stdout
#define | FCGI_stderr stderr
#define | logstream stderr

## Functions
manfbox_param_t * | gene_manfbox (box_param_t *box)
| generate manifest box More...
void | delete_manfbox (manfbox_param_t **manf)
| delete manifest box More...
void | print_manfbox (manfbox_param_t *manf)
| print manf box parameters More...
boxheader_param_t * | search_boxheader (const char type[], manfbox_param_t *manf)
| search a boxheader by box type from manifest box More...

## Macro Definition Documentation

#define FCGI_stderr stderr

Referenced by search_boxheader().

#define FCGI_stdout stdout

#define logstream stderr

## Function Documentation

void delete_manfbox | ( | manfbox_param_t ** | manf | ) |

delete manifest box

Parameters

  [in,out] | manf | addressof the manfbox pointer

References boxheader_param::next.

Referenced by set_cidxdata(), set_ppixdata(), and set_thixdata().

manfbox_param_t* gene_manfbox | ( | box_param_t * | box | ) |

generate manifest box

Parameters

  [in] | box | pointer to the reference manf box

Returns
  generated manfbox

References manfbox_param::first, gene_childboxheader(), get_DBoxlen(), boxheader_param::headlen, and boxheader_param::next.

Referenced by set_cidxdata(), set_ppixdata(), and set_thixdata().

void print_manfbox | ( | manfbox_param_t * | manf | ) |

print manf box parameters

Parameters

  [in] | manf | manf box pointer

References manfbox_param::first, boxheader_param::next, and print_boxheader().

boxheader_param_t* search_boxheader | ( | const char | type[],
|  | manfbox_param_t * | manf
| ) |  |

search a boxheader by box type from manifest box

Parameters

  [in] | type | box type
  [in] | manf | manf box pointer

Returns
  found box pointer

References FCGI_stderr, manfbox_param::first, boxheader_param::next, and boxheader_param::type.

Referenced by set_cidxdata(), and set_ppixdata().