\hypertarget{mmal__util__params_8h}{}\section{/\+Volumes/\+W\+O\+R\+K\+\_\+\+I\+N\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S/\+R\+A\+S\+P\+B\+E\+R\+R\+Y\+\_\+\+P\+I/firmware-\/master/opt/vc/include/interface/mmal/util/mmal\+\_\+util\+\_\+params.h File Reference}
\label{mmal__util__params_8h}\index{/\+Volumes/\+W\+O\+R\+K\+\_\+\+I\+N\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S/\+R\+A\+S\+P\+B\+E\+R\+R\+Y\+\_\+\+P\+I/firmware-\/master/opt/vc/include/interface/mmal/util/mmal\+\_\+util\+\_\+params.\+h@{/\+Volumes/\+W\+O\+R\+K\+\_\+\+I\+N\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S/\+R\+A\+S\+P\+B\+E\+R\+R\+Y\+\_\+\+P\+I/firmware-\/master/opt/vc/include/interface/mmal/util/mmal\+\_\+util\+\_\+params.\+h}}
{\ttfamily \#include \char`\"{}interface/mmal/mmal.\+h\char`\"{}}\newline
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_aba9fe4904a386eaa681c7bdbbcf93023}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a05629b3599e0cfb99113ce5076edd77a}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_afcef1f066e75cc8d7e049c4a25cb6ac3}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, uint64\+\_\+t value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_aa9dccb1ed0e24e7aff836eef34dca621}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, uint64\+\_\+t $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a6a86e93351726dda61f62a730e44d123}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, int64\+\_\+t value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_afed89519de1bcfec661c669f57186a29}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, int64\+\_\+t $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a894ac86900b66cb84da1b264e88d640a}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, uint32\+\_\+t value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_afebc423e839d1c6c4a0bee8b47daa833}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, uint32\+\_\+t $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_ab038dc4f2ca27f3aae2107b5f1c7716f}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, int32\+\_\+t value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a19de2a6724ab07a4fcfb621352f8323e}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, int32\+\_\+t $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a3681cbe07a20d9fa0d26bca516bd6d92}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, \mbox{\hyperlink{struct_m_m_a_l___r_a_t_i_o_n_a_l___t}{M\+M\+A\+L\+\_\+\+R\+A\+T\+I\+O\+N\+A\+L\+\_\+T}} value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_aa95fc5e5573a14bd91830452d5f8dd15}{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, \mbox{\hyperlink{struct_m_m_a_l___r_a_t_i_o_n_a_l___t}{M\+M\+A\+L\+\_\+\+R\+A\+T\+I\+O\+N\+A\+L\+\_\+T}} $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a006387bba9af6a42d47266822af68433}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, const char $\ast$value)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a3b889465b0255d66a93d7e4e2394229b}{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, uint32\+\_\+t id, const uint8\+\_\+t $\ast$data, unsigned int size)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_ad533a22034a8a2b2d3d3871b7bf71130}{mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, const char $\ast$uri)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a6b2eae8f45bbf025367d1a7c94ec3cad}{mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, M\+M\+A\+L\+\_\+\+D\+I\+S\+P\+L\+A\+Y\+R\+E\+G\+I\+O\+N\+\_\+T $\ast$region)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_ac7d49d5963c63c42ccbe51f073e64013}{mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, \mbox{\hyperlink{mmal__parameters__camera_8h_ac28d78ec5e477266d234383c78071d5b}{M\+M\+A\+L\+\_\+\+C\+A\+M\+E\+R\+A\+\_\+\+S\+T\+C\+\_\+\+M\+O\+D\+E\+\_\+T}} mode)
\item 
\mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} \mbox{\hyperlink{mmal__util__params_8h_a1d20a14277c331b71a897692f53a8497}{mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats}} (\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$port, M\+M\+A\+L\+\_\+\+C\+O\+R\+E\+\_\+\+S\+T\+A\+T\+S\+\_\+\+D\+IR dir, M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T reset, \mbox{\hyperlink{struct_m_m_a_l___c_o_r_e___s_t_a_t_i_s_t_i_c_s___t}{M\+M\+A\+L\+\_\+\+C\+O\+R\+E\+\_\+\+S\+T\+A\+T\+I\+S\+T\+I\+C\+S\+\_\+T}} $\ast$stats)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Utility functions to set some common parameters. 

\subsection{Function Documentation}
\mbox{\Hypertarget{mmal__util__params_8h_a05629b3599e0cfb99113ce5076edd77a}\label{mmal__util__params_8h_a05629b3599e0cfb99113ce5076edd77a}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean()}{mmal\_port\_parameter\_get\_boolean()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+boolean (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a boolean parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a19de2a6724ab07a4fcfb621352f8323e}\label{mmal__util__params_8h_a19de2a6724ab07a4fcfb621352f8323e}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32()}{mmal\_port\_parameter\_get\_int32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{int32\+\_\+t $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a 32 bits signed integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_afed89519de1bcfec661c669f57186a29}\label{mmal__util__params_8h_afed89519de1bcfec661c669f57186a29}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64()}{mmal\_port\_parameter\_get\_int64()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+int64 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{int64\+\_\+t $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a 64 bits signed integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_aa95fc5e5573a14bd91830452d5f8dd15}\label{mmal__util__params_8h_aa95fc5e5573a14bd91830452d5f8dd15}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational()}{mmal\_port\_parameter\_get\_rational()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+rational (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___r_a_t_i_o_n_a_l___t}{M\+M\+A\+L\+\_\+\+R\+A\+T\+I\+O\+N\+A\+L\+\_\+T}} $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a rational parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_afebc423e839d1c6c4a0bee8b47daa833}\label{mmal__util__params_8h_afebc423e839d1c6c4a0bee8b47daa833}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32()}{mmal\_port\_parameter\_get\_uint32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{uint32\+\_\+t $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a 32 bits unsigned integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_aa9dccb1ed0e24e7aff836eef34dca621}\label{mmal__util__params_8h_aa9dccb1ed0e24e7aff836eef34dca621}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64@{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64()}{mmal\_port\_parameter\_get\_uint64()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+get\+\_\+uint64 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{uint64\+\_\+t $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to get the value of a 64 bits unsigned integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to get the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & pointer to where the value will be returned\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_aba9fe4904a386eaa681c7bdbbcf93023}\label{mmal__util__params_8h_aba9fe4904a386eaa681c7bdbbcf93023}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean()}{mmal\_port\_parameter\_set\_boolean()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+boolean (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a boolean parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a3b889465b0255d66a93d7e4e2394229b}\label{mmal__util__params_8h_a3b889465b0255d66a93d7e4e2394229b}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes()}{mmal\_port\_parameter\_set\_bytes()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+bytes (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{const uint8\+\_\+t $\ast$}]{data,  }\item[{unsigned int}]{size }\end{DoxyParamCaption})}

Helper function to set the value of an array of bytes parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em data} & pointer to the array of bytes \\
\hline
{\em size} & size of the array of bytes\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_ab038dc4f2ca27f3aae2107b5f1c7716f}\label{mmal__util__params_8h_ab038dc4f2ca27f3aae2107b5f1c7716f}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32()}{mmal\_port\_parameter\_set\_int32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{int32\+\_\+t}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a 32 bits signed integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a6a86e93351726dda61f62a730e44d123}\label{mmal__util__params_8h_a6a86e93351726dda61f62a730e44d123}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64()}{mmal\_port\_parameter\_set\_int64()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+int64 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{int64\+\_\+t}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a 64 bits signed integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a3681cbe07a20d9fa0d26bca516bd6d92}\label{mmal__util__params_8h_a3681cbe07a20d9fa0d26bca516bd6d92}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational()}{mmal\_port\_parameter\_set\_rational()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+rational (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___r_a_t_i_o_n_a_l___t}{M\+M\+A\+L\+\_\+\+R\+A\+T\+I\+O\+N\+A\+L\+\_\+T}}}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a rational parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a006387bba9af6a42d47266822af68433}\label{mmal__util__params_8h_a006387bba9af6a42d47266822af68433}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string()}{mmal\_port\_parameter\_set\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+string (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a string parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & null-\/terminated string value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a894ac86900b66cb84da1b264e88d640a}\label{mmal__util__params_8h_a894ac86900b66cb84da1b264e88d640a}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32()}{mmal\_port\_parameter\_set\_uint32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint32 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{uint32\+\_\+t}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a 32 bits unsigned integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_afcef1f066e75cc8d7e049c4a25cb6ac3}\label{mmal__util__params_8h_afcef1f066e75cc8d7e049c4a25cb6ac3}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64}}
\index{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64@{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64()}{mmal\_port\_parameter\_set\_uint64()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+port\+\_\+parameter\+\_\+set\+\_\+uint64 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{uint32\+\_\+t}]{id,  }\item[{uint64\+\_\+t}]{value }\end{DoxyParamCaption})}

Helper function to set the value of a 64 bits unsigned integer parameter. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em id} & parameter id \\
\hline
{\em value} & value to set the parameter to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_ac7d49d5963c63c42ccbe51f073e64013}\label{mmal__util__params_8h_ac7d49d5963c63c42ccbe51f073e64013}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp@{mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp}}
\index{mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp@{mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp()}{mmal\_util\_camera\_use\_stc\_timestamp()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+util\+\_\+camera\+\_\+use\+\_\+stc\+\_\+timestamp (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{\mbox{\hyperlink{mmal__parameters__camera_8h_ac28d78ec5e477266d234383c78071d5b}{M\+M\+A\+L\+\_\+\+C\+A\+M\+E\+R\+A\+\_\+\+S\+T\+C\+\_\+\+M\+O\+D\+E\+\_\+T}}}]{mode }\end{DoxyParamCaption})}

Tell the camera to use the S\+TC for timestamps rather than the clock.


\begin{DoxyParams}{Parameters}
{\em port} & port to configure \\
\hline
{\em mode} & S\+TC mode to use \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a1d20a14277c331b71a897692f53a8497}\label{mmal__util__params_8h_a1d20a14277c331b71a897692f53a8497}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats@{mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats}}
\index{mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats@{mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats()}{mmal\_util\_get\_core\_port\_stats()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+util\+\_\+get\+\_\+core\+\_\+port\+\_\+stats (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{M\+M\+A\+L\+\_\+\+C\+O\+R\+E\+\_\+\+S\+T\+A\+T\+S\+\_\+\+D\+IR}]{dir,  }\item[{M\+M\+A\+L\+\_\+\+B\+O\+O\+L\+\_\+T}]{reset,  }\item[{\mbox{\hyperlink{struct_m_m_a_l___c_o_r_e___s_t_a_t_i_s_t_i_c_s___t}{M\+M\+A\+L\+\_\+\+C\+O\+R\+E\+\_\+\+S\+T\+A\+T\+I\+S\+T\+I\+C\+S\+\_\+T}} $\ast$}]{stats }\end{DoxyParamCaption})}

Get the M\+M\+AL core statistics for a given port.


\begin{DoxyParams}{Parameters}
{\em port} & port to query \\
\hline
{\em dir} & port direction \\
\hline
{\em reset} & reset the stats as well \\
\hline
{\em stats} & filled in with results \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_ad533a22034a8a2b2d3d3871b7bf71130}\label{mmal__util__params_8h_ad533a22034a8a2b2d3d3871b7bf71130}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri@{mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri}}
\index{mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri@{mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri()}{mmal\_util\_port\_set\_uri()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+util\+\_\+port\+\_\+set\+\_\+uri (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{const char $\ast$}]{uri }\end{DoxyParamCaption})}

Helper function to set a \mbox{\hyperlink{struct_m_m_a_l___p_a_r_a_m_e_t_e_r___u_r_i___t}{M\+M\+A\+L\+\_\+\+P\+A\+R\+A\+M\+E\+T\+E\+R\+\_\+\+U\+R\+I\+\_\+T}} parameter on a port. 
\begin{DoxyParams}{Parameters}
{\em port} & port on which to set the parameter \\
\hline
{\em uri} & U\+RI string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
\mbox{\Hypertarget{mmal__util__params_8h_a6b2eae8f45bbf025367d1a7c94ec3cad}\label{mmal__util__params_8h_a6b2eae8f45bbf025367d1a7c94ec3cad}} 
\index{mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}!mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region@{mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region}}
\index{mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region@{mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region}!mmal\+\_\+util\+\_\+params.\+h@{mmal\+\_\+util\+\_\+params.\+h}}
\subsubsection{\texorpdfstring{mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region()}{mmal\_util\_set\_display\_region()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___mmal_types_ga5ac87230bd615d2b154a9d5899bc37fd}{M\+M\+A\+L\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+T}} mmal\+\_\+util\+\_\+set\+\_\+display\+\_\+region (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_m_m_a_l___p_o_r_t___t}{M\+M\+A\+L\+\_\+\+P\+O\+R\+T\+\_\+T}} $\ast$}]{port,  }\item[{M\+M\+A\+L\+\_\+\+D\+I\+S\+P\+L\+A\+Y\+R\+E\+G\+I\+O\+N\+\_\+T $\ast$}]{region }\end{DoxyParamCaption})}

Set the display region. 
\begin{DoxyParams}{Parameters}
{\em port} & port to configure \\
\hline
{\em region} & region\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
M\+M\+A\+L\+\_\+\+S\+U\+C\+C\+E\+SS or error 
\end{DoxyReturn}
