\hypertarget{gsttensor__if_8c}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+if.c File Reference}
\label{gsttensor__if_8c}\index{nnstreamer/elements/gsttensor\_if.c@{nnstreamer/elements/gsttensor\_if.c}}


G\+Streamer plugin to control flow based on tensor values.  


{\ttfamily \#include $<$nnstreamer\+\_\+log.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+subplugin.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+util.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gsttensor\+\_\+if.\+h\char`\"{}}\newline
Include dependency graph for gsttensor\+\_\+if.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_a49606be7356624568932ec81c0d429f4}{D\+BG}}~(!tensor\+\_\+if-\/$>$silent)
\begin{DoxyCompactList}\small\item\em Macro for debug mode. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+tensor\+\_\+if\+\_\+debug
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}{C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+NG}}~\mbox{\hyperlink{tensor__typedef_8h_a284951c7aec77ea34d1c0279d5a5b4a0}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}} \char`\"{}; \char`\"{} \mbox{\hyperlink{tensor__typedef_8h_a439a25631e5849f93c9f1dcdc7c2baa5}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_ab233d78d363dacc275acec7915c6046e}{gst\+\_\+tensor\+\_\+if\+\_\+parent\+\_\+class}}~parent\+\_\+class
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_a77d46c0433e3e95f5101ced082692ff6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+CV}}~(\mbox{\hyperlink{gsttensor__if_8c_ab21312efef1ffb4eb5ce43b6119c28e8}{gst\+\_\+tensor\+\_\+if\+\_\+cv\+\_\+get\+\_\+type}} ())
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_a5193e4546ec06ce2095c75e059e9110e}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+OP}}~(\mbox{\hyperlink{gsttensor__if_8c_af9aaac714b78a8e47eadc380b4a7339e}{gst\+\_\+tensor\+\_\+if\+\_\+op\+\_\+get\+\_\+type}} ())
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_aeda308def67626e7a3d939721554b028}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+A\+CT}}~(\mbox{\hyperlink{gsttensor__if_8c_aa9dfdf3b1de4245262116984fe2f32fd}{gst\+\_\+tensor\+\_\+if\+\_\+act\+\_\+get\+\_\+type}} ())
\item 
\#define \mbox{\hyperlink{gsttensor__if_8c_a77213d9be5eccf8b28d987e124d4eb86}{operator\+\_\+func}}(\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}},  t,  op,  sv1,  sv2,  ret)
\begin{DoxyCompactList}\small\item\em Macro for operator function. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \newline
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960ac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a707b785966c328fb5a6088b7879c7bb5}{P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a5a97d59d0b1fbe9fec8be5e4a7e78a19}{P\+R\+O\+P\+\_\+\+CV}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a645f496446d86cab596838159c0771c8}{P\+R\+O\+P\+\_\+\+C\+V\+\_\+\+O\+P\+T\+I\+ON}}, 
\newline
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960acf177c96a1a51c3bab51480a9a82d6d1}{P\+R\+O\+P\+\_\+\+OP}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a35a600dc362b0fe9910d3e1d376f9229}{P\+R\+O\+P\+\_\+\+SV}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a11997bfa318a12b5840c49af7be6deb0}{P\+R\+O\+P\+\_\+\+T\+H\+EN}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a2658effcd01bfa424c71ffedd0d6e39b}{P\+R\+O\+P\+\_\+\+T\+H\+E\+N\+\_\+\+O\+P\+T\+I\+ON}}, 
\newline
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a18ba2e6578f959d51896f8107128fe4b}{P\+R\+O\+P\+\_\+\+E\+L\+SE}}, 
\mbox{\hyperlink{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a20d1d16b4e01f41ba015f8c7ec8c0d29}{P\+R\+O\+P\+\_\+\+E\+L\+S\+E\+\_\+\+O\+P\+T\+I\+ON}}
 \}
\begin{DoxyCompactList}\small\item\em tensor\+\_\+if properties \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gsttensor__if_8c_afafde480f1eb6e37f56745a8acf838c7}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+tensor\+\_\+if\+\_\+debug)
\item 
\mbox{\hyperlink{gsttensor__if_8c_a71be7f9e4f35c43313cf1935086981a8}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}}, gst\+\_\+tensor\+\_\+if, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT)
\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a656b38de7bfb940786ae6e7a9a089cc9}{gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, const G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Setter for tensor\+\_\+if properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_ae3a0794741a77c1f013f6f128456a1c7}{gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Getter for tensor\+\_\+if properties. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__if_8c_ad1417e8a317a3e1ae3dcf580d4c482f5}{gst\+\_\+tensor\+\_\+if\+\_\+chain}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Buffer $\ast$buf)
\begin{DoxyCompactList}\small\item\em chain function for sink (gst element vmethod) \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__if_8c_ac2a017f8226e3962b108d2ab2f6154cc}{gst\+\_\+tensor\+\_\+if\+\_\+event}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em event function for sink (gst element vmethod) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a5b8d978291537b24227d85b619c1483e}{gst\+\_\+tensor\+\_\+if\+\_\+dispose}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em dispose function for tensor if (gst element vmethod) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a1ebb871f7c11193af55dd42dbfa3bfc6}{gst\+\_\+tensor\+\_\+if\+\_\+install\+\_\+properties}} (G\+Object\+Class $\ast$gobject\+\_\+class)
\begin{DoxyCompactList}\small\item\em Installs all the properties for tensor\+\_\+if. \end{DoxyCompactList}\item 
static G\+Type \mbox{\hyperlink{gsttensor__if_8c_ab21312efef1ffb4eb5ce43b6119c28e8}{gst\+\_\+tensor\+\_\+if\+\_\+cv\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em A private function to register G\+Enum\+Value array for the \textquotesingle{}compared-\/value\textquotesingle{} property to a G\+Type and return it. \end{DoxyCompactList}\item 
static G\+Type \mbox{\hyperlink{gsttensor__if_8c_af9aaac714b78a8e47eadc380b4a7339e}{gst\+\_\+tensor\+\_\+if\+\_\+op\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em A private function to register G\+Enum\+Value array for the \textquotesingle{}operator\textquotesingle{} property to a G\+Type and return it. \end{DoxyCompactList}\item 
static G\+Type \mbox{\hyperlink{gsttensor__if_8c_aa9dfdf3b1de4245262116984fe2f32fd}{gst\+\_\+tensor\+\_\+if\+\_\+act\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em A private function to register G\+Enum\+Value array for the \textquotesingle{}then\textquotesingle{} and \textquotesingle{}else\textquotesingle{} properties to a G\+Type and return it. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a44131824887162977a9088e05b650a24}{gst\+\_\+tensor\+\_\+if\+\_\+class\+\_\+init}} (\mbox{\hyperlink{gsttensor__if_8h_a6d264bc42ec1cfecaf1ee79d640886ab}{Gst\+Tensor\+If\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em initialize the tensor\+\_\+if\textquotesingle{}s class (G\+ST Standard) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a5d6e648d40245bdd3ba9555c80a81347}{gst\+\_\+tensor\+\_\+if\+\_\+init}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if)
\begin{DoxyCompactList}\small\item\em initialize the new element (G\+ST Standard) instantiate pads and add them to element set pad callback functions initialize instance structure \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a357341ee2f6b47644c16bc07c65480e3}{gst\+\_\+tensor\+\_\+if\+\_\+remove\+\_\+src\+\_\+pads}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if)
\begin{DoxyCompactList}\small\item\em function to remove srcpad list \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a9d29423ef607d0e7940f4bb5b5f22e4e}{gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+glist}} (const G\+Value $\ast$value, G\+List $\ast$$\ast$prop\+\_\+list, const gchar $\ast$delimiters)
\begin{DoxyCompactList}\small\item\em Convert G\+Value to G\+List according to delimiters. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_a5aacc932e3891bbd2a0e8f1e0ac3e423}{gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+cv\+\_\+option}} (const G\+Value $\ast$value, G\+List $\ast$$\ast$prop\+\_\+list)
\begin{DoxyCompactList}\small\item\em Convert G\+Value to G\+List for cv option. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_abf752537e2efab2e69c724fed89e0b30}{gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+supplied\+\_\+value}} (const G\+Value $\ast$value, \mbox{\hyperlink{structtensor__if__sv__s}{tensor\+\_\+if\+\_\+sv\+\_\+s}} $\ast$sv, const gchar $\ast$delimiters)
\begin{DoxyCompactList}\small\item\em Convert G\+Value to G\+List according to delimiters. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_ac9222cd89927fb4e2e6adca19bc807d2}{gst\+\_\+tensor\+\_\+if\+\_\+configure\+\_\+custom\+\_\+prop}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Set custom compared value property. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_add3a628a780a62a4ad1b924853469727}{gst\+\_\+tensor\+\_\+if\+\_\+property\+\_\+to\+\_\+string}} (G\+Value $\ast$value, G\+List $\ast$prop\+\_\+list, guint prop\+\_\+id)
\begin{DoxyCompactList}\small\item\em Convert G\+List to G\+Value. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__if_8c_acfde7e3c7526ad57383f3a2f8816ec10}{gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+property\+\_\+supplied\+\_\+value}} (G\+Value $\ast$value, \mbox{\hyperlink{structtensor__if__sv__s}{tensor\+\_\+if\+\_\+sv\+\_\+s}} $\ast$sv)
\begin{DoxyCompactList}\small\item\em Convert G\+Value to supplied value according to delimiters. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__if_8c_accee6165d67c12e0909836e94ddd363b}{gst\+\_\+tensor\+\_\+if\+\_\+parse\+\_\+caps}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, Gst\+Caps $\ast$caps)
\begin{DoxyCompactList}\small\item\em Parse caps and configure tensors info. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{structGstTensorPad}{Gst\+Tensor\+Pad}} $\ast$ \mbox{\hyperlink{gsttensor__if_8c_a33d8b59ca49e33dee73070706ae8b3cf}{gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+tensor\+\_\+pad}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, \mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} $\ast$config, gboolean $\ast$created, guint nth)
\begin{DoxyCompactList}\small\item\em Checking if the source pad is created and if not, create Tensor\+Pad. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__if_8c_a9bab0587f3dd6e3cc2aa59d4656a158d}{gst\+\_\+tensor\+\_\+if\+\_\+combine\+\_\+flows}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, \mbox{\hyperlink{structGstTensorPad}{Gst\+Tensor\+Pad}} $\ast$pad, Gst\+Flow\+Return ret)
\begin{DoxyCompactList}\small\item\em Check the status among sources in if. \end{DoxyCompactList}\item 
\mbox{\hyperlink{gsttensor__if_8c_a93ac705eb691019b6c663f10635c237e}{switch}} (\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}}-\/$>$\mbox{\hyperlink{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}{type}})
\item 
static gboolean \mbox{\hyperlink{gsttensor__if_8c_a74823075b350f9da5bd03816247c2cca}{gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+tensor\+\_\+average}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, Gst\+Buffer $\ast$buf, \mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} $\ast$\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}}, guint nth)
\begin{DoxyCompactList}\small\item\em Calculate average value of the nth tensor. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__if_8c_a770979a39c796efdafb602ddc449083b}{gst\+\_\+tensor\+\_\+if\+\_\+calculate\+\_\+cv}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, Gst\+Buffer $\ast$buf, \mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} $\ast$\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}})
\begin{DoxyCompactList}\small\item\em Calculate compared value. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{gsttensor__if_8c_a0242046c8523a62b9926ec068d7117ae}{nnstreamer\+\_\+if\+\_\+custom\+\_\+register}} (const gchar $\ast$name, \mbox{\hyperlink{tensor__if_8h_a3b00dcc7093fc386ebc97f4a8d7f0a72}{tensor\+\_\+if\+\_\+custom}} func, void $\ast$\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}})
\begin{DoxyCompactList}\small\item\em Registers a callback for tensor\+\_\+if custom condition. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{gsttensor__if_8c_adbf1fa65b734a1daafbc8053922bda8e}{nnstreamer\+\_\+if\+\_\+custom\+\_\+unregister}} (const gchar $\ast$name)
\begin{DoxyCompactList}\small\item\em Unregisters a callback for tensor\+\_\+if custom condition. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__if_8c_ad0fab39221a09c81f24f1c39446f1bb1}{gst\+\_\+tensor\+\_\+if\+\_\+check\+\_\+condition}} (\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$tensor\+\_\+if, Gst\+Buffer $\ast$buf, gboolean $\ast$\mbox{\hyperlink{gsttensor__if_8c_a13a9f04759a6e91867ba9c6301c61326}{result}})
\begin{DoxyCompactList}\small\item\em Determining whether a given condition is true or false. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__if_8c_a7c3b88a6174b442587875b361d888720}{sink\+\_\+factory}}
\begin{DoxyCompactList}\small\item\em The capabilities of the inputs. \end{DoxyCompactList}\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__if_8c_a506c90b87594a5e6111c8b5f6ca85473}{src\+\_\+factory}}
\begin{DoxyCompactList}\small\item\em The capabilities of the outputs. \end{DoxyCompactList}\item 
case \mbox{\hyperlink{gsttensor__if_8c_a72b17a6d6d6e1c88e5a76164aa79bc10}{T\+I\+F\+O\+P\+\_\+\+NE}}
\begin{DoxyCompactList}\small\item\em t == sv1.\+\_\+\#\#t) ? T\+R\+UE \+: F\+A\+L\+SE; break; \textbackslash{} \end{DoxyCompactList}\item 
case \mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} $\ast$ \mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}}
\item 
case \mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} gboolean $\ast$ \mbox{\hyperlink{gsttensor__if_8c_a13a9f04759a6e91867ba9c6301c61326}{result}}
\item 
\mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} \mbox{\hyperlink{gsttensor__if_8c_a7defc52cbe65d8d4954c31f195b5d2ca}{svtc\+\_\+1}}
\item 
\mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} \mbox{\hyperlink{gsttensor__if_8c_a6826135ccf67f5a2833443a978bd6e53}{svtc\+\_\+2}}
\item 
\mbox{\hyperlink{gsttensor__if_8c_a7defc52cbe65d8d4954c31f195b5d2ca}{svtc\+\_\+1}} \mbox{\hyperlink{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}{type}} = tensor\+\_\+if-\/$>$sv-\/$>$type
\item 
\mbox{\hyperlink{gsttensor__if_8c_a7defc52cbe65d8d4954c31f195b5d2ca}{svtc\+\_\+1}} \mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}} = tensor\+\_\+if-\/$>$sv-\/$>$data\mbox{[}0\mbox{]}
\item 
return \mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin to control flow based on tensor values. 

G\+Streamer/\+N\+N\+Streamer Tensor-\/\+IF Copyright (C) 2020 Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}}

\begin{DoxyDate}{Date}
08 April 2020 
\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__bug000040}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__if_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}\label{gsttensor__if_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!CAPS\_STRING@{CAPS\_STRING}}
\index{CAPS\_STRING@{CAPS\_STRING}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{CAPS\_STRING}{CAPS\_STRING}}
{\footnotesize\ttfamily \#define C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+NG~\mbox{\hyperlink{tensor__typedef_8h_a284951c7aec77ea34d1c0279d5a5b4a0}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}} \char`\"{}; \char`\"{} \mbox{\hyperlink{tensor__typedef_8h_a439a25631e5849f93c9f1dcdc7c2baa5}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}}



Definition at line 105 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a49606be7356624568932ec81c0d429f4}\label{gsttensor__if_8c_a49606be7356624568932ec81c0d429f4}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!DBG@{DBG}}
\index{DBG@{DBG}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{DBG}{DBG}}
{\footnotesize\ttfamily \#define D\+BG~(!tensor\+\_\+if-\/$>$silent)}



Macro for debug mode. 

S\+E\+C\+T\+I\+ON\+:element-\/tensor\+\_\+if

A filter that controls its src-\/pad based on the values (other/tensor(s)) of its sink-\/pad. For example, you may skip frames if there is no object detected with high confidence.

The format of statement with tensor-\/if is\+: if (Compared\+\_\+\+Value O\+P\+E\+R\+A\+T\+OR Supplied\+\_\+\+Value(s))) then T\+H\+EN else E\+L\+SE Compared\+\_\+\+Value and Supplied\+\_\+\+Value are the operands. Compared\+\_\+\+Value is a value from input tensor(s). Supplied\+\_\+\+Value is a value from tensor-\/if properties.

If the given if-\/condition is simple enough (e.\+g., if a specific element is between a given range in a tensor frame), it can be expressed as\+: $<$refsect2$>$ $<$title$>$Example launch line with simple if condition$<$/title$>$ gst-\/launch ... (some tensor stream) ! tensor\+\_\+if name=tif compared-\/value=A\+\_\+\+V\+A\+L\+UE compared-\/value-\/option=3\+:4\+:2\+:5,0 operator=R\+A\+N\+G\+E\+\_\+\+I\+N\+C\+L\+U\+S\+I\+VE supplied-\/value=10,100 then=P\+A\+S\+S\+T\+H\+R\+O\+U\+GH else=T\+E\+N\+S\+O\+R\+P\+I\+CK else-\/option=1 tif.\+src\+\_\+0 ! queue ! (tensor(s) stream for T\+R\+UE action) ... tif.\+src\+\_\+1 ! queue ! (tensor(s) stream for F\+A\+L\+SE action) ... $<$/refsect2$>$

However, if the if-\/condition is complex and cannot be expressed with tensor-\/if expressions, you may create a corresponding custom filter with tensor-\/filter, whose output is other/tensors with an additional tensor that is \char`\"{}1\+:1\+:1\+:1, uint8\char`\"{}, which is 1 (true) or 0 (false) as the first tensor of other/tensors and the input tensor/tensors. Then, you can create a pipeline as follows\+: $<$refsect2$>$ $<$title$>$Example launch line with complex if condition$<$/title$>$ gst-\/launch ... (some tensor stream) ! tensor\+\_\+filter framework=custom name=your\+\_\+code.\+so ! tensor\+\_\+if compared-\/value=A\+\_\+\+V\+A\+L\+UE compared-\/value-\/option=0\+:0\+:0\+:0,0 \# 1st tensor\textquotesingle{}s \mbox{[}0\mbox{]}\mbox{[}0\mbox{]}\mbox{[}0\mbox{]}\mbox{[}0\mbox{]}. operator=EQ supplied-\/value=1 then=P\+A\+S\+S\+T\+H\+R\+O\+U\+GH \# or whatsoever you want else=S\+K\+IP \# or whatsoever you want ! tensor\+\_\+demux name=d d.\+src\+\_\+0 ! queue ! fakesink \# throw away the 1/0 value. d.\+src\+\_\+1 ! queue ! do whatever you want here... ... $<$/refsect2$>$ 

Definition at line 82 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_adef911caed7c65a1643062817f4a59d7}\label{gsttensor__if_8c_adef911caed7c65a1643062817f4a59d7}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}}
\index{GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{GST\_CAT\_DEFAULT}{GST\_CAT\_DEFAULT}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT~gst\+\_\+tensor\+\_\+if\+\_\+debug}



Definition at line 103 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_ab233d78d363dacc275acec7915c6046e}\label{gsttensor__if_8c_ab233d78d363dacc275acec7915c6046e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_parent\_class@{gst\_tensor\_if\_parent\_class}}
\index{gst\_tensor\_if\_parent\_class@{gst\_tensor\_if\_parent\_class}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_parent\_class}{gst\_tensor\_if\_parent\_class}}
{\footnotesize\ttfamily \#define gst\+\_\+tensor\+\_\+if\+\_\+parent\+\_\+class~parent\+\_\+class}



Definition at line 122 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_aeda308def67626e7a3d939721554b028}\label{gsttensor__if_8c_aeda308def67626e7a3d939721554b028}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!GST\_TYPE\_TENSOR\_IF\_ACT@{GST\_TYPE\_TENSOR\_IF\_ACT}}
\index{GST\_TYPE\_TENSOR\_IF\_ACT@{GST\_TYPE\_TENSOR\_IF\_ACT}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_IF\_ACT}{GST\_TYPE\_TENSOR\_IF\_ACT}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+A\+CT~(\mbox{\hyperlink{gsttensor__if_8c_aa9dfdf3b1de4245262116984fe2f32fd}{gst\+\_\+tensor\+\_\+if\+\_\+act\+\_\+get\+\_\+type}} ())}



Definition at line 195 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a77d46c0433e3e95f5101ced082692ff6}\label{gsttensor__if_8c_a77d46c0433e3e95f5101ced082692ff6}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!GST\_TYPE\_TENSOR\_IF\_CV@{GST\_TYPE\_TENSOR\_IF\_CV}}
\index{GST\_TYPE\_TENSOR\_IF\_CV@{GST\_TYPE\_TENSOR\_IF\_CV}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_IF\_CV}{GST\_TYPE\_TENSOR\_IF\_CV}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+CV~(\mbox{\hyperlink{gsttensor__if_8c_ab21312efef1ffb4eb5ce43b6119c28e8}{gst\+\_\+tensor\+\_\+if\+\_\+cv\+\_\+get\+\_\+type}} ())}



Definition at line 139 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a5193e4546ec06ce2095c75e059e9110e}\label{gsttensor__if_8c_a5193e4546ec06ce2095c75e059e9110e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!GST\_TYPE\_TENSOR\_IF\_OP@{GST\_TYPE\_TENSOR\_IF\_OP}}
\index{GST\_TYPE\_TENSOR\_IF\_OP@{GST\_TYPE\_TENSOR\_IF\_OP}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_IF\_OP}{GST\_TYPE\_TENSOR\_IF\_OP}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+I\+F\+\_\+\+OP~(\mbox{\hyperlink{gsttensor__if_8c_af9aaac714b78a8e47eadc380b4a7339e}{gst\+\_\+tensor\+\_\+if\+\_\+op\+\_\+get\+\_\+type}} ())}



Definition at line 163 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a77213d9be5eccf8b28d987e124d4eb86}\label{gsttensor__if_8c_a77213d9be5eccf8b28d987e124d4eb86}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!operator\_func@{operator\_func}}
\index{operator\_func@{operator\_func}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{operator\_func}{operator\_func}}
{\footnotesize\ttfamily \#define operator\+\_\+func(\begin{DoxyParamCaption}\item[{}]{\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}},  }\item[{}]{t,  }\item[{}]{op,  }\item[{}]{sv1,  }\item[{}]{sv2,  }\item[{}]{ret }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{keywordflow}{do} \{ \(\backslash\)}
\DoxyCodeLine{  switch (op) \{ \(\backslash\)}
\DoxyCodeLine{    case \mbox{\hyperlink{gsttensor__if_8h_a589d1f6ec8db13749a28fc3f7cff92c0a963df73f777d8dadb5b9859705857112}{TIFOP\_EQ}}: ret = (\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}}.\_}

\end{DoxyCode}


Macro for operator function. 



Definition at line 813 of file gsttensor\+\_\+if.\+c.



\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960}} 
\doxysubsubsection{\texorpdfstring{anonymous enum}{anonymous enum}}
{\footnotesize\ttfamily anonymous enum}



tensor\+\_\+if properties 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_0@{PROP\_0}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_0@{PROP\_0}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960ac37dda0da1a44e10c0504afeeb863f3c}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960ac37dda0da1a44e10c0504afeeb863f3c}} 
P\+R\+O\+P\+\_\+0&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_SILENT@{PROP\_SILENT}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_SILENT@{PROP\_SILENT}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a707b785966c328fb5a6088b7879c7bb5}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a707b785966c328fb5a6088b7879c7bb5}} 
P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_CV@{PROP\_CV}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_CV@{PROP\_CV}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a5a97d59d0b1fbe9fec8be5e4a7e78a19}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a5a97d59d0b1fbe9fec8be5e4a7e78a19}} 
P\+R\+O\+P\+\_\+\+CV&Compared Value, operand 1 (from input tensor(s)) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_CV\_OPTION@{PROP\_CV\_OPTION}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_CV\_OPTION@{PROP\_CV\_OPTION}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a645f496446d86cab596838159c0771c8}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a645f496446d86cab596838159c0771c8}} 
P\+R\+O\+P\+\_\+\+C\+V\+\_\+\+O\+P\+T\+I\+ON&Compared Value Option \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_OP@{PROP\_OP}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_OP@{PROP\_OP}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960acf177c96a1a51c3bab51480a9a82d6d1}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960acf177c96a1a51c3bab51480a9a82d6d1}} 
P\+R\+O\+P\+\_\+\+OP&Operator \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_SV@{PROP\_SV}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_SV@{PROP\_SV}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a35a600dc362b0fe9910d3e1d376f9229}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a35a600dc362b0fe9910d3e1d376f9229}} 
P\+R\+O\+P\+\_\+\+SV&Supplied Value, operand 2 (from the properties) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_THEN@{PROP\_THEN}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_THEN@{PROP\_THEN}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a11997bfa318a12b5840c49af7be6deb0}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a11997bfa318a12b5840c49af7be6deb0}} 
P\+R\+O\+P\+\_\+\+T\+H\+EN&Action if it is T\+R\+UE \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_THEN\_OPTION@{PROP\_THEN\_OPTION}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_THEN\_OPTION@{PROP\_THEN\_OPTION}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a2658effcd01bfa424c71ffedd0d6e39b}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a2658effcd01bfa424c71ffedd0d6e39b}} 
P\+R\+O\+P\+\_\+\+T\+H\+E\+N\+\_\+\+O\+P\+T\+I\+ON&Option for T\+R\+UE Action \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_ELSE@{PROP\_ELSE}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_ELSE@{PROP\_ELSE}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a18ba2e6578f959d51896f8107128fe4b}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a18ba2e6578f959d51896f8107128fe4b}} 
P\+R\+O\+P\+\_\+\+E\+L\+SE&Action if it is F\+A\+L\+SE \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_ELSE\_OPTION@{PROP\_ELSE\_OPTION}!gsttensor\_if.c@{gsttensor\_if.c}}\index{gsttensor\_if.c@{gsttensor\_if.c}!PROP\_ELSE\_OPTION@{PROP\_ELSE\_OPTION}}}\mbox{\Hypertarget{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a20d1d16b4e01f41ba015f8c7ec8c0d29}\label{gsttensor__if_8c_af9bdc3014f3d54c426b6d2df10de4960a20d1d16b4e01f41ba015f8c7ec8c0d29}} 
P\+R\+O\+P\+\_\+\+E\+L\+S\+E\+\_\+\+O\+P\+T\+I\+ON&Option for F\+A\+L\+SE Action \\
\hline

\end{DoxyEnumFields}


Definition at line 88 of file gsttensor\+\_\+if.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__if_8c_a71be7f9e4f35c43313cf1935086981a8}\label{gsttensor__if_8c_a71be7f9e4f35c43313cf1935086981a8}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}}
\index{G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{G\_DEFINE\_TYPE()}{G\_DEFINE\_TYPE()}}
{\footnotesize\ttfamily G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}}}]{,  }\item[{gst\+\_\+tensor\+\_\+if}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gsttensor__if_8c_afafde480f1eb6e37f56745a8acf838c7}\label{gsttensor__if_8c_afafde480f1eb6e37f56745a8acf838c7}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}}
\index{GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{GST\_DEBUG\_CATEGORY\_STATIC()}{GST\_DEBUG\_CATEGORY\_STATIC()}}
{\footnotesize\ttfamily G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC (\begin{DoxyParamCaption}\item[{gst\+\_\+tensor\+\_\+if\+\_\+debug}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gsttensor__if_8c_aa9dfdf3b1de4245262116984fe2f32fd}\label{gsttensor__if_8c_aa9dfdf3b1de4245262116984fe2f32fd}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_act\_get\_type@{gst\_tensor\_if\_act\_get\_type}}
\index{gst\_tensor\_if\_act\_get\_type@{gst\_tensor\_if\_act\_get\_type}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_act\_get\_type()}{gst\_tensor\_if\_act\_get\_type()}}
{\footnotesize\ttfamily static G\+Type gst\+\_\+tensor\+\_\+if\+\_\+act\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



A private function to register G\+Enum\+Value array for the \textquotesingle{}then\textquotesingle{} and \textquotesingle{}else\textquotesingle{} properties to a G\+Type and return it. 



Definition at line 201 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a770979a39c796efdafb602ddc449083b}\label{gsttensor__if_8c_a770979a39c796efdafb602ddc449083b}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_calculate\_cv@{gst\_tensor\_if\_calculate\_cv}}
\index{gst\_tensor\_if\_calculate\_cv@{gst\_tensor\_if\_calculate\_cv}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_calculate\_cv()}{gst\_tensor\_if\_calculate\_cv()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+if\+\_\+calculate\+\_\+cv (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{Gst\+Buffer $\ast$}]{buf,  }\item[{\mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} $\ast$}]{cv }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate compared value. 



Definition at line 939 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a770979a39c796efdafb602ddc449083b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a770979a39c796efdafb602ddc449083b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ad1417e8a317a3e1ae3dcf580d4c482f5}\label{gsttensor__if_8c_ad1417e8a317a3e1ae3dcf580d4c482f5}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_chain@{gst\_tensor\_if\_chain}}
\index{gst\_tensor\_if\_chain@{gst\_tensor\_if\_chain}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_chain()}{gst\_tensor\_if\_chain()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+if\+\_\+chain (\begin{DoxyParamCaption}\item[{Gst\+Pad $\ast$}]{pad,  }\item[{Gst\+Object $\ast$}]{parent,  }\item[{Gst\+Buffer $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



chain function for sink (gst element vmethod) 



Definition at line 1125 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ad1417e8a317a3e1ae3dcf580d4c482f5_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=328pt]{gsttensor__if_8c_ad1417e8a317a3e1ae3dcf580d4c482f5_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ad0fab39221a09c81f24f1c39446f1bb1}\label{gsttensor__if_8c_ad0fab39221a09c81f24f1c39446f1bb1}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_check\_condition@{gst\_tensor\_if\_check\_condition}}
\index{gst\_tensor\_if\_check\_condition@{gst\_tensor\_if\_check\_condition}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_check\_condition()}{gst\_tensor\_if\_check\_condition()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+if\+\_\+check\+\_\+condition (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{Gst\+Buffer $\ast$}]{buf,  }\item[{gboolean $\ast$}]{result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Determining whether a given condition is true or false. 


\begin{DoxyParams}{Parameters}
{\em tensor\+\_\+if} & Tensor\+If Object \\
\hline
{\em buf} & gstbuffer from sink pad \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
return T\+R\+UE if no error 
\end{DoxyReturn}


Definition at line 1070 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ad0fab39221a09c81f24f1c39446f1bb1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ad0fab39221a09c81f24f1c39446f1bb1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a44131824887162977a9088e05b650a24}\label{gsttensor__if_8c_a44131824887162977a9088e05b650a24}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_class\_init@{gst\_tensor\_if\_class\_init}}
\index{gst\_tensor\_if\_class\_init@{gst\_tensor\_if\_class\_init}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_class\_init()}{gst\_tensor\_if\_class\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+class\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a6d264bc42ec1cfecaf1ee79d640886ab}{Gst\+Tensor\+If\+Class}} $\ast$}]{klass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



initialize the tensor\+\_\+if\textquotesingle{}s class (G\+ST Standard) 



Definition at line 222 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a44131824887162977a9088e05b650a24_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a9bab0587f3dd6e3cc2aa59d4656a158d}\label{gsttensor__if_8c_a9bab0587f3dd6e3cc2aa59d4656a158d}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_combine\_flows@{gst\_tensor\_if\_combine\_flows}}
\index{gst\_tensor\_if\_combine\_flows@{gst\_tensor\_if\_combine\_flows}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_combine\_flows()}{gst\_tensor\_if\_combine\_flows()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+if\+\_\+combine\+\_\+flows (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{\mbox{\hyperlink{structGstTensorPad}{Gst\+Tensor\+Pad}} $\ast$}]{pad,  }\item[{Gst\+Flow\+Return}]{ret }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Check the status among sources in if. 


\begin{DoxyParams}{Parameters}
{\em tensor\+\_\+if} & Tensor\+If Object \\
\hline
{\em Tensor\+Pad} & Tensorpad \\
\hline
{\em ret} & return status of current pad \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
return status after check sources 
\end{DoxyReturn}


Definition at line 791 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=272pt]{gsttensor__if_8c_a9bab0587f3dd6e3cc2aa59d4656a158d_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a9bab0587f3dd6e3cc2aa59d4656a158d_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ac9222cd89927fb4e2e6adca19bc807d2}\label{gsttensor__if_8c_ac9222cd89927fb4e2e6adca19bc807d2}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_configure\_custom\_prop@{gst\_tensor\_if\_configure\_custom\_prop}}
\index{gst\_tensor\_if\_configure\_custom\_prop@{gst\_tensor\_if\_configure\_custom\_prop}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_configure\_custom\_prop()}{gst\_tensor\_if\_configure\_custom\_prop()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+configure\+\_\+custom\+\_\+prop (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set custom compared value property. 



Definition at line 435 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ac9222cd89927fb4e2e6adca19bc807d2_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ac9222cd89927fb4e2e6adca19bc807d2_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ab21312efef1ffb4eb5ce43b6119c28e8}\label{gsttensor__if_8c_ab21312efef1ffb4eb5ce43b6119c28e8}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_cv\_get\_type@{gst\_tensor\_if\_cv\_get\_type}}
\index{gst\_tensor\_if\_cv\_get\_type@{gst\_tensor\_if\_cv\_get\_type}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_cv\_get\_type()}{gst\_tensor\_if\_cv\_get\_type()}}
{\footnotesize\ttfamily static G\+Type gst\+\_\+tensor\+\_\+if\+\_\+cv\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



A private function to register G\+Enum\+Value array for the \textquotesingle{}compared-\/value\textquotesingle{} property to a G\+Type and return it. 



Definition at line 145 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a5b8d978291537b24227d85b619c1483e}\label{gsttensor__if_8c_a5b8d978291537b24227d85b619c1483e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_dispose@{gst\_tensor\_if\_dispose}}
\index{gst\_tensor\_if\_dispose@{gst\_tensor\_if\_dispose}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_dispose()}{gst\_tensor\_if\_dispose()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+dispose (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



dispose function for tensor if (gst element vmethod) 



Definition at line 307 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a5b8d978291537b24227d85b619c1483e_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a5b8d978291537b24227d85b619c1483e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ac2a017f8226e3962b108d2ab2f6154cc}\label{gsttensor__if_8c_ac2a017f8226e3962b108d2ab2f6154cc}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_event@{gst\_tensor\_if\_event}}
\index{gst\_tensor\_if\_event@{gst\_tensor\_if\_event}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_event()}{gst\_tensor\_if\_event()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+if\+\_\+event (\begin{DoxyParamCaption}\item[{Gst\+Pad $\ast$}]{pad,  }\item[{Gst\+Object $\ast$}]{parent,  }\item[{Gst\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



event function for sink (gst element vmethod) 



Definition at line 695 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ac2a017f8226e3962b108d2ab2f6154cc_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=330pt]{gsttensor__if_8c_ac2a017f8226e3962b108d2ab2f6154cc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_ae3a0794741a77c1f013f6f128456a1c7}\label{gsttensor__if_8c_ae3a0794741a77c1f013f6f128456a1c7}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_get\_property@{gst\_tensor\_if\_get\_property}}
\index{gst\_tensor\_if\_get\_property@{gst\_tensor\_if\_get\_property}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_get\_property()}{gst\_tensor\_if\_get\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+property (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object,  }\item[{guint}]{prop\+\_\+id,  }\item[{G\+Value $\ast$}]{value,  }\item[{G\+Param\+Spec $\ast$}]{pspec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter for tensor\+\_\+if properties. 



Definition at line 579 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ae3a0794741a77c1f013f6f128456a1c7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_ae3a0794741a77c1f013f6f128456a1c7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_acfde7e3c7526ad57383f3a2f8816ec10}\label{gsttensor__if_8c_acfde7e3c7526ad57383f3a2f8816ec10}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_get\_property\_supplied\_value@{gst\_tensor\_if\_get\_property\_supplied\_value}}
\index{gst\_tensor\_if\_get\_property\_supplied\_value@{gst\_tensor\_if\_get\_property\_supplied\_value}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_get\_property\_supplied\_value()}{gst\_tensor\_if\_get\_property\_supplied\_value()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+property\+\_\+supplied\+\_\+value (\begin{DoxyParamCaption}\item[{G\+Value $\ast$}]{value,  }\item[{\mbox{\hyperlink{structtensor__if__sv__s}{tensor\+\_\+if\+\_\+sv\+\_\+s}} $\ast$}]{sv }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert G\+Value to supplied value according to delimiters. 



Definition at line 547 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_acfde7e3c7526ad57383f3a2f8816ec10_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_acfde7e3c7526ad57383f3a2f8816ec10_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a74823075b350f9da5bd03816247c2cca}\label{gsttensor__if_8c_a74823075b350f9da5bd03816247c2cca}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_get\_tensor\_average@{gst\_tensor\_if\_get\_tensor\_average}}
\index{gst\_tensor\_if\_get\_tensor\_average@{gst\_tensor\_if\_get\_tensor\_average}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_get\_tensor\_average()}{gst\_tensor\_if\_get\_tensor\_average()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+tensor\+\_\+average (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{Gst\+Buffer $\ast$}]{buf,  }\item[{\mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}} $\ast$}]{cv,  }\item[{guint}]{nth }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Calculate average value of the nth tensor. 



Definition at line 904 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a74823075b350f9da5bd03816247c2cca_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a74823075b350f9da5bd03816247c2cca_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a33d8b59ca49e33dee73070706ae8b3cf}\label{gsttensor__if_8c_a33d8b59ca49e33dee73070706ae8b3cf}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_get\_tensor\_pad@{gst\_tensor\_if\_get\_tensor\_pad}}
\index{gst\_tensor\_if\_get\_tensor\_pad@{gst\_tensor\_if\_get\_tensor\_pad}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_get\_tensor\_pad()}{gst\_tensor\_if\_get\_tensor\_pad()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{structGstTensorPad}{Gst\+Tensor\+Pad}}$\ast$ gst\+\_\+tensor\+\_\+if\+\_\+get\+\_\+tensor\+\_\+pad (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{\mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} $\ast$}]{config,  }\item[{gboolean $\ast$}]{created,  }\item[{guint}]{nth }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Checking if the source pad is created and if not, create Tensor\+Pad. 


\begin{DoxyParams}{Parameters}
{\em tensor\+\_\+if} & Tensor\+If Object \\
\hline
{\em config} & Tensors Config Data \\
\hline
{\em nth} & source ordering \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Tensor\+Pad if pad is already created, then return created pad. If not return new pad after creation. 
\end{DoxyReturn}


Definition at line 727 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a33d8b59ca49e33dee73070706ae8b3cf_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a33d8b59ca49e33dee73070706ae8b3cf_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a5d6e648d40245bdd3ba9555c80a81347}\label{gsttensor__if_8c_a5d6e648d40245bdd3ba9555c80a81347}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_init@{gst\_tensor\_if\_init}}
\index{gst\_tensor\_if\_init@{gst\_tensor\_if\_init}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_init()}{gst\_tensor\_if\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



initialize the new element (G\+ST Standard) instantiate pads and add them to element set pad callback functions initialize instance structure 



Definition at line 260 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a5d6e648d40245bdd3ba9555c80a81347_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a1ebb871f7c11193af55dd42dbfa3bfc6}\label{gsttensor__if_8c_a1ebb871f7c11193af55dd42dbfa3bfc6}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_install\_properties@{gst\_tensor\_if\_install\_properties}}
\index{gst\_tensor\_if\_install\_properties@{gst\_tensor\_if\_install\_properties}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_install\_properties()}{gst\_tensor\_if\_install\_properties()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+install\+\_\+properties (\begin{DoxyParamCaption}\item[{G\+Object\+Class $\ast$}]{gobject\+\_\+class }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Installs all the properties for tensor\+\_\+if. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em gobject\+\_\+class} & Glib object class whose properties will be set \\
\hline
\end{DoxyParams}


Definition at line 627 of file gsttensor\+\_\+if.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a1ebb871f7c11193af55dd42dbfa3bfc6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_af9aaac714b78a8e47eadc380b4a7339e}\label{gsttensor__if_8c_af9aaac714b78a8e47eadc380b4a7339e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_op\_get\_type@{gst\_tensor\_if\_op\_get\_type}}
\index{gst\_tensor\_if\_op\_get\_type@{gst\_tensor\_if\_op\_get\_type}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_op\_get\_type()}{gst\_tensor\_if\_op\_get\_type()}}
{\footnotesize\ttfamily static G\+Type gst\+\_\+tensor\+\_\+if\+\_\+op\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



A private function to register G\+Enum\+Value array for the \textquotesingle{}operator\textquotesingle{} property to a G\+Type and return it. 



Definition at line 169 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_accee6165d67c12e0909836e94ddd363b}\label{gsttensor__if_8c_accee6165d67c12e0909836e94ddd363b}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_parse\_caps@{gst\_tensor\_if\_parse\_caps}}
\index{gst\_tensor\_if\_parse\_caps@{gst\_tensor\_if\_parse\_caps}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_parse\_caps()}{gst\_tensor\_if\_parse\_caps()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+if\+\_\+parse\+\_\+caps (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if,  }\item[{Gst\+Caps $\ast$}]{caps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Parse caps and configure tensors info. 


\begin{DoxyParams}{Parameters}
{\em tensor\+\_\+if} & Gst\+Tensor\+If object \\
\hline
{\em caps} & incoming capability \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+U\+E/\+F\+A\+L\+SE (if successfully configured, return T\+R\+UE) 
\end{DoxyReturn}


Definition at line 679 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_accee6165d67c12e0909836e94ddd363b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_accee6165d67c12e0909836e94ddd363b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_add3a628a780a62a4ad1b924853469727}\label{gsttensor__if_8c_add3a628a780a62a4ad1b924853469727}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_property\_to\_string@{gst\_tensor\_if\_property\_to\_string}}
\index{gst\_tensor\_if\_property\_to\_string@{gst\_tensor\_if\_property\_to\_string}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_property\_to\_string()}{gst\_tensor\_if\_property\_to\_string()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+property\+\_\+to\+\_\+string (\begin{DoxyParamCaption}\item[{G\+Value $\ast$}]{value,  }\item[{G\+List $\ast$}]{prop\+\_\+list,  }\item[{guint}]{prop\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert G\+List to G\+Value. 



Definition at line 503 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_add3a628a780a62a4ad1b924853469727_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_add3a628a780a62a4ad1b924853469727_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a357341ee2f6b47644c16bc07c65480e3}\label{gsttensor__if_8c_a357341ee2f6b47644c16bc07c65480e3}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_remove\_src\_pads@{gst\_tensor\_if\_remove\_src\_pads}}
\index{gst\_tensor\_if\_remove\_src\_pads@{gst\_tensor\_if\_remove\_src\_pads}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_remove\_src\_pads()}{gst\_tensor\_if\_remove\_src\_pads()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+remove\+\_\+src\+\_\+pads (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8h_a0cd5fe5d1d9d432bd22e0d8234c25000}{Gst\+Tensor\+If}} $\ast$}]{tensor\+\_\+if }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



function to remove srcpad list 



Definition at line 290 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=285pt]{gsttensor__if_8c_a357341ee2f6b47644c16bc07c65480e3_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a357341ee2f6b47644c16bc07c65480e3_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a656b38de7bfb940786ae6e7a9a089cc9}\label{gsttensor__if_8c_a656b38de7bfb940786ae6e7a9a089cc9}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_set\_property@{gst\_tensor\_if\_set\_property}}
\index{gst\_tensor\_if\_set\_property@{gst\_tensor\_if\_set\_property}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_set\_property()}{gst\_tensor\_if\_set\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object,  }\item[{guint}]{prop\+\_\+id,  }\item[{const G\+Value $\ast$}]{value,  }\item[{G\+Param\+Spec $\ast$}]{pspec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for tensor\+\_\+if properties. 



Definition at line 456 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a656b38de7bfb940786ae6e7a9a089cc9_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a656b38de7bfb940786ae6e7a9a089cc9_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a5aacc932e3891bbd2a0e8f1e0ac3e423}\label{gsttensor__if_8c_a5aacc932e3891bbd2a0e8f1e0ac3e423}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_set\_property\_cv\_option@{gst\_tensor\_if\_set\_property\_cv\_option}}
\index{gst\_tensor\_if\_set\_property\_cv\_option@{gst\_tensor\_if\_set\_property\_cv\_option}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_set\_property\_cv\_option()}{gst\_tensor\_if\_set\_property\_cv\_option()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+cv\+\_\+option (\begin{DoxyParamCaption}\item[{const G\+Value $\ast$}]{value,  }\item[{G\+List $\ast$$\ast$}]{prop\+\_\+list }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert G\+Value to G\+List for cv option. 



Definition at line 354 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a5aacc932e3891bbd2a0e8f1e0ac3e423_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a5aacc932e3891bbd2a0e8f1e0ac3e423_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a9d29423ef607d0e7940f4bb5b5f22e4e}\label{gsttensor__if_8c_a9d29423ef607d0e7940f4bb5b5f22e4e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_set\_property\_glist@{gst\_tensor\_if\_set\_property\_glist}}
\index{gst\_tensor\_if\_set\_property\_glist@{gst\_tensor\_if\_set\_property\_glist}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_set\_property\_glist()}{gst\_tensor\_if\_set\_property\_glist()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+glist (\begin{DoxyParamCaption}\item[{const G\+Value $\ast$}]{value,  }\item[{G\+List $\ast$$\ast$}]{prop\+\_\+list,  }\item[{const gchar $\ast$}]{delimiters }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert G\+Value to G\+List according to delimiters. 



Definition at line 328 of file gsttensor\+\_\+if.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a9d29423ef607d0e7940f4bb5b5f22e4e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_abf752537e2efab2e69c724fed89e0b30}\label{gsttensor__if_8c_abf752537e2efab2e69c724fed89e0b30}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!gst\_tensor\_if\_set\_property\_supplied\_value@{gst\_tensor\_if\_set\_property\_supplied\_value}}
\index{gst\_tensor\_if\_set\_property\_supplied\_value@{gst\_tensor\_if\_set\_property\_supplied\_value}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_if\_set\_property\_supplied\_value()}{gst\_tensor\_if\_set\_property\_supplied\_value()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+if\+\_\+set\+\_\+property\+\_\+supplied\+\_\+value (\begin{DoxyParamCaption}\item[{const G\+Value $\ast$}]{value,  }\item[{\mbox{\hyperlink{structtensor__if__sv__s}{tensor\+\_\+if\+\_\+sv\+\_\+s}} $\ast$}]{sv,  }\item[{const gchar $\ast$}]{delimiters }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Convert G\+Value to G\+List according to delimiters. 



Definition at line 400 of file gsttensor\+\_\+if.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_abf752537e2efab2e69c724fed89e0b30_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a0242046c8523a62b9926ec068d7117ae}\label{gsttensor__if_8c_a0242046c8523a62b9926ec068d7117ae}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!nnstreamer\_if\_custom\_register@{nnstreamer\_if\_custom\_register}}
\index{nnstreamer\_if\_custom\_register@{nnstreamer\_if\_custom\_register}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_if\_custom\_register()}{nnstreamer\_if\_custom\_register()}}
{\footnotesize\ttfamily int nnstreamer\+\_\+if\+\_\+custom\+\_\+register (\begin{DoxyParamCaption}\item[{const gchar $\ast$}]{name,  }\item[{\mbox{\hyperlink{tensor__if_8h_a3b00dcc7093fc386ebc97f4a8d7f0a72}{tensor\+\_\+if\+\_\+custom}}}]{func,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Registers a callback for tensor\+\_\+if custom condition. 

Register the custom callback function.

\begin{DoxyReturn}{Returns}
0 if success. -\/E\+R\+R\+NO if error. 
\end{DoxyReturn}


Definition at line 1023 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_a0242046c8523a62b9926ec068d7117ae_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_adbf1fa65b734a1daafbc8053922bda8e}\label{gsttensor__if_8c_adbf1fa65b734a1daafbc8053922bda8e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!nnstreamer\_if\_custom\_unregister@{nnstreamer\_if\_custom\_unregister}}
\index{nnstreamer\_if\_custom\_unregister@{nnstreamer\_if\_custom\_unregister}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{nnstreamer\_if\_custom\_unregister()}{nnstreamer\_if\_custom\_unregister()}}
{\footnotesize\ttfamily int nnstreamer\+\_\+if\+\_\+custom\+\_\+unregister (\begin{DoxyParamCaption}\item[{const gchar $\ast$}]{name }\end{DoxyParamCaption})}



Unregisters a callback for tensor\+\_\+if custom condition. 

Unregister the custom callback function.

\begin{DoxyReturn}{Returns}
0 if success. -\/E\+R\+R\+NO if error. 
\end{DoxyReturn}


Definition at line 1049 of file gsttensor\+\_\+if.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__if_8c_adbf1fa65b734a1daafbc8053922bda8e_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__if_8c_a93ac705eb691019b6c663f10635c237e}\label{gsttensor__if_8c_a93ac705eb691019b6c663f10635c237e}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!switch@{switch}}
\index{switch@{switch}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{switch()}{switch()}}
{\footnotesize\ttfamily switch (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}{cv}}-\/$>$}]{type }\end{DoxyParamCaption})}



Definition at line 851 of file gsttensor\+\_\+if.\+c.

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}\label{gsttensor__if_8c_a221937e6c16077968b33769ab2cb53c0}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!cv@{cv}}
\index{cv@{cv}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{cv}{cv}}
{\footnotesize\ttfamily case \mbox{\hyperlink{structtensor__data__s}{tensor\+\_\+data\+\_\+s}}$\ast$ cv}



Definition at line 838 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}\label{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!data@{data}}
\index{data@{data}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{data}{data}}
{\footnotesize\ttfamily \mbox{\hyperlink{gsttensor__if_8c_a6826135ccf67f5a2833443a978bd6e53}{svtc\+\_\+2}} data = tensor\+\_\+if-\/$>$sv-\/$>$data\mbox{[}0\mbox{]}}



Definition at line 844 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a13a9f04759a6e91867ba9c6301c61326}\label{gsttensor__if_8c_a13a9f04759a6e91867ba9c6301c61326}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!result@{result}}
\index{result@{result}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{result}{result}}
{\footnotesize\ttfamily $\ast$ result}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{  gboolean ret = \mbox{\hyperlink{gsttensor__transform_8c_ac529551d78a5faa7079a3deaaadc3f5e}{FALSE}}}

\end{DoxyCode}


Definition at line 839 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a7c3b88a6174b442587875b361d888720}\label{gsttensor__if_8c_a7c3b88a6174b442587875b361d888720}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!sink\_factory@{sink\_factory}}
\index{sink\_factory@{sink\_factory}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{sink\_factory}{sink\_factory}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template sink\+\_\+factory\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= GST\_STATIC\_PAD\_TEMPLATE (\textcolor{stringliteral}{"sink"},}
\DoxyCodeLine{    GST\_PAD\_SINK,}
\DoxyCodeLine{    GST\_PAD\_ALWAYS,}
\DoxyCodeLine{    GST\_STATIC\_CAPS (\mbox{\hyperlink{gsttensor__if_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}{CAPS\_STRING}}))}

\end{DoxyCode}


The capabilities of the inputs. 



Definition at line 109 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a506c90b87594a5e6111c8b5f6ca85473}\label{gsttensor__if_8c_a506c90b87594a5e6111c8b5f6ca85473}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!src\_factory@{src\_factory}}
\index{src\_factory@{src\_factory}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{src\_factory}{src\_factory}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template src\+\_\+factory\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= GST\_STATIC\_PAD\_TEMPLATE (\textcolor{stringliteral}{"src"},}
\DoxyCodeLine{    GST\_PAD\_SRC,}
\DoxyCodeLine{    GST\_PAD\_SOMETIMES,}
\DoxyCodeLine{    GST\_STATIC\_CAPS (\mbox{\hyperlink{gsttensor__if_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}{CAPS\_STRING}}))}

\end{DoxyCode}


The capabilities of the outputs. 



Definition at line 117 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a7defc52cbe65d8d4954c31f195b5d2ca}\label{gsttensor__if_8c_a7defc52cbe65d8d4954c31f195b5d2ca}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!svtc\_1@{svtc\_1}}
\index{svtc\_1@{svtc\_1}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{svtc\_1}{svtc\_1}}
{\footnotesize\ttfamily \mbox{\hyperlink{tensor__data_8h_a46a370094cb45ebbbf8b591e908abf7d}{gst\+\_\+tensor\+\_\+data\+\_\+typecast}} \& svtc\+\_\+1}



Definition at line 841 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a6826135ccf67f5a2833443a978bd6e53}\label{gsttensor__if_8c_a6826135ccf67f5a2833443a978bd6e53}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!svtc\_2@{svtc\_2}}
\index{svtc\_2@{svtc\_2}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{svtc\_2}{svtc\_2}}
{\footnotesize\ttfamily \mbox{\hyperlink{tensor__data_8h_a46a370094cb45ebbbf8b591e908abf7d}{gst\+\_\+tensor\+\_\+data\+\_\+typecast}} \& svtc\+\_\+2}



Definition at line 841 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a72b17a6d6d6e1c88e5a76164aa79bc10}\label{gsttensor__if_8c_a72b17a6d6d6e1c88e5a76164aa79bc10}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!TIFOP\_NE@{TIFOP\_NE}}
\index{TIFOP\_NE@{TIFOP\_NE}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{TIFOP\_NE}{TIFOP\_NE}}
{\footnotesize\ttfamily case T\+I\+F\+O\+P\+\_\+\+NE}



t == sv1.\+\_\+\#\#t) ? T\+R\+UE \+: F\+A\+L\+SE; break; \textbackslash{} 



Definition at line 837 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}\label{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!TRUE@{TRUE}}
\index{TRUE@{TRUE}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{TRUE}{TRUE}}
{\footnotesize\ttfamily return T\+R\+UE}



Definition at line 897 of file gsttensor\+\_\+if.\+c.

\mbox{\Hypertarget{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}\label{gsttensor__if_8c_ae3c4ba0b643db0fa0b5b96496abd1803}} 
\index{gsttensor\_if.c@{gsttensor\_if.c}!type@{type}}
\index{type@{type}!gsttensor\_if.c@{gsttensor\_if.c}}
\doxysubsubsection{\texorpdfstring{type}{type}}
{\footnotesize\ttfamily \mbox{\hyperlink{gsttensor__if_8c_a6826135ccf67f5a2833443a978bd6e53}{svtc\+\_\+2}} type = tensor\+\_\+if-\/$>$sv-\/$>$type}



Definition at line 843 of file gsttensor\+\_\+if.\+c.

