A buffer for a single color plane in an uncompressed image. More...
#include <codec.h>
Data Fields | |
int | width |
The width of this plane. | |
int | height |
The height of this plane. | |
int | stride |
The offset in bytes between successive rows. | |
unsigned char * | data |
A pointer to the beginning of the first row. |
A buffer for a single color plane in an uncompressed image.
This contains the image data in a left-to-right, top-down format. Each row of pixels is stored contiguously in memory, but successive rows need not be. Use stride to compute the offset of the next row. The encoder accepts both positive stride values (top-down in memory) and negative (bottom-up in memory). The decoder currently always generates images with positive strides.
unsigned char* th_img_plane::data |
A pointer to the beginning of the first row.
The height of this plane.
The offset in bytes between successive rows.
The width of this plane.