/** Cache model parameters*/
typedef struct cachemodel_param{
target_param_t *target; /**< reference pointer to the target*/
- opj_bool jppstream; /**< return type, true: JPP-stream, false: JPT-stream*/
- opj_bool mhead_model; /**< main header model, if sent, 1, else 0*/
- opj_bool *tp_model; /**< dynamic array pointer of tile part model, if sent, 1, else 0*/
- opj_bool *th_model; /**< dynamic array pointer of tile header model*/
- opj_bool **pp_model; /**< dynamic array pointer of precint packet model*/
+ OPJ_BOOL jppstream; /**< return type, true: JPP-stream, false: JPT-stream*/
+ OPJ_BOOL mhead_model; /**< main header model, if sent, 1, else 0*/
+ OPJ_BOOL *tp_model; /**< dynamic array pointer of tile part model, if sent, 1, else 0*/
+ OPJ_BOOL *th_model; /**< dynamic array pointer of tile header model*/
+ OPJ_BOOL **pp_model; /**< dynamic array pointer of precint packet model*/
struct cachemodel_param *next; /**< pointer to the next cache model*/
} cachemodel_param_t;
* @param[in] reqJPP if JPP-stream is desired true, JPT-stream false
* @return pointer to the generated cache model
*/
-cachemodel_param_t * gene_cachemodel( cachemodellist_param_t *cachemodellist, target_param_t *target, opj_bool reqJPP);
+cachemodel_param_t * gene_cachemodel( cachemodellist_param_t *cachemodellist, target_param_t *target, OPJ_BOOL reqJPP);
/**
* @param[in] cachemodel cache model
* @return true if sent all, false otherwise
*/
-opj_bool is_allsent( cachemodel_param_t cachemodel);
+OPJ_BOOL is_allsent( cachemodel_param_t cachemodel);
/**