Merge remote-tracking branch 'uclouvain/master'
This commit is contained in:
commit
83e5e2703e
|
@ -9737,7 +9737,7 @@ static OPJ_BOOL opj_j2k_decode_one_tile ( opj_j2k_t *p_j2k,
|
||||||
|
|
||||||
if(l_current_tile_no == l_tile_no_to_dec)
|
if(l_current_tile_no == l_tile_no_to_dec)
|
||||||
{
|
{
|
||||||
/* move into the codestream to the the first SOT (FIXME or not move?)*/
|
/* move into the codestream to the first SOT (FIXME or not move?)*/
|
||||||
if (!(opj_stream_read_seek(p_stream, p_j2k->cstr_index->main_head_end + 2, p_manager) ) ) {
|
if (!(opj_stream_read_seek(p_stream, p_j2k->cstr_index->main_head_end + 2, p_manager) ) ) {
|
||||||
opj_event_msg(p_manager, EVT_ERROR, "Problem with seek function\n");
|
opj_event_msg(p_manager, EVT_ERROR, "Problem with seek function\n");
|
||||||
opj_free(l_current_data);
|
opj_free(l_current_data);
|
||||||
|
@ -10806,7 +10806,7 @@ OPJ_BOOL opj_j2k_write_tile (opj_j2k_t * p_j2k,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* now copy data into the the tile component */
|
/* now copy data into the tile component */
|
||||||
if (! opj_tcd_copy_tile_data(p_j2k->m_tcd,p_data,p_data_size)) {
|
if (! opj_tcd_copy_tile_data(p_j2k->m_tcd,p_data,p_data_size)) {
|
||||||
opj_event_msg(p_manager, EVT_ERROR, "Size mismatch between tile data and sent data." );
|
opj_event_msg(p_manager, EVT_ERROR, "Size mismatch between tile data and sent data." );
|
||||||
return OPJ_FALSE;
|
return OPJ_FALSE;
|
||||||
|
|
|
@ -136,10 +136,10 @@ static void opj_pi_update_encode_not_poc ( opj_cp_t *p_cp,
|
||||||
* @param p_tx1 pointer that will hold the X1 parameter for the tile
|
* @param p_tx1 pointer that will hold the X1 parameter for the tile
|
||||||
* @param p_ty0 pointer that will hold the Y0 parameter for the tile
|
* @param p_ty0 pointer that will hold the Y0 parameter for the tile
|
||||||
* @param p_ty1 pointer that will hold the Y1 parameter for the tile
|
* @param p_ty1 pointer that will hold the Y1 parameter for the tile
|
||||||
* @param p_max_prec pointer that will hold the the maximum precision for all the bands of the tile
|
* @param p_max_prec pointer that will hold the maximum precision for all the bands of the tile
|
||||||
* @param p_max_res pointer that will hold the the maximum number of resolutions for all the poc inside the tile.
|
* @param p_max_res pointer that will hold the maximum number of resolutions for all the poc inside the tile.
|
||||||
* @param p_dx_min pointer that will hold the the minimum dx of all the components of all the resolutions for the tile.
|
* @param p_dx_min pointer that will hold the minimum dx of all the components of all the resolutions for the tile.
|
||||||
* @param p_dy_min pointer that will hold the the minimum dy of all the components of all the resolutions for the tile.
|
* @param p_dy_min pointer that will hold the minimum dy of all the components of all the resolutions for the tile.
|
||||||
*/
|
*/
|
||||||
static void opj_get_encoding_parameters(const opj_image_t *p_image,
|
static void opj_get_encoding_parameters(const opj_image_t *p_image,
|
||||||
const opj_cp_t *p_cp,
|
const opj_cp_t *p_cp,
|
||||||
|
@ -167,10 +167,10 @@ static void opj_get_encoding_parameters(const opj_image_t *p_image,
|
||||||
* @param p_tx1 pointer that will hold the X1 parameter for the tile
|
* @param p_tx1 pointer that will hold the X1 parameter for the tile
|
||||||
* @param p_ty0 pointer that will hold the Y0 parameter for the tile
|
* @param p_ty0 pointer that will hold the Y0 parameter for the tile
|
||||||
* @param p_ty1 pointer that will hold the Y1 parameter for the tile
|
* @param p_ty1 pointer that will hold the Y1 parameter for the tile
|
||||||
* @param p_max_prec pointer that will hold the the maximum precision for all the bands of the tile
|
* @param p_max_prec pointer that will hold the maximum precision for all the bands of the tile
|
||||||
* @param p_max_res pointer that will hold the the maximum number of resolutions for all the poc inside the tile.
|
* @param p_max_res pointer that will hold the maximum number of resolutions for all the poc inside the tile.
|
||||||
* @param p_dx_min pointer that will hold the the minimum dx of all the components of all the resolutions for the tile.
|
* @param p_dx_min pointer that will hold the minimum dx of all the components of all the resolutions for the tile.
|
||||||
* @param p_dy_min pointer that will hold the the minimum dy of all the components of all the resolutions for the tile.
|
* @param p_dy_min pointer that will hold the minimum dy of all the components of all the resolutions for the tile.
|
||||||
* @param p_resolutions pointer to an area corresponding to the one described above.
|
* @param p_resolutions pointer to an area corresponding to the one described above.
|
||||||
*/
|
*/
|
||||||
static void opj_get_all_encoding_parameters(const opj_image_t *p_image,
|
static void opj_get_all_encoding_parameters(const opj_image_t *p_image,
|
||||||
|
|
|
@ -378,7 +378,7 @@ Read the structure of an MJ2 file
|
||||||
*/
|
*/
|
||||||
OPJ_API int OPJ_CALLCONV mj2_read_struct(FILE *file, opj_mj2_t *mj2);
|
OPJ_API int OPJ_CALLCONV mj2_read_struct(FILE *file, opj_mj2_t *mj2);
|
||||||
/**
|
/**
|
||||||
Write the the MOOV box to an output buffer stream
|
Write the MOOV box to an output buffer stream
|
||||||
@param movie MJ2 movie structure
|
@param movie MJ2 movie structure
|
||||||
@param cio Output buffer stream
|
@param cio Output buffer stream
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue