\hypertarget{group___mmal_format}{}\section{Elementary stream format}
\label{group___mmal_format}\index{Elementary stream format@{Elementary stream format}}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_m_m_a_l___v_i_d_e_o___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\item 
struct \mbox{\hyperlink{struct_m_m_a_l___a_u_d_i_o___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\item 
struct \mbox{\hyperlink{struct_m_m_a_l___s_u_b_p_i_c_t_u_r_e___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\item 
union \mbox{\hyperlink{union_m_m_a_l___e_s___s_p_e_c_i_f_i_c___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+S\+P\+E\+C\+I\+F\+I\+C\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\item 
struct \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct_m_m_a_l___a_u_d_i_o___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} \mbox{\hyperlink{group___mmal_format_gaa895b350ae663d987703d3a7fa4ebd5b}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\item 
typedef struct \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} \mbox{\hyperlink{group___mmal_format_ga15006eec3a27df4f6a5481da1343ea65}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group___mmal_format_ga838de933ae805a000d9986dc569897d4}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T}} \{ \newline
\mbox{\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN}}, 
\mbox{\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL}}, 
\mbox{\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO}}, 
\mbox{\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO}}, 
\newline
\mbox{\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE}}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$ \mbox{\hyperlink{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}{mmal\+\_\+format\+\_\+alloc}} (void)
\item 
void \mbox{\hyperlink{group___mmal_format_ga98d1789190f3ed7b61a57fc329a53119}{mmal\+\_\+format\+\_\+free}} (\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{group___mmal_format_ga23bf07631a1ee50f34bef31bf1b0c935}{mmal\+\_\+format\+\_\+extradata\+\_\+alloc}} (\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format, unsigned int size)
\item 
void \mbox{\hyperlink{group___mmal_format_ga93daad91e3f07502999f8fc19b29f371}{mmal\+\_\+format\+\_\+copy}} (\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+dest, \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+src)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{group___mmal_format_ga2baed477a3948426bf494adddac68bea}{mmal\+\_\+format\+\_\+full\+\_\+copy}} (\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+dest, \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+src)
\item 
uint32\+\_\+t \mbox{\hyperlink{group___mmal_format_ga914d86b90be03274514272f0ea04dc28}{mmal\+\_\+format\+\_\+compare}} (\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+1, \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$format\+\_\+2)
\end{DoxyCompactItemize}
\subsection*{Elementary stream flags}
\label{_amgrp56619f2aa59596e89e032636ae3dbded}%
\label{group___mmal_format_elementarystreamflags}%
\Hypertarget{group___mmal_format_elementarystreamflags}%
The following flags describe properties of an elementary stream \begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga26178f5c56486c3e5db7f5f7c90598a0}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED}}~0x1
\end{DoxyCompactItemize}
\subsection*{Undefined encoding value.}
\label{_amgrpd85bfcc5190caa88760a407112ab237a}%
This value indicates an unknown encoding \begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group___mmal_format_gab827d5b622dd1dbbd5937dc8d7eb4034}\label{group___mmal_format_gab827d5b622dd1dbbd5937dc8d7eb4034}} 
\#define {\bfseries M\+M\+A\+L\+\_\+\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+U\+N\+K\+N\+O\+WN}~0
\end{DoxyCompactItemize}
\subsection*{Default encoding variant value.}
\label{_amgrp29fb6556ded6cbe51b21c30d92174afb}%
This value indicates the default encoding variant is used \begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group___mmal_format_ga556d108dcadda9d25ee7af60e1001b46}\label{group___mmal_format_ga556d108dcadda9d25ee7af60e1001b46}} 
\#define {\bfseries M\+M\+A\+L\+\_\+\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+V\+A\+R\+I\+A\+N\+T\+\_\+\+D\+E\+F\+A\+U\+LT}~0
\end{DoxyCompactItemize}
\subsection*{Comparison flags}
\label{_amgrp103419edd64cde9e58d0f19330b253a2}%
\label{group___mmal_format_comparisonflags}%
\Hypertarget{group___mmal_format_comparisonflags}%
The following flags describe the differences between 2 format structures \begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___mmal_format_gabd594cee2292f6d59d3f64420bcd31c6}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE}}~0x01
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga485967ff30ca810e51086a2c4b986bf9}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG}}~0x02
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga1441301aea4de23dec90d4f42e30074b}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE}}~0x04
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga998679c498cd561bdff696cfd07db962}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS}}~0x08
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga64f37dac0402b18f3ea442e6fba5c77a}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA}}~0x10
\item 
\#define \mbox{\hyperlink{group___mmal_format_gafd1814c915b1908b8487c22ed39e5f26}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON}}~0x0100
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga874687fc3b64b6527bcff0373b409e80}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG}}~0x0200
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga263931170f591995784e9ced3c9ae8e3}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE}}~0x0400
\item 
\#define \mbox{\hyperlink{group___mmal_format_gac279434543d5890c5258298f936bafe5}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO}}~0x0800
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga9ee8ad52684409df99b312684a28f47d}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE}}~0x1000
\item 
\#define \mbox{\hyperlink{group___mmal_format_ga6f807af0179129cddf06eac89068a625}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER}}~0x10000000
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Definition of an elementary stream format and its associated A\+PI 

\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{group___mmal_format_ga1441301aea4de23dec90d4f42e30074b}\label{group___mmal_format_ga1441301aea4de23dec90d4f42e30074b}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_BITRATE}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+B\+I\+T\+R\+A\+TE~0x04}

The bitrate is different \mbox{\Hypertarget{group___mmal_format_ga485967ff30ca810e51086a2c4b986bf9}\label{group___mmal_format_ga485967ff30ca810e51086a2c4b986bf9}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_ENCODING}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+N\+C\+O\+D\+I\+NG~0x02}

The encoding is different \mbox{\Hypertarget{group___mmal_format_ga6f807af0179129cddf06eac89068a625}\label{group___mmal_format_ga6f807af0179129cddf06eac89068a625}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_ES\_OTHER}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+S\+\_\+\+O\+T\+H\+ER~0x10000000}

Other ES specific parameters are different \mbox{\Hypertarget{group___mmal_format_ga64f37dac0402b18f3ea442e6fba5c77a}\label{group___mmal_format_ga64f37dac0402b18f3ea442e6fba5c77a}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_EXTRADATA}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+E\+X\+T\+R\+A\+D\+A\+TA~0x10}

The extradata is different \mbox{\Hypertarget{group___mmal_format_ga998679c498cd561bdff696cfd07db962}\label{group___mmal_format_ga998679c498cd561bdff696cfd07db962}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_FLAGS}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+F\+L\+A\+GS~0x08}

The flags are different \mbox{\Hypertarget{group___mmal_format_gabd594cee2292f6d59d3f64420bcd31c6}\label{group___mmal_format_gabd594cee2292f6d59d3f64420bcd31c6}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_TYPE}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+T\+Y\+PE~0x01}

The type is different \mbox{\Hypertarget{group___mmal_format_gac279434543d5890c5258298f936bafe5}\label{group___mmal_format_gac279434543d5890c5258298f936bafe5}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_VIDEO\_ASPECT\_RATIO}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+A\+S\+P\+E\+C\+T\+\_\+\+R\+A\+T\+IO~0x0800}

The video aspect ratio is different \mbox{\Hypertarget{group___mmal_format_ga9ee8ad52684409df99b312684a28f47d}\label{group___mmal_format_ga9ee8ad52684409df99b312684a28f47d}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_VIDEO\_COLOR\_SPACE}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+O\+L\+O\+R\+\_\+\+S\+P\+A\+CE~0x1000}

The video color space is different \mbox{\Hypertarget{group___mmal_format_ga874687fc3b64b6527bcff0373b409e80}\label{group___mmal_format_ga874687fc3b64b6527bcff0373b409e80}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_VIDEO\_CROPPING}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+C\+R\+O\+P\+P\+I\+NG~0x0200}

The video cropping is different \mbox{\Hypertarget{group___mmal_format_ga263931170f591995784e9ced3c9ae8e3}\label{group___mmal_format_ga263931170f591995784e9ced3c9ae8e3}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_VIDEO\_FRAME\_RATE}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+R\+A\+M\+E\+\_\+\+R\+A\+TE~0x0400}

The video frame rate is different \mbox{\Hypertarget{group___mmal_format_gafd1814c915b1908b8487c22ed39e5f26}\label{group___mmal_format_gafd1814c915b1908b8487c22ed39e5f26}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON}{MMAL\_ES\_FORMAT\_COMPARE\_FLAG\_VIDEO\_RESOLUTION}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+V\+I\+D\+E\+O\+\_\+\+R\+E\+S\+O\+L\+U\+T\+I\+ON~0x0100}

The video resolution is different \mbox{\Hypertarget{group___mmal_format_ga26178f5c56486c3e5db7f5f7c90598a0}\label{group___mmal_format_ga26178f5c56486c3e5db7f5f7c90598a0}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED}{MMAL\_ES\_FORMAT\_FLAG\_FRAMED}}
{\footnotesize\ttfamily \#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+ED~0x1}

The elementary stream will already be framed 

\subsection{Typedef Documentation}
\mbox{\Hypertarget{group___mmal_format_gaa895b350ae663d987703d3a7fa4ebd5b}\label{group___mmal_format_gaa895b350ae663d987703d3a7fa4ebd5b}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T@{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\index{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T@{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}{MMAL\_AUDIO\_FORMAT\_T}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct_m_m_a_l___a_u_d_i_o___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}  \mbox{\hyperlink{struct_m_m_a_l___a_u_d_i_o___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}}

Definition of an audio format. This describes the properties specific to an audio stream \mbox{\Hypertarget{group___mmal_format_ga15006eec3a27df4f6a5481da1343ea65}\label{group___mmal_format_ga15006eec3a27df4f6a5481da1343ea65}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}{MMAL\_ES\_FORMAT\_T}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}  \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}}

Definition of an elementary stream format 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group___mmal_format_ga838de933ae805a000d9986dc569897d4}\label{group___mmal_format_ga838de933ae805a000d9986dc569897d4}} 
\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T}{MMAL\_ES\_TYPE\_T}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group___mmal_format_ga838de933ae805a000d9986dc569897d4}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+T}}}

Enumeration of the different types of elementary streams. This divides elementary streams into 4 big categories, plus an invalid type. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN}!Elementary stream format@{Elementary stream format}}\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN}}}\mbox{\Hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}} 
M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+WN&Unknown elementary stream type \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL}!Elementary stream format@{Elementary stream format}}\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL}}}\mbox{\Hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}} 
M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+OL&Elementary stream of control commands \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO}!Elementary stream format@{Elementary stream format}}\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO}}}\mbox{\Hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}} 
M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+IO&Audio elementary stream \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO}!Elementary stream format@{Elementary stream format}}\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO}}}\mbox{\Hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}} 
M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+EO&Video elementary stream \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE}!Elementary stream format@{Elementary stream format}}\index{Elementary stream format@{Elementary stream format}!M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE}}}\mbox{\Hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}} 
M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+RE&Sub-\/picture elementary stream (e.\+g. subtitles, overlays) \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}\label{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+alloc@{mmal\+\_\+format\+\_\+alloc}}
\index{mmal\+\_\+format\+\_\+alloc@{mmal\+\_\+format\+\_\+alloc}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+alloc()}{mmal\_format\_alloc()}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}$\ast$ mmal\+\_\+format\+\_\+alloc (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

Allocate and initialise a \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} structure.

\begin{DoxyReturn}{Returns}
a \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} structure 
\end{DoxyReturn}
\mbox{\Hypertarget{group___mmal_format_ga914d86b90be03274514272f0ea04dc28}\label{group___mmal_format_ga914d86b90be03274514272f0ea04dc28}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+compare@{mmal\+\_\+format\+\_\+compare}}
\index{mmal\+\_\+format\+\_\+compare@{mmal\+\_\+format\+\_\+compare}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+compare()}{mmal\_format\_compare()}}
{\footnotesize\ttfamily uint32\+\_\+t mmal\+\_\+format\+\_\+compare (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+1,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+2 }\end{DoxyParamCaption})}

Compare 2 format structures and returns a set of flags describing the differences. The result will be zero if the structures are the same, or a combination of one or more of the \mbox{\hyperlink{group___mmal_format_comparisonflags}{Comparison flags}} if different.


\begin{DoxyParams}{Parameters}
{\em format\+\_\+1} & first \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} to compare \\
\hline
{\em format\+\_\+2} & second \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} to compare \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
set of flags describing the differences 
\end{DoxyReturn}
\mbox{\Hypertarget{group___mmal_format_ga93daad91e3f07502999f8fc19b29f371}\label{group___mmal_format_ga93daad91e3f07502999f8fc19b29f371}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+copy@{mmal\+\_\+format\+\_\+copy}}
\index{mmal\+\_\+format\+\_\+copy@{mmal\+\_\+format\+\_\+copy}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+copy()}{mmal\_format\_copy()}}
{\footnotesize\ttfamily void mmal\+\_\+format\+\_\+copy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+dest,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+src }\end{DoxyParamCaption})}

Shallow copy a format structure. It is worth noting that the extradata buffer will not be copied in the new format.


\begin{DoxyParams}{Parameters}
{\em format\+\_\+dest} & destination \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} for the copy \\
\hline
{\em format\+\_\+src} & source \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} for the copy \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group___mmal_format_ga23bf07631a1ee50f34bef31bf1b0c935}\label{group___mmal_format_ga23bf07631a1ee50f34bef31bf1b0c935}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+extradata\+\_\+alloc@{mmal\+\_\+format\+\_\+extradata\+\_\+alloc}}
\index{mmal\+\_\+format\+\_\+extradata\+\_\+alloc@{mmal\+\_\+format\+\_\+extradata\+\_\+alloc}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+extradata\+\_\+alloc()}{mmal\_format\_extradata\_alloc()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+format\+\_\+extradata\+\_\+alloc (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format,  }\item[{unsigned int}]{size }\end{DoxyParamCaption})}

Allocate the extradata buffer in \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}}. This buffer will be freed automatically when the format is destroyed or another allocation is done.


\begin{DoxyParams}{Parameters}
{\em format} & format structure for which the extradata buffer will be allocated \\
\hline
{\em size} & size of the extradata buffer to allocate \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS on success 
\end{DoxyReturn}
\mbox{\Hypertarget{group___mmal_format_ga98d1789190f3ed7b61a57fc329a53119}\label{group___mmal_format_ga98d1789190f3ed7b61a57fc329a53119}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+free@{mmal\+\_\+format\+\_\+free}}
\index{mmal\+\_\+format\+\_\+free@{mmal\+\_\+format\+\_\+free}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+free()}{mmal\_format\_free()}}
{\footnotesize\ttfamily void mmal\+\_\+format\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format }\end{DoxyParamCaption})}

Free a \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} structure allocated by \mbox{\hyperlink{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}{mmal\+\_\+format\+\_\+alloc}}.


\begin{DoxyParams}{Parameters}
{\em format} & the \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} structure to free \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group___mmal_format_ga2baed477a3948426bf494adddac68bea}\label{group___mmal_format_ga2baed477a3948426bf494adddac68bea}} 
\index{Elementary stream format@{Elementary stream format}!mmal\+\_\+format\+\_\+full\+\_\+copy@{mmal\+\_\+format\+\_\+full\+\_\+copy}}
\index{mmal\+\_\+format\+\_\+full\+\_\+copy@{mmal\+\_\+format\+\_\+full\+\_\+copy}!Elementary stream format@{Elementary stream format}}
\subsubsection{\texorpdfstring{mmal\+\_\+format\+\_\+full\+\_\+copy()}{mmal\_format\_full\_copy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+format\+\_\+full\+\_\+copy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+dest,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} $\ast$}]{format\+\_\+src }\end{DoxyParamCaption})}

Fully copy a format structure, including the extradata buffer.


\begin{DoxyParams}{Parameters}
{\em format\+\_\+dest} & destination \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} for the copy \\
\hline
{\em format\+\_\+src} & source \mbox{\hyperlink{struct_m_m_a_l___e_s___f_o_r_m_a_t___t}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+T}} for the copy \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS on success 
\end{DoxyReturn}
