\hypertarget{nnstreamer__plugin__api__converter_8h}{}\doxysection{nnstreamer/include/nnstreamer\+\_\+plugin\+\_\+api\+\_\+converter.h File Reference}
\label{nnstreamer__plugin__api__converter_8h}\index{nnstreamer/include/nnstreamer\_plugin\_api\_converter.h@{nnstreamer/include/nnstreamer\_plugin\_api\_converter.h}}


Mandatory A\+P\+Is for N\+N\+Streamer Converter 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\+\_\+converter.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=271pt]{nnstreamer__plugin__api__converter_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=346pt]{nnstreamer__plugin__api__converter_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__NNStreamerExternalConverter}{\+\_\+\+N\+N\+Streamer\+External\+Converter}}
\begin{DoxyCompactList}\small\item\em Converter\textquotesingle{}s subplugin implementation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__NNStreamerExternalConverter}{\+\_\+\+N\+N\+Streamer\+External\+Converter}} \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}}
\begin{DoxyCompactList}\small\item\em Converter\textquotesingle{}s subplugin implementation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}} $\ast$ \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_af15864613f51b14df5a7b0e8da55977b}{nnstreamer\+\_\+converter\+\_\+find}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Find converter sub-\/plugin with the name. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a73d54b17addf666be72484d4efb3b0b6}{register\+External\+Converter}} (\mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}} $\ast$ex)
\begin{DoxyCompactList}\small\item\em Converter\textquotesingle{}s sub-\/plugin should call this function to register itself. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_afc7d778cab5433917b88db5a65c4eecc}{unregister\+External\+Converter}} (const char $\ast$prefix)
\begin{DoxyCompactList}\small\item\em Converter\textquotesingle{}s sub-\/plugin may call this to unregister itself. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a841a35feca3b853cf599235c5a4948a0}{nnstreamer\+\_\+converter\+\_\+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 converter sub-\/plugin \end{DoxyCompactList}\end{DoxyCompactItemize}


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

N\+N\+Streamer A\+PI for Tensor\+\_\+\+Converter 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}
09 Dec 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__bug000073}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}\label{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}} 
\index{nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}!NNStreamerExternalConverter@{NNStreamerExternalConverter}}
\index{NNStreamerExternalConverter@{NNStreamerExternalConverter}!nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}}
\doxysubsubsection{\texorpdfstring{NNStreamerExternalConverter}{NNStreamerExternalConverter}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__NNStreamerExternalConverter}{\+\_\+\+N\+N\+Streamer\+External\+Converter}} \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}}}



Converter\textquotesingle{}s subplugin implementation. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{nnstreamer__plugin__api__converter_8h_af15864613f51b14df5a7b0e8da55977b}\label{nnstreamer__plugin__api__converter_8h_af15864613f51b14df5a7b0e8da55977b}} 
\index{nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}!nnstreamer\_converter\_find@{nnstreamer\_converter\_find}}
\index{nnstreamer\_converter\_find@{nnstreamer\_converter\_find}!nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_converter\_find()}{nnstreamer\_converter\_find()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}}$\ast$ nnstreamer\+\_\+converter\+\_\+find (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Find converter sub-\/plugin with the name. 


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

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em name} & The name of converter 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 2360 of file gsttensor\+\_\+converter.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__converter_8h_af15864613f51b14df5a7b0e8da55977b_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__converter_8h_af15864613f51b14df5a7b0e8da55977b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__converter_8h_a841a35feca3b853cf599235c5a4948a0}\label{nnstreamer__plugin__api__converter_8h_a841a35feca3b853cf599235c5a4948a0}} 
\index{nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}!nnstreamer\_converter\_set\_custom\_property\_desc@{nnstreamer\_converter\_set\_custom\_property\_desc}}
\index{nnstreamer\_converter\_set\_custom\_property\_desc@{nnstreamer\_converter\_set\_custom\_property\_desc}!nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_converter\_set\_custom\_property\_desc()}{nnstreamer\_converter\_set\_custom\_property\_desc()}}
{\footnotesize\ttfamily void nnstreamer\+\_\+converter\+\_\+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 converter sub-\/plugin 



Definition at line 2457 of file gsttensor\+\_\+converter.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__converter_8h_a841a35feca3b853cf599235c5a4948a0_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__converter_8h_a73d54b17addf666be72484d4efb3b0b6}\label{nnstreamer__plugin__api__converter_8h_a73d54b17addf666be72484d4efb3b0b6}} 
\index{nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}!registerExternalConverter@{registerExternalConverter}}
\index{registerExternalConverter@{registerExternalConverter}!nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}}
\doxysubsubsection{\texorpdfstring{registerExternalConverter()}{registerExternalConverter()}}
{\footnotesize\ttfamily int register\+External\+Converter (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}} $\ast$}]{ex }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ex} & Converter 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}
Converter\textquotesingle{}s sub-\/plugin should call this function to register itself. 

Definition at line 2389 of file gsttensor\+\_\+converter.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__plugin__api__converter_8h_a73d54b17addf666be72484d4efb3b0b6_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{nnstreamer__plugin__api__converter_8h_afc7d778cab5433917b88db5a65c4eecc}\label{nnstreamer__plugin__api__converter_8h_afc7d778cab5433917b88db5a65c4eecc}} 
\index{nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}!unregisterExternalConverter@{unregisterExternalConverter}}
\index{unregisterExternalConverter@{unregisterExternalConverter}!nnstreamer\_plugin\_api\_converter.h@{nnstreamer\_plugin\_api\_converter.h}}
\doxysubsubsection{\texorpdfstring{unregisterExternalConverter()}{unregisterExternalConverter()}}
{\footnotesize\ttfamily void unregister\+External\+Converter (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em prefix} & The name of converter sub-\/plugin.\\
\hline
\end{DoxyParams}
Converter\textquotesingle{}s sub-\/plugin may call this to unregister itself. 

Definition at line 2399 of file gsttensor\+\_\+converter.\+c.

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