th_img_plane Struct Reference

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 ystride
 The offset in bytes between successive rows.
unsigned char * data
 A pointer to the beginning of the first row.


Detailed Description

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 ystride to compute the offset of the next row. The encoder accepts both positive ystride values (top-down in memory) and negative (bottom-up in memory). The decoder currently always generates images with positive strides.


The documentation for this struct was generated from the following file:
Generated on Mon Sep 17 23:54:52 2007 for libtheora by  doxygen 1.5.1