OpenJPEG  2.2.0
Data Fields
opj_image_comp Struct Reference

Defines a single image component. More...

#include <openjpeg.h>

Data Fields

OPJ_UINT32 dx
 XRsiz: horizontal separation of a sample of ith component with respect to the reference grid. More...
 
OPJ_UINT32 dy
 YRsiz: vertical separation of a sample of ith component with respect to the reference grid. More...
 
OPJ_UINT32 w
 data width More...
 
OPJ_UINT32 h
 data height More...
 
OPJ_UINT32 x0
 x component offset compared to the whole image More...
 
OPJ_UINT32 y0
 y component offset compared to the whole image More...
 
OPJ_UINT32 prec
 precision More...
 
OPJ_UINT32 bpp
 image depth in bits More...
 
OPJ_UINT32 sgnd
 signed (1) / unsigned (0) More...
 
OPJ_UINT32 resno_decoded
 number of decoded resolution More...
 
OPJ_UINT32 factor
 number of division by 2 of the out image compared to the original size of image More...
 
OPJ_INT32data
 image component data More...
 
OPJ_UINT16 alpha
 alpha channel More...
 

Detailed Description

Defines a single image component.

Field Documentation

OPJ_UINT16 opj_image_comp::alpha

alpha channel

Referenced by opj_jp2_apply_cdef(), and opj_jp2_setup_encoder().

OPJ_UINT32 opj_image_comp::bpp

image depth in bits

Referenced by opj_image_create(), and opj_j2k_is_cinema_compliant().

OPJ_INT32* opj_image_comp::data
OPJ_UINT32 opj_image_comp::dx
OPJ_UINT32 opj_image_comp::dy
OPJ_UINT32 opj_image_comp::factor
OPJ_UINT32 opj_image_comp::h
OPJ_UINT32 opj_image_comp::prec
OPJ_UINT32 opj_image_comp::resno_decoded
OPJ_UINT32 opj_image_comp::sgnd
OPJ_UINT32 opj_image_comp::w
OPJ_UINT32 opj_image_comp::x0
OPJ_UINT32 opj_image_comp::y0

The documentation for this struct was generated from the following file: