Lines Matching refs:p_cstr_ind
7527 void j2k_destroy_cstr_index (opj_codestream_index_t *p_cstr_ind) in j2k_destroy_cstr_index() argument
7529 if (p_cstr_ind) { in j2k_destroy_cstr_index()
7531 if (p_cstr_ind->marker) { in j2k_destroy_cstr_index()
7532 opj_free(p_cstr_ind->marker); in j2k_destroy_cstr_index()
7533 p_cstr_ind->marker = NULL; in j2k_destroy_cstr_index()
7536 if (p_cstr_ind->tile_index) { in j2k_destroy_cstr_index()
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()
7558 opj_free( p_cstr_ind->tile_index); in j2k_destroy_cstr_index()
7559 p_cstr_ind->tile_index = NULL; in j2k_destroy_cstr_index()
7562 opj_free(p_cstr_ind); in j2k_destroy_cstr_index()