![]() |
Phenom Programming Interface
|
Image descriptor struct. More...
#include <PhenomTypes.h>
Public Types | |
typedef boost::shared_ptr< Image > | ptr |
Public Member Functions | |
Image (int width, int height, Encoding encoding, int stride_x, int stride_y, void *data) | |
Public Attributes | |
int | width |
Width of the image in pixels. | |
int | height |
Height of the image in pixels. | |
Encoding | encoding |
Encoding of the pixels. | |
int | stride_x |
Distance from one pixel to the one right next to it, in bytes. | |
int | stride_y |
Distance from one pixel to the one right below it, in bytes. | |
void * | data |
Pointer to the pixel data. |
Image descriptor struct.