Lines Matching refs:it_tile
7537 OPJ_UINT32 it_tile = 0; in j2k_destroy_cstr_index() local
7539 for (it_tile=0; it_tile < p_cstr_ind->nb_of_tiles; it_tile++) { in j2k_destroy_cstr_index()
7541 if(p_cstr_ind->tile_index[it_tile].packet_index) { in j2k_destroy_cstr_index()
7542 opj_free(p_cstr_ind->tile_index[it_tile].packet_index); in j2k_destroy_cstr_index()
7543 p_cstr_ind->tile_index[it_tile].packet_index = NULL; in j2k_destroy_cstr_index()
7546 if(p_cstr_ind->tile_index[it_tile].tp_index){ in j2k_destroy_cstr_index()
7547 opj_free(p_cstr_ind->tile_index[it_tile].tp_index); in j2k_destroy_cstr_index()
7548 p_cstr_ind->tile_index[it_tile].tp_index = NULL; in j2k_destroy_cstr_index()
7551 if(p_cstr_ind->tile_index[it_tile].marker){ in j2k_destroy_cstr_index()
7552 opj_free(p_cstr_ind->tile_index[it_tile].marker); in j2k_destroy_cstr_index()
7553 p_cstr_ind->tile_index[it_tile].marker = NULL; in j2k_destroy_cstr_index()
9253 OPJ_UINT32 it_marker, it_tile, it_tile_part; in opj_j2k_dump_MH_index() local
9278 for (it_tile=0; it_tile < cstr_index->nb_of_tiles ; it_tile++){ in opj_j2k_dump_MH_index()
9279 l_acc_nb_of_tile_part += cstr_index->tile_index[it_tile].nb_tps; in opj_j2k_dump_MH_index()
9286 for (it_tile=0; it_tile < cstr_index->nb_of_tiles ; it_tile++){ in opj_j2k_dump_MH_index()
9287 OPJ_UINT32 nb_of_tile_part = cstr_index->tile_index[it_tile].nb_tps; in opj_j2k_dump_MH_index()
9289 … fprintf(out_stream, "\t\t nb of tile-part in tile [%d]=%d\n", it_tile, nb_of_tile_part); in opj_j2k_dump_MH_index()
9291 if (cstr_index->tile_index[it_tile].tp_index){ in opj_j2k_dump_MH_index()
9295 … cstr_index->tile_index[it_tile].tp_index[it_tile_part].start_pos, in opj_j2k_dump_MH_index()
9296 … cstr_index->tile_index[it_tile].tp_index[it_tile_part].end_header, in opj_j2k_dump_MH_index()
9297 … cstr_index->tile_index[it_tile].tp_index[it_tile_part].end_pos); in opj_j2k_dump_MH_index()
9301 if (cstr_index->tile_index[it_tile].marker){ in opj_j2k_dump_MH_index()
9302 … for (it_marker=0; it_marker < cstr_index->tile_index[it_tile].marknum ; it_marker++){ in opj_j2k_dump_MH_index()
9304 … cstr_index->tile_index[it_tile].marker[it_marker].type, in opj_j2k_dump_MH_index()
9305 … cstr_index->tile_index[it_tile].marker[it_marker].pos, in opj_j2k_dump_MH_index()
9306 … cstr_index->tile_index[it_tile].marker[it_marker].len ); in opj_j2k_dump_MH_index()
9488 OPJ_UINT32 it_tile = 0; in j2k_get_cstr_index() local
9489 for (it_tile = 0; it_tile < l_cstr_index->nb_of_tiles; it_tile++ ){ in j2k_get_cstr_index()
9492 … l_cstr_index->tile_index[it_tile].marknum = p_j2k->cstr_index->tile_index[it_tile].marknum; in j2k_get_cstr_index()
9494 l_cstr_index->tile_index[it_tile].marker = in j2k_get_cstr_index()
9495 …(opj_marker_info_t*)opj_malloc(l_cstr_index->tile_index[it_tile].marknum*sizeof(opj_marker_info_t)… in j2k_get_cstr_index()
9497 if (!l_cstr_index->tile_index[it_tile].marker) { in j2k_get_cstr_index()
9500 for (it_tile_free=0; it_tile_free < it_tile; it_tile_free++){ in j2k_get_cstr_index()
9510 if (p_j2k->cstr_index->tile_index[it_tile].marker) in j2k_get_cstr_index()
9511 memcpy( l_cstr_index->tile_index[it_tile].marker, in j2k_get_cstr_index()
9512 p_j2k->cstr_index->tile_index[it_tile].marker, in j2k_get_cstr_index()
9513 … l_cstr_index->tile_index[it_tile].marknum * sizeof(opj_marker_info_t) ); in j2k_get_cstr_index()
9515 opj_free(l_cstr_index->tile_index[it_tile].marker); in j2k_get_cstr_index()
9516 l_cstr_index->tile_index[it_tile].marker = NULL; in j2k_get_cstr_index()
9520 … l_cstr_index->tile_index[it_tile].nb_tps = p_j2k->cstr_index->tile_index[it_tile].nb_tps; in j2k_get_cstr_index()
9522 l_cstr_index->tile_index[it_tile].tp_index = in j2k_get_cstr_index()
9523 … (opj_tp_index_t*)opj_malloc(l_cstr_index->tile_index[it_tile].nb_tps*sizeof(opj_tp_index_t)); in j2k_get_cstr_index()
9525 if(!l_cstr_index->tile_index[it_tile].tp_index){ in j2k_get_cstr_index()
9528 for (it_tile_free=0; it_tile_free < it_tile; it_tile_free++){ in j2k_get_cstr_index()
9539 if (p_j2k->cstr_index->tile_index[it_tile].tp_index){ in j2k_get_cstr_index()
9540 memcpy( l_cstr_index->tile_index[it_tile].tp_index, in j2k_get_cstr_index()
9541 p_j2k->cstr_index->tile_index[it_tile].tp_index, in j2k_get_cstr_index()
9542 … l_cstr_index->tile_index[it_tile].nb_tps * sizeof(opj_tp_index_t) ); in j2k_get_cstr_index()
9545 opj_free(l_cstr_index->tile_index[it_tile].tp_index); in j2k_get_cstr_index()
9546 l_cstr_index->tile_index[it_tile].tp_index = NULL; in j2k_get_cstr_index()
9550 l_cstr_index->tile_index[it_tile].nb_packet = 0; in j2k_get_cstr_index()
9551 l_cstr_index->tile_index[it_tile].packet_index = NULL; in j2k_get_cstr_index()
9561 OPJ_UINT32 it_tile=0; in opj_j2k_allocate_tile_element_cstr_index() local
9568 for (it_tile=0; it_tile < p_j2k->cstr_index->nb_of_tiles; it_tile++){ in opj_j2k_allocate_tile_element_cstr_index()
9569 p_j2k->cstr_index->tile_index[it_tile].maxmarknum = 100; in opj_j2k_allocate_tile_element_cstr_index()
9570 p_j2k->cstr_index->tile_index[it_tile].marknum = 0; in opj_j2k_allocate_tile_element_cstr_index()
9571 p_j2k->cstr_index->tile_index[it_tile].marker = (opj_marker_info_t*) in opj_j2k_allocate_tile_element_cstr_index()
9572 … opj_calloc(p_j2k->cstr_index->tile_index[it_tile].maxmarknum, sizeof(opj_marker_info_t)); in opj_j2k_allocate_tile_element_cstr_index()
9573 if (!p_j2k->cstr_index->tile_index[it_tile].marker) in opj_j2k_allocate_tile_element_cstr_index()