OpenJPEG  2.5.0
Public Member Functions | Data Fields
opj_image_comp Struct Reference

Defines a single image component. More...

#include <openjpeg.h>

Public Member Functions

 OPJ_DEPRECATED_STRUCT_MEMBER (OPJ_UINT32 bpp, "Use prec instead")
 obsolete: use prec instead More...
 

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: number of bits per component per pixel 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.

Member Function Documentation

◆ OPJ_DEPRECATED_STRUCT_MEMBER()

opj_image_comp::OPJ_DEPRECATED_STRUCT_MEMBER ( OPJ_UINT32  bpp,
"Use prec instead"   
)

obsolete: use prec instead

Field Documentation

◆ alpha

OPJ_UINT16 opj_image_comp::alpha

alpha channel

Referenced by opj_jp2_apply_cdef(), and opj_jp2_setup_encoder().

◆ data

OPJ_INT32* opj_image_comp::data

◆ dx

OPJ_UINT32 opj_image_comp::dx

◆ dy

OPJ_UINT32 opj_image_comp::dy

◆ factor

OPJ_UINT32 opj_image_comp::factor

◆ h

OPJ_UINT32 opj_image_comp::h

◆ prec

OPJ_UINT32 opj_image_comp::prec

◆ resno_decoded

OPJ_UINT32 opj_image_comp::resno_decoded

◆ sgnd

OPJ_UINT32 opj_image_comp::sgnd

◆ w

OPJ_UINT32 opj_image_comp::w

◆ x0

OPJ_UINT32 opj_image_comp::x0

◆ y0

OPJ_UINT32 opj_image_comp::y0

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