remove deprecated v1 style function jp2_destroy_decompress
This commit is contained in:
parent
863aacaee3
commit
6822291f91
|
@ -2227,21 +2227,6 @@ static void write_iptr( int offset, int length, opj_cio_t *cio)
|
|||
/* JP2 decoder interface */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
void jp2_destroy_decompress(opj_jp2_t *jp2) {
|
||||
if(jp2) {
|
||||
/* destroy the J2K codec */
|
||||
j2k_destroy_decompress(jp2->j2k);
|
||||
|
||||
if(jp2->comps) {
|
||||
opj_free(jp2->comps);
|
||||
}
|
||||
if(jp2->cl) {
|
||||
opj_free(jp2->cl);
|
||||
}
|
||||
opj_free(jp2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void opj_jp2_setup_decoder(opj_jp2_v2_t *jp2, opj_dparameters_t *parameters)
|
||||
{
|
||||
|
|
|
@ -281,12 +281,6 @@ Read the JP2H box - JP2 Header box (used in MJ2)
|
|||
*/
|
||||
opj_bool jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_color_t *color);
|
||||
|
||||
/**
|
||||
Destroy a JP2 decompressor handle
|
||||
@param jp2 JP2 decompressor handle to destroy
|
||||
*/
|
||||
void jp2_destroy_decompress(opj_jp2_t *jp2);
|
||||
|
||||
/**
|
||||
Setup the decoder decoding parameters using user parameters.
|
||||
Decoding parameters are returned in jp2->j2k->cp.
|
||||
|
|
Loading…
Reference in New Issue