image.c File Reference

#include "opj_includes.h"

Functions

opj_image_topj_image_create0 (void)
 Create an empty image.
opj_image_t *OPJ_CALLCONV opj_image_create (int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc)
 Create an image.
void OPJ_CALLCONV opj_image_destroy (opj_image_t *image)
 Deallocate any resources associated with an image.

Function Documentation

opj_image_t* OPJ_CALLCONV opj_image_create ( int  numcmpts,
opj_image_cmptparm_t cmptparms,
OPJ_COLOR_SPACE  clrspc 
)

void OPJ_CALLCONV opj_image_destroy ( opj_image_t image  ) 

Deallocate any resources associated with an image.

Parameters:
image image to be destroyed

References opj_image::comps, opj_image_comp::data, opj_image::numcomps, and opj_free.

Referenced by j2k_decode(), j2k_decode_jpt_stream(), and opj_image_create().


Generated on Mon Dec 19 12:34:13 2016 for OpenJPEG by  doxygen 1.5.6