Lines Matching refs:p_cstr_ind
8332 void j2k_destroy_cstr_index(opj_codestream_index_t *p_cstr_ind) in j2k_destroy_cstr_index() argument
8334 if (p_cstr_ind) { in j2k_destroy_cstr_index()
8336 if (p_cstr_ind->marker) { in j2k_destroy_cstr_index()
8337 opj_free(p_cstr_ind->marker); in j2k_destroy_cstr_index()
8338 p_cstr_ind->marker = NULL; in j2k_destroy_cstr_index()
8341 if (p_cstr_ind->tile_index) { in j2k_destroy_cstr_index()
8344 for (it_tile = 0; it_tile < p_cstr_ind->nb_of_tiles; it_tile++) { in j2k_destroy_cstr_index()
8346 if (p_cstr_ind->tile_index[it_tile].packet_index) { in j2k_destroy_cstr_index()
8347 opj_free(p_cstr_ind->tile_index[it_tile].packet_index); in j2k_destroy_cstr_index()
8348 p_cstr_ind->tile_index[it_tile].packet_index = NULL; in j2k_destroy_cstr_index()
8351 if (p_cstr_ind->tile_index[it_tile].tp_index) { in j2k_destroy_cstr_index()
8352 opj_free(p_cstr_ind->tile_index[it_tile].tp_index); in j2k_destroy_cstr_index()
8353 p_cstr_ind->tile_index[it_tile].tp_index = NULL; in j2k_destroy_cstr_index()
8356 if (p_cstr_ind->tile_index[it_tile].marker) { in j2k_destroy_cstr_index()
8357 opj_free(p_cstr_ind->tile_index[it_tile].marker); in j2k_destroy_cstr_index()
8358 p_cstr_ind->tile_index[it_tile].marker = NULL; in j2k_destroy_cstr_index()
8363 opj_free(p_cstr_ind->tile_index); in j2k_destroy_cstr_index()
8364 p_cstr_ind->tile_index = NULL; in j2k_destroy_cstr_index()
8367 opj_free(p_cstr_ind); in j2k_destroy_cstr_index()