\hypertarget{nnstreamer__plugin__api__decoder_8h}{}\doxysection{nnstreamer/include/nnstreamer\+\_\+plugin\+\_\+api\+\_\+decoder.h File Reference}
\label{nnstreamer__plugin__api__decoder_8h}\index{nnstreamer/include/nnstreamer\_plugin\_api\_decoder.h@{nnstreamer/include/nnstreamer\_plugin\_api\_decoder.h}}


Mandatory A\+P\+Is for N\+N\+Streamer Decoder sub-\/plugins (Need Gst Devel)  


{\ttfamily \#include \char`\"{}tensor\+\_\+typedef.\+h\char`\"{}}\newline
{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
Include dependency graph for nnstreamer\+\_\+plugin\+\_\+api\+\_\+decoder.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=271pt]{nnstreamer__plugin__api__decoder_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=344pt]{nnstreamer__plugin__api__decoder_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__GstTensorDecoderDef}{\+\_\+\+Gst\+Tensor\+Decoder\+Def}}
\begin{DoxyCompactList}\small\item\em Decoder definitions for different semantics of tensors This allows developers to create their own decoders. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorDecoderDef}{\+\_\+\+Gst\+Tensor\+Decoder\+Def}} \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}}
\begin{DoxyCompactList}\small\item\em Decoder definitions for different semantics of tensors This allows developers to create their own decoders. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a094f5ba2b3cf4125dabe74e6b1b8b962}{nnstreamer\+\_\+decoder\+\_\+probe}} (\mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}} $\ast$decoder)
\begin{DoxyCompactList}\small\item\em Decoder\textquotesingle{}s sub-\/plugin should call this function to register itself. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_af27929aae26be522524210cf9b2bf5b8}{nnstreamer\+\_\+decoder\+\_\+exit}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Decoder\textquotesingle{}s sub-\/plugin may call this to unregister itself. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}} $\ast$ \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a43214510b19bb4a5d3290a039463420e}{nnstreamer\+\_\+decoder\+\_\+find}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Find decoder sub-\/plugin with the name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a2a0659a619e041c68abe6d034d1c0131}{nnstreamer\+\_\+decoder\+\_\+set\+\_\+custom\+\_\+property\+\_\+desc}} (const char $\ast$name, const char $\ast$\mbox{\hyperlink{gsttensor__srciio_8c_ad143acf0919ab4b62947be3f2f168a91}{prop}},...)
\begin{DoxyCompactList}\small\item\em set custom property description for tensor decoder sub-\/plugin \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Mandatory A\+P\+Is for N\+N\+Streamer Decoder sub-\/plugins (Need Gst Devel) 

N\+N\+Streamer A\+PI for Tensor\+\_\+\+Decoder Sub-\/\+Plugins Copyright (C) 2019 Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}}

This library is free software; you can redistribute it and/or modify it under the terms of the G\+NU Library General Public License as published by the Free Software Foundation; version 2.\+1 of the License.

This library is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU Library General Public License for more details.

\begin{DoxyDate}{Date}
30 Jan 2019 
\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__bug000074}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}\label{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}} 
\index{nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}!GstTensorDecoderDef@{GstTensorDecoderDef}}
\index{GstTensorDecoderDef@{GstTensorDecoderDef}!nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}}
\doxysubsubsection{\texorpdfstring{GstTensorDecoderDef}{GstTensorDecoderDef}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorDecoderDef}{\+\_\+\+Gst\+Tensor\+Decoder\+Def}} \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}}}



Decoder definitions for different semantics of tensors This allows developers to create their own decoders. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{nnstreamer__plugin__api__decoder_8h_af27929aae26be522524210cf9b2bf5b8}\label{nnstreamer__plugin__api__decoder_8h_af27929aae26be522524210cf9b2bf5b8}} 
\index{nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}!nnstreamer\_decoder\_exit@{nnstreamer\_decoder\_exit}}
\index{nnstreamer\_decoder\_exit@{nnstreamer\_decoder\_exit}!nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_decoder\_exit()}{nnstreamer\_decoder\_exit()}}
{\footnotesize\ttfamily void nnstreamer\+\_\+decoder\+\_\+exit (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Decoder\textquotesingle{}s sub-\/plugin may call this to unregister itself. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em name} & The name of decoder sub-\/plugin. \\
\hline
\end{DoxyParams}


Definition at line 166 of file gsttensor\+\_\+decoder.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__decoder_8h_af27929aae26be522524210cf9b2bf5b8_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__decoder_8h_a43214510b19bb4a5d3290a039463420e}\label{nnstreamer__plugin__api__decoder_8h_a43214510b19bb4a5d3290a039463420e}} 
\index{nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}!nnstreamer\_decoder\_find@{nnstreamer\_decoder\_find}}
\index{nnstreamer\_decoder\_find@{nnstreamer\_decoder\_find}!nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_decoder\_find()}{nnstreamer\_decoder\_find()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}}$\ast$ nnstreamer\+\_\+decoder\+\_\+find (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Find decoder sub-\/plugin with the name. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em name} & The name of decoder sub-\/plugin. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
N\+U\+LL if not found or the sub-\/plugin object has an error. 
\end{DoxyReturn}


Definition at line 177 of file gsttensor\+\_\+decoder.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__decoder_8h_a43214510b19bb4a5d3290a039463420e_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__decoder_8h_a43214510b19bb4a5d3290a039463420e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__decoder_8h_a094f5ba2b3cf4125dabe74e6b1b8b962}\label{nnstreamer__plugin__api__decoder_8h_a094f5ba2b3cf4125dabe74e6b1b8b962}} 
\index{nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}!nnstreamer\_decoder\_probe@{nnstreamer\_decoder\_probe}}
\index{nnstreamer\_decoder\_probe@{nnstreamer\_decoder\_probe}!nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_decoder\_probe()}{nnstreamer\_decoder\_probe()}}
{\footnotesize\ttfamily int nnstreamer\+\_\+decoder\+\_\+probe (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{nnstreamer__plugin__api__decoder_8h_a758c970446defe0ce5f98507f7a96a4b}{Gst\+Tensor\+Decoder\+Def}} $\ast$}]{decoder }\end{DoxyParamCaption})}



Decoder\textquotesingle{}s sub-\/plugin should call this function to register itself. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em decoder} & Decoder sub-\/plugin to be registered. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+UE if registered. F\+A\+L\+SE is failed or duplicated. 
\end{DoxyReturn}


Definition at line 155 of file gsttensor\+\_\+decoder.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__decoder_8h_a094f5ba2b3cf4125dabe74e6b1b8b962_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__decoder_8h_a2a0659a619e041c68abe6d034d1c0131}\label{nnstreamer__plugin__api__decoder_8h_a2a0659a619e041c68abe6d034d1c0131}} 
\index{nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}!nnstreamer\_decoder\_set\_custom\_property\_desc@{nnstreamer\_decoder\_set\_custom\_property\_desc}}
\index{nnstreamer\_decoder\_set\_custom\_property\_desc@{nnstreamer\_decoder\_set\_custom\_property\_desc}!nnstreamer\_plugin\_api\_decoder.h@{nnstreamer\_plugin\_api\_decoder.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_decoder\_set\_custom\_property\_desc()}{nnstreamer\_decoder\_set\_custom\_property\_desc()}}
{\footnotesize\ttfamily void nnstreamer\+\_\+decoder\+\_\+set\+\_\+custom\+\_\+property\+\_\+desc (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name,  }\item[{const char $\ast$}]{prop,  }\item[{}]{... }\end{DoxyParamCaption})}



set custom property description for tensor decoder sub-\/plugin 



Definition at line 186 of file gsttensor\+\_\+decoder.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__decoder_8h_a2a0659a619e041c68abe6d034d1c0131_cgraph}
\end{center}
\end{figure}
