| OLD | NEW |
| 1 /* | 1 /* |
| 2 * The copyright in this software is being made available under the 2-clauses | 2 * The copyright in this software is being made available under the 2-clauses |
| 3 * BSD License, included below. This software may be subject to other third | 3 * BSD License, included below. This software may be subject to other third |
| 4 * party and contributor rights, including patent rights, and no such rights | 4 * party and contributor rights, including patent rights, and no such rights |
| 5 * are granted under this license. | 5 * are granted under this license. |
| 6 * | 6 * |
| 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium | 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium |
| 8 * Copyright (c) 2002-2014, Professor Benoit Macq | 8 * Copyright (c) 2002-2014, Professor Benoit Macq |
| 9 * Copyright (c) 2001-2003, David Janssens | 9 * Copyright (c) 2001-2003, David Janssens |
| 10 * Copyright (c) 2002-2003, Yannick Verschueren | 10 * Copyright (c) 2002-2003, Yannick Verschueren |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 OPJ_UINT32 numpasses; /* Number of passes in the layer */ | 80 OPJ_UINT32 numpasses; /* Number of passes in the layer */ |
| 81 OPJ_UINT32 len; /* len of information */ | 81 OPJ_UINT32 len; /* len of information */ |
| 82 OPJ_FLOAT64 disto; /* add for index (Cfr. Marcela)
*/ | 82 OPJ_FLOAT64 disto; /* add for index (Cfr. Marcela)
*/ |
| 83 OPJ_BYTE *data; /* data */ | 83 OPJ_BYTE *data; /* data */ |
| 84 } opj_tcd_layer_t; | 84 } opj_tcd_layer_t; |
| 85 | 85 |
| 86 /** | 86 /** |
| 87 FIXME DOC | 87 FIXME DOC |
| 88 */ | 88 */ |
| 89 typedef struct opj_tcd_cblk_enc { | 89 typedef struct opj_tcd_cblk_enc { |
| 90 » OPJ_BYTE* data;»» » » » /* Data */ | 90 » OPJ_BYTE* data; /* Data */ |
| 91 » opj_tcd_layer_t* layers;» » /* layer information */ | 91 » opj_tcd_layer_t* layers; /* layer information */ |
| 92 » opj_tcd_pass_t* passes;»» /* information about the passes */ | 92 » opj_tcd_pass_t* passes; /* information about the passes */ |
| 93 » OPJ_INT32 x0, y0, x1, y1;» » /* dimension of the code-blocks
: left upper corner (x0, y0) right low corner (x1,y1) */ | 93 » OPJ_INT32 x0, y0, x1, y1; /* dimension of the code-blocks : left upp
er corner (x0, y0) right low corner (x1,y1) */ |
| 94 OPJ_UINT32 numbps; | 94 OPJ_UINT32 numbps; |
| 95 OPJ_UINT32 numlenbits; | 95 OPJ_UINT32 numlenbits; |
| 96 » OPJ_UINT32 numpasses;» » » /* number of pass already done f
or the code-blocks */ | 96 » OPJ_UINT32 data_size; /* Size of allocated data buffer */ |
| 97 » OPJ_UINT32 numpassesinlayers;» /* number of passes in the layer */ | 97 » OPJ_UINT32 numpasses; /* number of pass already done for the cod
e-blocks */ |
| 98 » OPJ_UINT32 totalpasses;»» » /* total number of passes */ | 98 » OPJ_UINT32 numpassesinlayers; /* number of passes in the layer */ |
| 99 » OPJ_UINT32 totalpasses;» /* total number of passes */ |
| 99 } opj_tcd_cblk_enc_t; | 100 } opj_tcd_cblk_enc_t; |
| 100 | 101 |
| 101 | 102 |
| 102 typedef struct opj_tcd_cblk_dec { | 103 typedef struct opj_tcd_cblk_dec { |
| 103 OPJ_BYTE * data; /* Data */ | 104 OPJ_BYTE * data; /* Data */ |
| 104 opj_tcd_seg_t* segs; /* segments information */ | 105 opj_tcd_seg_t* segs; /* segments information */ |
| 105 OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks :
left upper corner (x0, y0) right low corner (x1,y1) */ | 106 OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks :
left upper corner (x0, y0) right low corner (x1,y1) */ |
| 106 OPJ_UINT32 numbps; | 107 OPJ_UINT32 numbps; |
| 107 OPJ_UINT32 numlenbits; | 108 OPJ_UINT32 numlenbits; |
| 108 OPJ_UINT32 data_max_size;» » /* Size of allocated data buffer */ | 109 » OPJ_UINT32 data_max_size;» » /* Size of allocated data buffer
*/ |
| 109 OPJ_UINT32 data_current_size; /* Size of used data buffer */ | 110 OPJ_UINT32 data_current_size; /* Size of used data buffer */ |
| 110 OPJ_UINT32 numnewpasses; /* number of pass added to the c
ode-blocks */ | 111 OPJ_UINT32 numnewpasses; /* number of pass added to the c
ode-blocks */ |
| 111 OPJ_UINT32 numsegs; /* number of segments */ | 112 OPJ_UINT32 numsegs; /* number of segments */ |
| 112 OPJ_UINT32 real_num_segs; | 113 OPJ_UINT32 real_num_segs; |
| 113 OPJ_UINT32 m_current_max_segs; | 114 OPJ_UINT32 m_current_max_segs; |
| 114 } opj_tcd_cblk_dec_t; | 115 } opj_tcd_cblk_dec_t; |
| 115 | 116 |
| 116 /** | 117 /** |
| 117 FIXME DOC | 118 FIXME DOC |
| 118 */ | 119 */ |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 * | 356 * |
| 356 */ | 357 */ |
| 357 OPJ_BOOL opj_alloc_tile_component_data(opj_tcd_tilecomp_t *l_tilec); | 358 OPJ_BOOL opj_alloc_tile_component_data(opj_tcd_tilecomp_t *l_tilec); |
| 358 | 359 |
| 359 /* ----------------------------------------------------------------------- */ | 360 /* ----------------------------------------------------------------------- */ |
| 360 /*@}*/ | 361 /*@}*/ |
| 361 | 362 |
| 362 /*@}*/ | 363 /*@}*/ |
| 363 | 364 |
| 364 #endif /* __TCD_H */ | 365 #endif /* __TCD_H */ |
| OLD | NEW |