\hypertarget{gsttensor__mux_8c}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+mux.c File Reference}
\label{gsttensor__mux_8c}\index{nnstreamer/elements/gsttensor\_mux.c@{nnstreamer/elements/gsttensor\_mux.c}}


G\+Streamer plugin to mux tensors (as a filter for other general neural network filters)  


{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$glib.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+util.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gsttensor\+\_\+mux.\+h\char`\"{}}\newline
Include dependency graph for gsttensor\+\_\+mux.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__mux_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+tensor\+\_\+mux\+\_\+debug
\item 
\#define \mbox{\hyperlink{gsttensor__mux_8c_a49606be7356624568932ec81c0d429f4}{D\+BG}}~(!tensor\+\_\+mux-\/$>$silent)
\begin{DoxyCompactList}\small\item\em Macro for debug mode. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__mux_8c_a1aea57c760ef86227c7d643ba0dfe7eb}{C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+S\+I\+NK}}~\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_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible \}\char`\"{})
\begin{DoxyCompactList}\small\item\em Default caps string for sink pad. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__mux_8c_a58483b5a41c0807f991d9502abb42141}{C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+S\+RC}}~\mbox{\hyperlink{tensor__typedef_8h_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible \}\char`\"{})
\begin{DoxyCompactList}\small\item\em Default caps string for src pad. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__mux_8c_a232ae92b8aa5d4589a8792920676dac3}{gst\+\_\+tensor\+\_\+mux\+\_\+parent\+\_\+class}}~parent\+\_\+class
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \mbox{\hyperlink{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4ac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a707b785966c328fb5a6088b7879c7bb5}{P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT}}, 
\mbox{\hyperlink{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a5c3a72897a3feabac2f5c9bb71cd9bb0}{P\+R\+O\+P\+\_\+\+S\+Y\+N\+C\+\_\+\+M\+O\+DE}}, 
\mbox{\hyperlink{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a00517e0eca0663cf5e77d3605cf3e9e8}{P\+R\+O\+P\+\_\+\+S\+Y\+N\+C\+\_\+\+O\+P\+T\+I\+ON}}
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gsttensor__mux_8c_ab23e49663f444b038fc4f9dabb3a6b87}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+tensor\+\_\+mux\+\_\+debug)
\item 
static gboolean \mbox{\hyperlink{gsttensor__mux_8c_a503b6b54cb81f610d2be08501c237e5f}{gst\+\_\+tensor\+\_\+mux\+\_\+src\+\_\+event}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em src event vmethod \end{DoxyCompactList}\item 
static Gst\+Pad $\ast$ \mbox{\hyperlink{gsttensor__mux_8c_a6567ac8113b01fb0305bd86e3be36f32}{gst\+\_\+tensor\+\_\+mux\+\_\+request\+\_\+new\+\_\+pad}} (Gst\+Element $\ast$element, Gst\+Pad\+Template $\ast$templ, const gchar $\ast$req\+\_\+name, const Gst\+Caps $\ast$caps)
\begin{DoxyCompactList}\small\item\em making new request pad (gst element vmethod) \end{DoxyCompactList}\item 
static Gst\+State\+Change\+Return \mbox{\hyperlink{gsttensor__mux_8c_a88f2e4083e40799e02d67394fe1ced7c}{gst\+\_\+tensor\+\_\+mux\+\_\+change\+\_\+state}} (Gst\+Element $\ast$element, Gst\+State\+Change transition)
\begin{DoxyCompactList}\small\item\em change state (gst element vmethod) \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__mux_8c_ab8a2c1f22b2848ca6d03a6104c8d4c02}{gst\+\_\+tensor\+\_\+mux\+\_\+sink\+\_\+event}} (Gst\+Collect\+Pads $\ast$pads, Gst\+Collect\+Data $\ast$\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}}, Gst\+Event $\ast$event, \mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em sink event vmethod \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__mux_8c_a7a3308c67ede6adaec8b63c843ebc910}{gst\+\_\+tensor\+\_\+mux\+\_\+collected}} (Gst\+Collect\+Pads $\ast$pads, \mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em Gst Collect Pads Function which is called once collect pads done. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__mux_8c_a0ea99d0a4d5b8b4d3bcd623e579fd722}{gst\+\_\+tensor\+\_\+mux\+\_\+do\+\_\+clip}} (Gst\+Collect\+Pads $\ast$pads, Gst\+Collect\+Data $\ast$\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}}, Gst\+Buffer $\ast$buffer, Gst\+Buffer $\ast$$\ast$out, \mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em Gst Clip Pads Function which is called right after a buffer is received for each pad. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a1b88857ef9121ac322fd6309f5c47bec}{gst\+\_\+tensor\+\_\+mux\+\_\+set\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, const G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Get property (gst element vmethod) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_adf420a5bccd5a242295fcb2f3d5a08f9}{gst\+\_\+tensor\+\_\+mux\+\_\+get\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Get property (gst element vmethod) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a18251e2bce2c41797364bbaf91d0840b}{gst\+\_\+tensor\+\_\+mux\+\_\+finalize}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em finalize vmethod \end{DoxyCompactList}\item 
\mbox{\hyperlink{gsttensor__mux_8c_a2a2d190f172885366ef8209e472b22b4}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}}, gst\+\_\+tensor\+\_\+mux, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT)
\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_ac1bb25eb5ba2e38f24bab372ff4c2149}{gst\+\_\+tensor\+\_\+mux\+\_\+class\+\_\+init}} (\mbox{\hyperlink{gsttensor__mux_8h_a75dd9d7bcf7bb34a2744e8812a003355}{Gst\+Tensor\+Mux\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em initialize the tensor\+\_\+mux\textquotesingle{}s class \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a28d6b3f5c5154f2fd6f2050adc16e6e6}{gst\+\_\+tensor\+\_\+mux\+\_\+init}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em initialize the new element instantiate pads and add them to element set pad callback functions initialize instance structure \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a68d01a73bae4a4c7f2f9585e1a6717b8}{gst\+\_\+tensor\+\_\+mux\+\_\+set\+\_\+waiting}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux, gboolean waiting)
\begin{DoxyCompactList}\small\item\em set pads waiting property \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__mux_8c_ad4065b65c9ec271fbabef93ac1060eeb}{gst\+\_\+tensor\+\_\+mux\+\_\+collect\+\_\+buffer}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux, Gst\+Buffer $\ast$tensors\+\_\+buf, gboolean $\ast$is\+\_\+eos)
\begin{DoxyCompactList}\small\item\em Looping to generete output buffer for srcpad. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__mux_8c_ae9ff3271d2371ea4f8c130c3a71230be}{gst\+\_\+tensor\+\_\+mux\+\_\+set\+\_\+src\+\_\+caps}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em Set src pad caps if src pad is not negotiated. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a51ba8a63bddf9f9a491a2ac837274742}{gst\+\_\+tensor\+\_\+mux\+\_\+send\+\_\+segment\+\_\+event}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux, Gst\+Clock\+Time pts, Gst\+Clock\+Time dts)
\begin{DoxyCompactList}\small\item\em Create a new segment event if necessary. \end{DoxyCompactList}\item 
static Gst\+Buffer $\ast$ \mbox{\hyperlink{gsttensor__mux_8c_ae77f7f5dd724c0ebf77e29e5b2098462}{gst\+\_\+tensor\+\_\+mux\+\_\+chain\+\_\+flex\+\_\+tensor}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux, Gst\+Buffer $\ast$buf)
\begin{DoxyCompactList}\small\item\em Process flex tensor. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__mux_8c_a410cfacd65ca2481ac220c3a8bd400f4}{gst\+\_\+tensor\+\_\+mux\+\_\+ready\+\_\+to\+\_\+paused}} (\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$tensor\+\_\+mux)
\begin{DoxyCompactList}\small\item\em Ready -\/-\/$>$ Pasuse State Change. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__mux_8c_afbf911046550270596f220799448cee9}{src\+\_\+templ}}
\begin{DoxyCompactList}\small\item\em the capabilities of the inputs and outputs. describe the real formats here. \end{DoxyCompactList}\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__mux_8c_a6f085740fbbe4ba6b942bd8af554501b}{sink\+\_\+templ}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin to mux tensors (as a filter for other general neural network filters) 

G\+Streamer Copyright (C) 2005 Thomas Vander Stichele \href{mailto:thomas@apestaart.org}{\texttt{ thomas@apestaart.\+org}} Copyright (C) 2005 Ronald S. Bultje \href{mailto:rbultje@ronald.bitfreak.net}{\texttt{ rbultje@ronald.\+bitfreak.\+net}} Copyright (C) 2018 Jijoong Moon \href{mailto:jijoong.moon@samsung.com}{\texttt{ jijoong.\+moon@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}
03 July 2018 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jijoong Moon \href{mailto:jijoong.moon@samsung.com}{\texttt{ jijoong.\+moon@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000044}{Bug}}]No known bugs except for N\+YI items\end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__mux_8c_a1aea57c760ef86227c7d643ba0dfe7eb}\label{gsttensor__mux_8c_a1aea57c760ef86227c7d643ba0dfe7eb}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!CAPS\_STRING\_SINK@{CAPS\_STRING\_SINK}}
\index{CAPS\_STRING\_SINK@{CAPS\_STRING\_SINK}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{CAPS\_STRING\_SINK}{CAPS\_STRING\_SINK}}
{\footnotesize\ttfamily \#define C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+S\+I\+NK~\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_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible \}\char`\"{})}



Default caps string for sink pad. 



Definition at line 89 of file gsttensor\+\_\+mux.\+c.

\mbox{\Hypertarget{gsttensor__mux_8c_a58483b5a41c0807f991d9502abb42141}\label{gsttensor__mux_8c_a58483b5a41c0807f991d9502abb42141}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!CAPS\_STRING\_SRC@{CAPS\_STRING\_SRC}}
\index{CAPS\_STRING\_SRC@{CAPS\_STRING\_SRC}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{CAPS\_STRING\_SRC}{CAPS\_STRING\_SRC}}
{\footnotesize\ttfamily \#define C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+S\+RC~\mbox{\hyperlink{tensor__typedef_8h_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible \}\char`\"{})}



Default caps string for src pad. 



Definition at line 94 of file gsttensor\+\_\+mux.\+c.

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



Macro for debug mode. 



Definition at line 75 of file gsttensor\+\_\+mux.\+c.

\mbox{\Hypertarget{gsttensor__mux_8c_adef911caed7c65a1643062817f4a59d7}\label{gsttensor__mux_8c_adef911caed7c65a1643062817f4a59d7}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}}
\index{GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}!gsttensor\_mux.c@{gsttensor\_mux.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\+\_\+mux\+\_\+debug}



Definition at line 69 of file gsttensor\+\_\+mux.\+c.

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



Definition at line 132 of file gsttensor\+\_\+mux.\+c.



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

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

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_SYNC\_MODE@{PROP\_SYNC\_MODE}!gsttensor\_mux.c@{gsttensor\_mux.c}}\index{gsttensor\_mux.c@{gsttensor\_mux.c}!PROP\_SYNC\_MODE@{PROP\_SYNC\_MODE}}}\mbox{\Hypertarget{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a5c3a72897a3feabac2f5c9bb71cd9bb0}\label{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a5c3a72897a3feabac2f5c9bb71cd9bb0}} 
P\+R\+O\+P\+\_\+\+S\+Y\+N\+C\+\_\+\+M\+O\+DE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_SYNC\_OPTION@{PROP\_SYNC\_OPTION}!gsttensor\_mux.c@{gsttensor\_mux.c}}\index{gsttensor\_mux.c@{gsttensor\_mux.c}!PROP\_SYNC\_OPTION@{PROP\_SYNC\_OPTION}}}\mbox{\Hypertarget{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a00517e0eca0663cf5e77d3605cf3e9e8}\label{gsttensor__mux_8c_aaf8fd5f0e57d456151c951e0f3715fc4a00517e0eca0663cf5e77d3605cf3e9e8}} 
P\+R\+O\+P\+\_\+\+S\+Y\+N\+C\+\_\+\+O\+P\+T\+I\+ON&\\
\hline

\end{DoxyEnumFields}


Definition at line 78 of file gsttensor\+\_\+mux.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__mux_8c_a2a2d190f172885366ef8209e472b22b4}\label{gsttensor__mux_8c_a2a2d190f172885366ef8209e472b22b4}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}}
\index{G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}!gsttensor\_mux.c@{gsttensor\_mux.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__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}}}]{,  }\item[{gst\+\_\+tensor\+\_\+mux}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gsttensor__mux_8c_ab23e49663f444b038fc4f9dabb3a6b87}\label{gsttensor__mux_8c_ab23e49663f444b038fc4f9dabb3a6b87}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}}
\index{GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}!gsttensor\_mux.c@{gsttensor\_mux.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\+\_\+mux\+\_\+debug}]{ }\end{DoxyParamCaption})}

S\+E\+C\+T\+I\+ON\+:element-\/tensormux

A Muxer that merge tensor stream to tensors stream for NN frameworks. The output is always in the format of other/tensors

$<$refsect2$>$ $<$title$>$Example launch line$<$/title$>$ $\vert$\mbox{[} gst-\/launch -\/v -\/m \textbackslash{} filesrc location=b.\+png ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-\/raw,format=R\+GB,width=100,height=100,framerate=0/1 ! tensor\+\_\+converter ! mux.\+sink\+\_\+0 \textbackslash{} filesrc location=b.\+png ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-\/raw,format=R\+GB,width=100,height=100,framerate=0/1 ! tensor\+\_\+converter ! mux.\+sink\+\_\+1 \textbackslash{} filesrc location=b.\+png ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-\/raw,format=R\+GB,width=100,height=100,framerate=0/1 ! tensor\+\_\+converter ! mux.\+sink\+\_\+2 \textbackslash{} tensor\+\_\+mux name=mux ! fakesink \mbox{]}$\vert$

$\vert$\mbox{[} gst-\/launch -\/v -\/m \textbackslash{} multifilesrc location=\char`\"{}testsequence\+\_\+\%1d.\+png\char`\"{} index=0 caps=\char`\"{}image/png, framerate=(fraction)30/1\char`\"{} ! pngdec ! tensor\+\_\+converter ! mux.\+sink\+\_\+0 \textbackslash{} multifilesrc location=\char`\"{}testsequence\+\_\+\%1d.\+png\char`\"{} index=0 caps=\char`\"{}image/png, framerate=(fraction)30/1\char`\"{} ! pngdec ! tensor\+\_\+converter ! mux.\+sink\+\_\+1 \textbackslash{} multifilesrc location=\char`\"{}testsequence\+\_\+\%1d.\+png\char`\"{} index=0 caps=\char`\"{}image/png, framerate=(fraction)30/1\char`\"{} ! pngdec ! tensor\+\_\+converter ! mux.\+sink\+\_\+2 \textbackslash{} tensor\+\_\+mux name=mux ! filesink location=mux.\+log \mbox{]}$\vert$ $<$/refsect2$>$ \mbox{\Hypertarget{gsttensor__mux_8c_ae77f7f5dd724c0ebf77e29e5b2098462}\label{gsttensor__mux_8c_ae77f7f5dd724c0ebf77e29e5b2098462}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_chain\_flex\_tensor@{gst\_tensor\_mux\_chain\_flex\_tensor}}
\index{gst\_tensor\_mux\_chain\_flex\_tensor@{gst\_tensor\_mux\_chain\_flex\_tensor}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_chain\_flex\_tensor()}{gst\_tensor\_mux\_chain\_flex\_tensor()}}
{\footnotesize\ttfamily static Gst\+Buffer$\ast$ gst\+\_\+tensor\+\_\+mux\+\_\+chain\+\_\+flex\+\_\+tensor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux,  }\item[{Gst\+Buffer $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Process flex tensor. 



Definition at line 446 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ae77f7f5dd724c0ebf77e29e5b2098462_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ae77f7f5dd724c0ebf77e29e5b2098462_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a88f2e4083e40799e02d67394fe1ced7c}\label{gsttensor__mux_8c_a88f2e4083e40799e02d67394fe1ced7c}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_change\_state@{gst\_tensor\_mux\_change\_state}}
\index{gst\_tensor\_mux\_change\_state@{gst\_tensor\_mux\_change\_state}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_change\_state()}{gst\_tensor\_mux\_change\_state()}}
{\footnotesize\ttfamily static Gst\+State\+Change\+Return gst\+\_\+tensor\+\_\+mux\+\_\+change\+\_\+state (\begin{DoxyParamCaption}\item[{Gst\+Element $\ast$}]{element,  }\item[{Gst\+State\+Change}]{transition }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



change state (gst element vmethod) 



Definition at line 584 of file gsttensor\+\_\+mux.\+c.

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



initialize the tensor\+\_\+mux\textquotesingle{}s class 



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

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ac1bb25eb5ba2e38f24bab372ff4c2149_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_ad4065b65c9ec271fbabef93ac1060eeb}\label{gsttensor__mux_8c_ad4065b65c9ec271fbabef93ac1060eeb}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_collect\_buffer@{gst\_tensor\_mux\_collect\_buffer}}
\index{gst\_tensor\_mux\_collect\_buffer@{gst\_tensor\_mux\_collect\_buffer}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_collect\_buffer()}{gst\_tensor\_mux\_collect\_buffer()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+mux\+\_\+collect\+\_\+buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux,  }\item[{Gst\+Buffer $\ast$}]{tensors\+\_\+buf,  }\item[{gboolean $\ast$}]{is\+\_\+eos }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Looping to generete output buffer for srcpad. 


\begin{DoxyParams}{Parameters}
{\em tensor\+\_\+mux} & tensor muxer \\
\hline
{\em tensors\+\_\+buf} & output buffer for srcpad \\
\hline
{\em is\+\_\+eos} & boolean E\+OS ( End of Stream ) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+UE to push buffer to src pad 
\end{DoxyReturn}


Definition at line 368 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ad4065b65c9ec271fbabef93ac1060eeb_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ad4065b65c9ec271fbabef93ac1060eeb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a7a3308c67ede6adaec8b63c843ebc910}\label{gsttensor__mux_8c_a7a3308c67ede6adaec8b63c843ebc910}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_collected@{gst\_tensor\_mux\_collected}}
\index{gst\_tensor\_mux\_collected@{gst\_tensor\_mux\_collected}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_collected()}{gst\_tensor\_mux\_collected()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+mux\+\_\+collected (\begin{DoxyParamCaption}\item[{Gst\+Collect\+Pads $\ast$}]{pads,  }\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gst Collect Pads Function which is called once collect pads done. 


\begin{DoxyParams}{Parameters}
{\em pads} & Gst\+Collect\+Pads \\
\hline
{\em tensor\+\_\+mux} & Muxer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Gst\+Flow\+Return 
\end{DoxyReturn}
Cannot use gst-\/pad util to get stream ID (multiple sink pads). Create stream ID using first sink pad.

Definition at line 486 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a7a3308c67ede6adaec8b63c843ebc910_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a7a3308c67ede6adaec8b63c843ebc910_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a0ea99d0a4d5b8b4d3bcd623e579fd722}\label{gsttensor__mux_8c_a0ea99d0a4d5b8b4d3bcd623e579fd722}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_do\_clip@{gst\_tensor\_mux\_do\_clip}}
\index{gst\_tensor\_mux\_do\_clip@{gst\_tensor\_mux\_do\_clip}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_do\_clip()}{gst\_tensor\_mux\_do\_clip()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+mux\+\_\+do\+\_\+clip (\begin{DoxyParamCaption}\item[{Gst\+Collect\+Pads $\ast$}]{pads,  }\item[{Gst\+Collect\+Data $\ast$}]{data,  }\item[{Gst\+Buffer $\ast$}]{buffer,  }\item[{Gst\+Buffer $\ast$$\ast$}]{out,  }\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gst Clip Pads Function which is called right after a buffer is received for each pad. 



Definition at line 558 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a0ea99d0a4d5b8b4d3bcd623e579fd722_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a0ea99d0a4d5b8b4d3bcd623e579fd722_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a18251e2bce2c41797364bbaf91d0840b}\label{gsttensor__mux_8c_a18251e2bce2c41797364bbaf91d0840b}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_finalize@{gst\_tensor\_mux\_finalize}}
\index{gst\_tensor\_mux\_finalize@{gst\_tensor\_mux\_finalize}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_finalize()}{gst\_tensor\_mux\_finalize()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+finalize (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



finalize vmethod 



Definition at line 227 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a18251e2bce2c41797364bbaf91d0840b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a18251e2bce2c41797364bbaf91d0840b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_adf420a5bccd5a242295fcb2f3d5a08f9}\label{gsttensor__mux_8c_adf420a5bccd5a242295fcb2f3d5a08f9}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_get\_property@{gst\_tensor\_mux\_get\_property}}
\index{gst\_tensor\_mux\_get\_property@{gst\_tensor\_mux\_get\_property}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_get\_property()}{gst\_tensor\_mux\_get\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+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]}}



Get property (gst element vmethod) 



Definition at line 650 of file gsttensor\+\_\+mux.\+c.

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



initialize the new element instantiate pads and add them to element set pad callback functions initialize instance structure 



Definition at line 193 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a28d6b3f5c5154f2fd6f2050adc16e6e6_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a410cfacd65ca2481ac220c3a8bd400f4}\label{gsttensor__mux_8c_a410cfacd65ca2481ac220c3a8bd400f4}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_ready\_to\_paused@{gst\_tensor\_mux\_ready\_to\_paused}}
\index{gst\_tensor\_mux\_ready\_to\_paused@{gst\_tensor\_mux\_ready\_to\_paused}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_ready\_to\_paused()}{gst\_tensor\_mux\_ready\_to\_paused()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+ready\+\_\+to\+\_\+paused (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Ready -\/-\/$>$ Pasuse State Change. 



Definition at line 572 of file gsttensor\+\_\+mux.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a410cfacd65ca2481ac220c3a8bd400f4_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a6567ac8113b01fb0305bd86e3be36f32}\label{gsttensor__mux_8c_a6567ac8113b01fb0305bd86e3be36f32}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_request\_new\_pad@{gst\_tensor\_mux\_request\_new\_pad}}
\index{gst\_tensor\_mux\_request\_new\_pad@{gst\_tensor\_mux\_request\_new\_pad}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_request\_new\_pad()}{gst\_tensor\_mux\_request\_new\_pad()}}
{\footnotesize\ttfamily static Gst\+Pad $\ast$ gst\+\_\+tensor\+\_\+mux\+\_\+request\+\_\+new\+\_\+pad (\begin{DoxyParamCaption}\item[{Gst\+Element $\ast$}]{element,  }\item[{Gst\+Pad\+Template $\ast$}]{templ,  }\item[{const gchar $\ast$}]{name,  }\item[{const Gst\+Caps $\ast$}]{caps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



making new request pad (gst element vmethod) 



Definition at line 253 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=300pt]{gsttensor__mux_8c_a6567ac8113b01fb0305bd86e3be36f32_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a6567ac8113b01fb0305bd86e3be36f32_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a51ba8a63bddf9f9a491a2ac837274742}\label{gsttensor__mux_8c_a51ba8a63bddf9f9a491a2ac837274742}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_send\_segment\_event@{gst\_tensor\_mux\_send\_segment\_event}}
\index{gst\_tensor\_mux\_send\_segment\_event@{gst\_tensor\_mux\_send\_segment\_event}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_send\_segment\_event()}{gst\_tensor\_mux\_send\_segment\_event()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+send\+\_\+segment\+\_\+event (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux,  }\item[{Gst\+Clock\+Time}]{pts,  }\item[{Gst\+Clock\+Time}]{dts }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create a new segment event if necessary. 



Definition at line 422 of file gsttensor\+\_\+mux.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a51ba8a63bddf9f9a491a2ac837274742_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a1b88857ef9121ac322fd6309f5c47bec}\label{gsttensor__mux_8c_a1b88857ef9121ac322fd6309f5c47bec}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_set\_property@{gst\_tensor\_mux\_set\_property}}
\index{gst\_tensor\_mux\_set\_property@{gst\_tensor\_mux\_set\_property}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_set\_property()}{gst\_tensor\_mux\_set\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+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]}}



Get property (gst element vmethod) 



Definition at line 617 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a1b88857ef9121ac322fd6309f5c47bec_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a1b88857ef9121ac322fd6309f5c47bec_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_ae9ff3271d2371ea4f8c130c3a71230be}\label{gsttensor__mux_8c_ae9ff3271d2371ea4f8c130c3a71230be}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_set\_src\_caps@{gst\_tensor\_mux\_set\_src\_caps}}
\index{gst\_tensor\_mux\_set\_src\_caps@{gst\_tensor\_mux\_set\_src\_caps}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_set\_src\_caps()}{gst\_tensor\_mux\_set\_src\_caps()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+mux\+\_\+set\+\_\+src\+\_\+caps (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set src pad caps if src pad is not negotiated. 



Definition at line 393 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ae9ff3271d2371ea4f8c130c3a71230be_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ae9ff3271d2371ea4f8c130c3a71230be_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a68d01a73bae4a4c7f2f9585e1a6717b8}\label{gsttensor__mux_8c_a68d01a73bae4a4c7f2f9585e1a6717b8}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_set\_waiting@{gst\_tensor\_mux\_set\_waiting}}
\index{gst\_tensor\_mux\_set\_waiting@{gst\_tensor\_mux\_set\_waiting}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_set\_waiting()}{gst\_tensor\_mux\_set\_waiting()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+mux\+\_\+set\+\_\+waiting (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux,  }\item[{gboolean}]{waiting }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



set pads waiting property 



Definition at line 322 of file gsttensor\+\_\+mux.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_a68d01a73bae4a4c7f2f9585e1a6717b8_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_ab8a2c1f22b2848ca6d03a6104c8d4c02}\label{gsttensor__mux_8c_ab8a2c1f22b2848ca6d03a6104c8d4c02}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_sink\_event@{gst\_tensor\_mux\_sink\_event}}
\index{gst\_tensor\_mux\_sink\_event@{gst\_tensor\_mux\_sink\_event}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_sink\_event()}{gst\_tensor\_mux\_sink\_event()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+mux\+\_\+sink\+\_\+event (\begin{DoxyParamCaption}\item[{Gst\+Collect\+Pads $\ast$}]{pads,  }\item[{Gst\+Collect\+Data $\ast$}]{data,  }\item[{Gst\+Event $\ast$}]{event,  }\item[{\mbox{\hyperlink{gsttensor__mux_8h_afa29edfdad19ae3e3afae36946c587e0}{Gst\+Tensor\+Mux}} $\ast$}]{tensor\+\_\+mux }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



sink event vmethod 



Definition at line 339 of file gsttensor\+\_\+mux.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ab8a2c1f22b2848ca6d03a6104c8d4c02_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__mux_8c_ab8a2c1f22b2848ca6d03a6104c8d4c02_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__mux_8c_a503b6b54cb81f610d2be08501c237e5f}\label{gsttensor__mux_8c_a503b6b54cb81f610d2be08501c237e5f}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!gst\_tensor\_mux\_src\_event@{gst\_tensor\_mux\_src\_event}}
\index{gst\_tensor\_mux\_src\_event@{gst\_tensor\_mux\_src\_event}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_mux\_src\_event()}{gst\_tensor\_mux\_src\_event()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+mux\+\_\+src\+\_\+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]}}



src event vmethod 



Definition at line 303 of file gsttensor\+\_\+mux.\+c.

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{gsttensor__mux_8c_a6f085740fbbe4ba6b942bd8af554501b}\label{gsttensor__mux_8c_a6f085740fbbe4ba6b942bd8af554501b}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!sink\_templ@{sink\_templ}}
\index{sink\_templ@{sink\_templ}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{sink\_templ}{sink\_templ}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template sink\+\_\+templ\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= GST\_STATIC\_PAD\_TEMPLATE (\textcolor{stringliteral}{"sink\_\%u"},}
\DoxyCodeLine{    GST\_PAD\_SINK,}
\DoxyCodeLine{    GST\_PAD\_REQUEST,}
\DoxyCodeLine{}
\DoxyCodeLine{    )}

\end{DoxyCode}


Definition at line 106 of file gsttensor\+\_\+mux.\+c.

\mbox{\Hypertarget{gsttensor__mux_8c_afbf911046550270596f220799448cee9}\label{gsttensor__mux_8c_afbf911046550270596f220799448cee9}} 
\index{gsttensor\_mux.c@{gsttensor\_mux.c}!src\_templ@{src\_templ}}
\index{src\_templ@{src\_templ}!gsttensor\_mux.c@{gsttensor\_mux.c}}
\doxysubsubsection{\texorpdfstring{src\_templ}{src\_templ}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template src\+\_\+templ\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\_ALWAYS,}
\DoxyCodeLine{}
\DoxyCodeLine{    )}

\end{DoxyCode}


the capabilities of the inputs and outputs. describe the real formats here. 



Definition at line 100 of file gsttensor\+\_\+mux.\+c.

