\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 \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 \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 \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 \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 \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 \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} \hyperlink{group___mmal_format_gaa895b350ae663d987703d3a7fa4ebd5b}{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}
\item 
typedef struct \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} \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 \hyperlink{group___mmal_format_ga838de933ae805a000d9986dc569897d4}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T} \{ \\*
\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}, 
\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+O\+L}, 
\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O}, 
\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O}, 
\\*
\hyperlink{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\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$ \hyperlink{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}{mmal\+\_\+format\+\_\+alloc} (void)
\item 
void \hyperlink{group___mmal_format_ga98d1789190f3ed7b61a57fc329a53119}{mmal\+\_\+format\+\_\+free} (\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 
\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+T} \hyperlink{group___mmal_format_ga23bf07631a1ee50f34bef31bf1b0c935}{mmal\+\_\+format\+\_\+extradata\+\_\+alloc} (\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 \hyperlink{group___mmal_format_ga93daad91e3f07502999f8fc19b29f371}{mmal\+\_\+format\+\_\+copy} (\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, \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 
\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+T} \hyperlink{group___mmal_format_ga2baed477a3948426bf494adddac68bea}{mmal\+\_\+format\+\_\+full\+\_\+copy} (\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, \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 \hyperlink{group___mmal_format_ga914d86b90be03274514272f0ea04dc28}{mmal\+\_\+format\+\_\+compare} (\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, \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 \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\+E\+D}~0x1
\end{DoxyCompactItemize}
\subsection*{Undefined encoding value.}
\label{_amgrpd85bfcc5190caa88760a407112ab237a}%
This value indicates an unknown encoding \begin{DoxyCompactItemize}
\item 
\hypertarget{group___mmal_format_gab827d5b622dd1dbbd5937dc8d7eb4034}{}\#define {\bfseries M\+M\+A\+L\+\_\+\+E\+N\+C\+O\+D\+I\+N\+G\+\_\+\+U\+N\+K\+N\+O\+W\+N}~0\label{group___mmal_format_gab827d5b622dd1dbbd5937dc8d7eb4034}

\end{DoxyCompactItemize}
\subsection*{Default encoding variant value.}
\label{_amgrp29fb6556ded6cbe51b21c30d92174afb}%
This value indicates the default encoding variant is used \begin{DoxyCompactItemize}
\item 
\hypertarget{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\+L\+T}~0\label{group___mmal_format_ga556d108dcadda9d25ee7af60e1001b46}

\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 \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\+P\+E}~0x01
\item 
\#define \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\+N\+G}~0x02
\item 
\#define \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\+T\+E}~0x04
\item 
\#define \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\+G\+S}~0x08
\item 
\#define \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\+T\+A}~0x10
\item 
\#define \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\+O\+N}~0x0100
\item 
\#define \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\+N\+G}~0x0200
\item 
\#define \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\+T\+E}~0x0400
\item 
\#define \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\+I\+O}~0x0800
\item 
\#define \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\+C\+E}~0x1000
\item 
\#define \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\+E\+R}~0x10000000
\end{DoxyCompactItemize}


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

\subsection{Macro Definition Documentation}
\hypertarget{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\+T\+E@{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\+T\+E}}
\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\+T\+E@{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\+T\+E}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+T\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+T\+E~0x04}\label{group___mmal_format_ga1441301aea4de23dec90d4f42e30074b}
The bitrate is different \hypertarget{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\+N\+G@{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\+N\+G}}
\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\+N\+G@{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\+N\+G}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+N\+G}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+N\+G~0x02}\label{group___mmal_format_ga485967ff30ca810e51086a2c4b986bf9}
The encoding is different \hypertarget{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\+E\+R@{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\+E\+R}}
\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\+E\+R@{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\+E\+R}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+E\+R}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+E\+R~0x10000000}\label{group___mmal_format_ga6f807af0179129cddf06eac89068a625}
Other E\+S specific parameters are different \hypertarget{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\+T\+A@{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\+T\+A}}
\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\+T\+A@{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\+T\+A}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+T\+A}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+T\+A~0x10}\label{group___mmal_format_ga64f37dac0402b18f3ea442e6fba5c77a}
The extradata is different \hypertarget{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\+G\+S@{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\+G\+S}}
\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\+G\+S@{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\+G\+S}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+G\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+G\+S~0x08}\label{group___mmal_format_ga998679c498cd561bdff696cfd07db962}
The flags are different \hypertarget{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\+P\+E@{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\+P\+E}}
\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\+P\+E@{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\+P\+E}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+P\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+P\+E~0x01}\label{group___mmal_format_gabd594cee2292f6d59d3f64420bcd31c6}
The type is different \hypertarget{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\+I\+O@{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\+I\+O}}
\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\+I\+O@{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\+I\+O}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+I\+O}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+I\+O~0x0800}\label{group___mmal_format_gac279434543d5890c5258298f936bafe5}
The video aspect ratio is different \hypertarget{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\+C\+E@{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\+C\+E}}
\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\+C\+E@{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\+C\+E}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+C\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+C\+E~0x1000}\label{group___mmal_format_ga9ee8ad52684409df99b312684a28f47d}
The video color space is different \hypertarget{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\+N\+G@{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\+N\+G}}
\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\+N\+G@{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\+N\+G}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+N\+G}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+N\+G~0x0200}\label{group___mmal_format_ga874687fc3b64b6527bcff0373b409e80}
The video cropping is different \hypertarget{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\+T\+E@{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\+T\+E}}
\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\+T\+E@{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\+T\+E}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+T\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+T\+E~0x0400}\label{group___mmal_format_ga263931170f591995784e9ced3c9ae8e3}
The video frame rate is different \hypertarget{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\+O\+N@{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\+O\+N}}
\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\+O\+N@{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\+O\+N}!Elementary stream format@{Elementary stream format}}
\subsubsection[{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\+O\+N}]{\setlength{\rightskip}{0pt plus 5cm}\#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\+O\+N~0x0100}\label{group___mmal_format_gafd1814c915b1908b8487c22ed39e5f26}
The video resolution is different \hypertarget{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\+E\+D@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+E\+D}}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+E\+D@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+E\+D}!Elementary stream format@{Elementary stream format}}
\subsubsection[{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+E\+D}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+F\+L\+A\+G\+\_\+\+F\+R\+A\+M\+E\+D~0x1}\label{group___mmal_format_ga26178f5c56486c3e5db7f5f7c90598a0}
The elementary stream will already be framed 

\subsection{Typedef Documentation}
\hypertarget{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[{M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}  {\bf M\+M\+A\+L\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}}\label{group___mmal_format_gaa895b350ae663d987703d3a7fa4ebd5b}
Definition of an audio format. This describes the properties specific to an audio stream \hypertarget{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[{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}  {\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}}\label{group___mmal_format_ga15006eec3a27df4f6a5481da1343ea65}
Definition of an elementary stream format 

\subsection{Enumeration Type Documentation}
\hypertarget{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[{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T}}\label{group___mmal_format_ga838de933ae805a000d9986dc569897d4}
Enumeration of the different types of elementary streams. This divides elementary streams into 4 big categories, plus an invalid type. \begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}!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\+W\+N@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N}}\item[{\em 
\hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}{}M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a61b00811cfd294c9b25ef8c748a71884}
}]Unknown elementary stream type \index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+O\+L@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+O\+L}!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\+O\+L@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+O\+L}}\item[{\em 
\hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}{}M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+O\+N\+T\+R\+O\+L\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a6555d5c3923f9e9216c5ed979e6f4eb6}
}]Elementary stream of control commands \index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O}!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\+I\+O@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O}}\item[{\em 
\hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}{}M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+U\+D\+I\+O\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4aaf30fc331b126dd5f12e77af0c150e0c}
}]Audio elementary stream \index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O}!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\+E\+O@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O}}\item[{\em 
\hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}{}M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+I\+D\+E\+O\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a79d1b43ce9a21bb468bc8a466e102dcf}
}]Video elementary stream \index{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E}!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\+R\+E@{M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E}}\item[{\em 
\hypertarget{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}{}M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+U\+B\+P\+I\+C\+T\+U\+R\+E\label{group___mmal_format_gga838de933ae805a000d9986dc569897d4a56fc7eef7734162dcd6707e578054474}
}]Sub-\/picture elementary stream (e.\+g. subtitles, overlays) \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{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[{mmal\+\_\+format\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T}$\ast$ mmal\+\_\+format\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}
Allocate and initialise a \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 \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}
\hypertarget{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[{mmal\+\_\+format\+\_\+compare}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t mmal\+\_\+format\+\_\+compare (
\begin{DoxyParamCaption}
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+1, }
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+2}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga914d86b90be03274514272f0ea04dc28}
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 \hyperlink{group___mmal_format_comparisonflags}{Comparison flags} if different.


\begin{DoxyParams}{Parameters}
{\em format\+\_\+1} & first \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 \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}
\hypertarget{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[{mmal\+\_\+format\+\_\+copy}]{\setlength{\rightskip}{0pt plus 5cm}void mmal\+\_\+format\+\_\+copy (
\begin{DoxyParamCaption}
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+dest, }
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+src}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga93daad91e3f07502999f8fc19b29f371}
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 \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 \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}
\hypertarget{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[{mmal\+\_\+format\+\_\+extradata\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+T} mmal\+\_\+format\+\_\+extradata\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format, }
\item[{unsigned int}]{size}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga23bf07631a1ee50f34bef31bf1b0c935}
Allocate the extradata buffer in \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\+S\+S on success 
\end{DoxyReturn}
\hypertarget{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[{mmal\+\_\+format\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void mmal\+\_\+format\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga98d1789190f3ed7b61a57fc329a53119}
Free a \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 \hyperlink{group___mmal_format_ga3e6626acc933ab7d6cb54c334c7452e8}{mmal\+\_\+format\+\_\+alloc}.


\begin{DoxyParams}{Parameters}
{\em format} & the \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}
\hypertarget{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[{mmal\+\_\+format\+\_\+full\+\_\+copy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+T} mmal\+\_\+format\+\_\+full\+\_\+copy (
\begin{DoxyParamCaption}
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+dest, }
\item[{{\bf M\+M\+A\+L\+\_\+\+E\+S\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+T} $\ast$}]{format\+\_\+src}
\end{DoxyParamCaption}
)}\label{group___mmal_format_ga2baed477a3948426bf494adddac68bea}
Fully copy a format structure, including the extradata buffer.


\begin{DoxyParams}{Parameters}
{\em format\+\_\+dest} & destination \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 \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\+S\+S on success 
\end{DoxyReturn}
