\doxysection{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.  




{\ttfamily \#include $<$codec.\+h$>$}

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int \textbf{ width}
\begin{DoxyCompactList}\small\item\em The width of this plane. \end{DoxyCompactList}\item 
int \textbf{ height}
\begin{DoxyCompactList}\small\item\em The height of this plane. \end{DoxyCompactList}\item 
int \textbf{ stride}
\begin{DoxyCompactList}\small\item\em The offset in bytes between successive rows. \end{DoxyCompactList}\item 
unsigned char $\ast$ \textbf{ data}
\begin{DoxyCompactList}\small\item\em A pointer to the beginning of the first row. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\doxysubsection{Field Documentation}
\index{th\_img\_plane@{th\_img\_plane}!data@{data}}
\index{data@{data}!th\_img\_plane@{th\_img\_plane}}
\doxysubsubsection{data}
{\footnotesize\ttfamily \label{structth__img__plane_af8133681516ce88b5a201c1b4b7e6ba2} 
unsigned char$\ast$ th\+\_\+img\+\_\+plane\+::data}



A pointer to the beginning of the first row. 

\index{th\_img\_plane@{th\_img\_plane}!height@{height}}
\index{height@{height}!th\_img\_plane@{th\_img\_plane}}
\doxysubsubsection{height}
{\footnotesize\ttfamily \label{structth__img__plane_a21aea1367894468de489d529d7eaf44d} 
int th\+\_\+img\+\_\+plane\+::height}



The height of this plane. 

\index{th\_img\_plane@{th\_img\_plane}!stride@{stride}}
\index{stride@{stride}!th\_img\_plane@{th\_img\_plane}}
\doxysubsubsection{stride}
{\footnotesize\ttfamily \label{structth__img__plane_ab1100f071ffee3b37e07e3222f819bad} 
int th\+\_\+img\+\_\+plane\+::stride}



The offset in bytes between successive rows. 

\index{th\_img\_plane@{th\_img\_plane}!width@{width}}
\index{width@{width}!th\_img\_plane@{th\_img\_plane}}
\doxysubsubsection{width}
{\footnotesize\ttfamily \label{structth__img__plane_a58cc297a99cd4594c3d30e56f2ed6b74} 
int th\+\_\+img\+\_\+plane\+::width}



The width of this plane. 



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\textbf{ codec.\+h}\end{DoxyCompactItemize}
