\hypertarget{nnstreamer_8c}{}\doxysection{nnstreamer/registerer/nnstreamer.c File Reference}
\label{nnstreamer_8c}\index{nnstreamer/registerer/nnstreamer.c@{nnstreamer/registerer/nnstreamer.c}}


Registers all nnstreamer plugins for gstreamer so that we can have a single big binary.  


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+aggregator.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+converter.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+crop.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+debug.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+decoder.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+demux.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+if.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+merge.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+mux.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+rate.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+reposink.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+reposrc.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+sink.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+sparsedec.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+sparseenc.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+split.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+transform.\+h$>$}\newline
{\ttfamily \#include $<$elements/gsttensor\+\_\+trainer.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+filter/tensor\+\_\+filter.\+h$>$}\newline
Include dependency graph for nnstreamer.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{nnstreamer_8c_a5b2705f594efe087ab557d037d283eb5}{N\+N\+S\+T\+R\+E\+A\+M\+E\+R\+\_\+\+I\+N\+IT}}(plugin,  name,  \mbox{\hyperlink{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}{type}})
\item 
\#define \mbox{\hyperlink{nnstreamer_8c_aca8570fb706c81df371b7f9bc454ae03}{P\+A\+C\+K\+A\+GE}}~\char`\"{}nnstreamer\char`\"{}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{nnstreamer_8c_a58185070e9533ed9ce384b48558a54d7}{G\+S\+T\+\_\+\+E\+R\+R\+OR}} (\char`\"{}Failed to register nnstreamer plugin \+: tensor\+\_\+\char`\"{} \# name)
\begin{DoxyCompactList}\small\item\em type)) \{ \textbackslash{} \end{DoxyCompactList}\item 
\mbox{\hyperlink{nnstreamer_8c_a8ca9996595b367352d5665c3ee092ffa}{while}} (0)
\begin{DoxyCompactList}\small\item\em Function to initialize all nnstreamer elements. \end{DoxyCompactList}\item 
\mbox{\hyperlink{nnstreamer_8c_a92b848527f68dd45d396c9ce3666c007}{G\+S\+T\+\_\+\+P\+L\+U\+G\+I\+N\+\_\+\+D\+E\+F\+I\+NE}} (G\+S\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR, G\+S\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR, nnstreamer, \char`\"{}N\+N\+Streamer plugin library allows neural networks in G\+Streamer pipelines. Use nnstreamer-\/check utility for more information of the current N\+N\+Streamer installation.\char`\"{}, gst\+\_\+nnstreamer\+\_\+init, V\+E\+R\+S\+I\+ON, \char`\"{}L\+G\+PL\char`\"{}, \char`\"{}nnstreamer\char`\"{}, \char`\"{}https\+://github.\+com/nnstreamer/nnstreamer\char`\"{})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
return \mbox{\hyperlink{nnstreamer_8c_ac529551d78a5faa7079a3deaaadc3f5e}{F\+A\+L\+SE}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Registers all nnstreamer plugins for gstreamer so that we can have a single big binary. 

\begin{DoxyDate}{Date}
11 Oct 2018 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000098}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{nnstreamer_8c_a5b2705f594efe087ab557d037d283eb5}\label{nnstreamer_8c_a5b2705f594efe087ab557d037d283eb5}} 
\index{nnstreamer.c@{nnstreamer.c}!NNSTREAMER\_INIT@{NNSTREAMER\_INIT}}
\index{NNSTREAMER\_INIT@{NNSTREAMER\_INIT}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{NNSTREAMER\_INIT}{NNSTREAMER\_INIT}}
{\footnotesize\ttfamily \#define N\+N\+S\+T\+R\+E\+A\+M\+E\+R\+\_\+\+I\+N\+IT(\begin{DoxyParamCaption}\item[{}]{plugin,  }\item[{}]{name,  }\item[{}]{\mbox{\hyperlink{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}{type}} }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{keywordflow}{do} \{ \(\backslash\)}
\DoxyCodeLine{    if (!gst\_element\_register (plugin, \textcolor{stringliteral}{"tensor\_"} \# name, GST\_RANK\_NONE, GST\_TYPE\_TENSOR\_}

\end{DoxyCode}


Definition at line 80 of file nnstreamer.\+c.

\mbox{\Hypertarget{nnstreamer_8c_aca8570fb706c81df371b7f9bc454ae03}\label{nnstreamer_8c_aca8570fb706c81df371b7f9bc454ae03}} 
\index{nnstreamer.c@{nnstreamer.c}!PACKAGE@{PACKAGE}}
\index{PACKAGE@{PACKAGE}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{PACKAGE}{PACKAGE}}
{\footnotesize\ttfamily \#define P\+A\+C\+K\+A\+GE~\char`\"{}nnstreamer\char`\"{}}



Definition at line 125 of file nnstreamer.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{nnstreamer_8c_a58185070e9533ed9ce384b48558a54d7}\label{nnstreamer_8c_a58185070e9533ed9ce384b48558a54d7}} 
\index{nnstreamer.c@{nnstreamer.c}!GST\_ERROR@{GST\_ERROR}}
\index{GST\_ERROR@{GST\_ERROR}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{GST\_ERROR()}{GST\_ERROR()}}
{\footnotesize\ttfamily G\+S\+T\+\_\+\+E\+R\+R\+OR (\begin{DoxyParamCaption}\item[{\char`\"{}Failed to register nnstreamer plugin \+: tensor\+\_\+\char`\"{} \#}]{name }\end{DoxyParamCaption})}



type)) \{ \textbackslash{} 

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer_8c_a58185070e9533ed9ce384b48558a54d7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer_8c_a92b848527f68dd45d396c9ce3666c007}\label{nnstreamer_8c_a92b848527f68dd45d396c9ce3666c007}} 
\index{nnstreamer.c@{nnstreamer.c}!GST\_PLUGIN\_DEFINE@{GST\_PLUGIN\_DEFINE}}
\index{GST\_PLUGIN\_DEFINE@{GST\_PLUGIN\_DEFINE}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{GST\_PLUGIN\_DEFINE()}{GST\_PLUGIN\_DEFINE()}}
{\footnotesize\ttfamily G\+S\+T\+\_\+\+P\+L\+U\+G\+I\+N\+\_\+\+D\+E\+F\+I\+NE (\begin{DoxyParamCaption}\item[{G\+S\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR}]{,  }\item[{G\+S\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR}]{,  }\item[{nnstreamer}]{,  }\item[{\char`\"{}N\+N\+Streamer plugin library allows neural networks in G\+Streamer pipelines. Use nnstreamer-\/check utility for more information of the current N\+N\+Streamer installation.\char`\"{}}]{,  }\item[{gst\+\_\+nnstreamer\+\_\+init}]{,  }\item[{V\+E\+R\+S\+I\+ON}]{,  }\item[{\char`\"{}L\+G\+PL\char`\"{}}]{,  }\item[{\char`\"{}nnstreamer\char`\"{}}]{,  }\item[{\char`\"{}https\+://github.\+com/nnstreamer/nnstreamer\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{nnstreamer_8c_a8ca9996595b367352d5665c3ee092ffa}\label{nnstreamer_8c_a8ca9996595b367352d5665c3ee092ffa}} 
\index{nnstreamer.c@{nnstreamer.c}!while@{while}}
\index{while@{while}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{while()}{while()}}
{\footnotesize\ttfamily while (\begin{DoxyParamCaption}\item[{0}]{ }\end{DoxyParamCaption})}



Function to initialize all nnstreamer elements. 



Definition at line 86 of file nnstreamer.\+c.



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{nnstreamer_8c_ac529551d78a5faa7079a3deaaadc3f5e}\label{nnstreamer_8c_ac529551d78a5faa7079a3deaaadc3f5e}} 
\index{nnstreamer.c@{nnstreamer.c}!FALSE@{FALSE}}
\index{FALSE@{FALSE}!nnstreamer.c@{nnstreamer.c}}
\doxysubsubsection{\texorpdfstring{FALSE}{FALSE}}
{\footnotesize\ttfamily return F\+A\+L\+SE}



Definition at line 84 of file nnstreamer.\+c.

