/* ----------------------------------------------------------------------- */
-typedef OPJ_INT16 flag_t;
+typedef OPJ_INT16 opj_flag_t;
/**
Tier-1 coding (coding of code-block coefficients)
*/
typedef struct opj_t1 {
- /** codec context */
- opj_common_ptr cinfo; /* TODO MSD : TO BE REMOVED */
/** MQC component */
opj_mqc_t *mqc;
opj_raw_t *raw;
OPJ_INT32 *data;
- flag_t *flags;
+ opj_flag_t *flags;
OPJ_UINT32 w;
OPJ_UINT32 h;
OPJ_UINT32 datasize;
@param tcp Tile coding parameters
@param mct_norms FIXME DOC
*/
-opj_bool opj_t1_encode_cblks( opj_t1_t *t1,
- opj_tcd_tile_v2_t *tile,
- opj_tcp_v2_t *tcp,
+OPJ_BOOL opj_t1_encode_cblks( opj_t1_t *t1,
+ opj_tcd_tile_t *tile,
+ opj_tcp_t *tcp,
const OPJ_FLOAT64 * mct_norms);
/**
@param tilec The tile to decode
@param tccp Tile coding parameters
*/
-opj_bool opj_t1_decode_cblks( opj_t1_t* t1,
- opj_tcd_tilecomp_v2_t* tilec,
+OPJ_BOOL opj_t1_decode_cblks( opj_t1_t* t1,
+ opj_tcd_tilecomp_t* tilec,
opj_tccp_t* tccp);
* and initializes the look-up tables of the Tier-1 coder/decoder
* @return a new T1 handle if successful, returns NULL otherwise
*/
-opj_t1_t* opj_t1_create();
+opj_t1_t* opj_t1_create(void);
/**
* Destroys a previously created T1 handle