OpenJPEG 2.5.3
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
 

Data Fields

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

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

◆ dx

◆ dy

◆ factor

◆ h

◆ prec

◆ resno_decoded

◆ sgnd

◆ w

◆ x0

◆ y0


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