int dx
XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.
Definition: openjpeg.h:559
#define opj_free(m)
Deallocates or frees a memory block.
Definition: opj_malloc.h:152
#define opj_malloc(size)
Allocate an uninitialized memory block.
Definition: opj_malloc.h:51
int prec
precision
Definition: openjpeg.h:517
Component parameters structure used by the opj_image_create function.
Definition: openjpeg.h:557
OPJ_COLOR_SPACE color_space
color space: sRGB, Greyscale or YUV
Definition: openjpeg.h:545
int dx
XRsiz: horizontal separation of a sample of ith component with respect to the reference grid.
Definition: openjpeg.h:505
Defines a single image component.
Definition: openjpeg.h:503
#define opj_calloc(num, size)
Allocate a memory block with elements initialized to 0.
Definition: opj_malloc.h:63
int sgnd
signed (1) / unsigned (0)
Definition: openjpeg.h:521
int w
data width
Definition: openjpeg.h:563
int bpp
image depth in bits
Definition: openjpeg.h:519
int w
data width
Definition: openjpeg.h:509
int x0
x component offset compared to the whole image
Definition: openjpeg.h:513
void OPJ_CALLCONV opj_image_destroy(opj_image_t *image)
Deallocate any resources associated with an image.
Definition: image.c:73
int y0
y component offset compared to the whole image
Definition: openjpeg.h:515
opj_image_t * opj_image_create0(void)
Create an empty image.
Definition: image.c:29
int y0
y component offset compared to the whole image
Definition: openjpeg.h:569
int dy
YRsiz: vertical separation of a sample of ith component with respect to the reference grid.
Definition: openjpeg.h:507
int prec
precision
Definition: openjpeg.h:571
int * data
image component data
Definition: openjpeg.h:527
int bpp
image depth in bits
Definition: openjpeg.h:573
enum COLOR_SPACE OPJ_COLOR_SPACE
Supported image color spaces.
int h
data height
Definition: openjpeg.h:511
opj_image_comp_t * comps
image components
Definition: openjpeg.h:547
int h
data height
Definition: openjpeg.h:565
int dy
YRsiz: vertical separation of a sample of ith component with respect to the reference grid.
Definition: openjpeg.h:561
int sgnd
signed (1) / unsigned (0)
Definition: openjpeg.h:575
opj_image_t * opj_image_create0(void)
Create an empty image.
Definition: image.c:29
#define OPJ_CALLCONV
Definition: openjpeg.h:45
opj_image_t *OPJ_CALLCONV opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc)
Create an image.
Definition: image.c:34
Defines image data and characteristics.
Definition: openjpeg.h:533
int numcomps
number of components in the image
Definition: openjpeg.h:543
int x0
x component offset compared to the whole image
Definition: openjpeg.h:567