A wrapper of libopenjpeg's opj_image_t.
More...
#include <openjpeg_image.h>
|
opj_image_t * | _opj_image = nullptr |
| opj_image_t that we are managing
|
|
A wrapper of libopenjpeg's opj_image_t.
Definition at line 53 of file openjpeg_image.h.
◆ OpenJPEGImage() [1/3]
OpenJPEGImage::OpenJPEGImage |
( |
opj_image_t * |
image | ) |
|
|
explicit |
◆ OpenJPEGImage() [2/3]
OpenJPEGImage::OpenJPEGImage |
( |
Size |
size | ) |
|
|
explicit |
◆ OpenJPEGImage() [3/3]
OpenJPEGImage::OpenJPEGImage |
( |
uint8_t const * |
in_16, |
|
|
dcp::Size |
size, |
|
|
int |
stride |
|
) |
| |
- Parameters
-
data_16 | XYZ/RGB image data in packed 16:16:16, 48bpp with the 2-byte value for each component stored as little-endian |
Definition at line 96 of file openjpeg_image.cc.
◆ data()
int * OpenJPEGImage::data |
( |
int |
c | ) |
const |
- Parameters
-
c | Component index (0, 1 or 2) |
- Returns
- Pointer to the data for component c.
Definition at line 151 of file openjpeg_image.cc.
◆ opj_image()
opj_image_t* dcp::OpenJPEGImage::opj_image |
( |
| ) |
const |
|
inline |
- Returns
- Pointer to opj_image_t struct. The caller must not delete this.
Definition at line 88 of file openjpeg_image.h.
◆ size()
The documentation for this class was generated from the following files: