\section{th\_\-img\_\-plane Struct Reference}
\label{structth__img__plane}\index{th_img_plane@{th\_\-img\_\-plane}}
A buffer for a single color plane in an uncompressed image.  


{\tt \#include $<$codec.h$>$}

\subsection*{Data Fields}
\begin{CompactItemize}
\item 
int {\bf width}\label{structth__img__plane_e0e5bae947d0730050278cd5e803486d}

\begin{CompactList}\small\item\em The width of this plane. \item\end{CompactList}\item 
int {\bf height}\label{structth__img__plane_e39fc8a15cb4382ed5ae2fd1e4b0b38a}

\begin{CompactList}\small\item\em The height of this plane. \item\end{CompactList}\item 
int {\bf ystride}\label{structth__img__plane_9967c9c2ba777fffc8b83ef38743b6ea}

\begin{CompactList}\small\item\em The offset in bytes between successive rows. \item\end{CompactList}\item 
unsigned char $\ast$ {\bf data}\label{structth__img__plane_db084e0d8b3c6eb8b591a162be301df5}

\begin{CompactList}\small\item\em A pointer to the beginning of the first row. \item\end{CompactList}\end{CompactItemize}


\subsection{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 {\em ystride\/} to compute the offset of the next row. The encoder accepts both positive {\em 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:\begin{CompactItemize}
\item 
{\bf codec.h}\end{CompactItemize}
