\hypertarget{gsttensor__sink_8c}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+sink.c File Reference}
\label{gsttensor__sink_8c}\index{nnstreamer/elements/gsttensor\_sink.c@{nnstreamer/elements/gsttensor\_sink.c}}


G\+Streamer plugin to handle tensor stream.  


{\ttfamily \#include \char`\"{}gsttensor\+\_\+sink.\+h\char`\"{}}\newline
Include dependency graph for gsttensor\+\_\+sink.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a49606be7356624568932ec81c0d429f4}{D\+BG}}~(!self-\/$>$silent)
\begin{DoxyCompactList}\small\item\em Macro for debug mode. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a6d80cbef34364c619b7722040078a304}{silent\+\_\+debug\+\_\+timestamp}}(self,  buf)
\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+tensor\+\_\+sink\+\_\+debug
\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a221eae23e7c34b80e247253ec84e8cf3}{D\+E\+F\+A\+U\+L\+T\+\_\+\+E\+M\+I\+T\+\_\+\+S\+I\+G\+N\+AL}}~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\begin{DoxyCompactList}\small\item\em Flag to emit signals. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a29509ef8d93fd26eef00d202f8d8a2e0}{D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+I\+G\+N\+A\+L\+\_\+\+R\+A\+TE}}~0
\begin{DoxyCompactList}\small\item\em New data signals per second. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}{D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+I\+L\+E\+NT}}~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\begin{DoxyCompactList}\small\item\em Flag to print minimized log. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a71bc7b6ea0f46d2127bdae91f0de5ee3}{D\+E\+F\+A\+U\+L\+T\+\_\+\+Q\+OS}}~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\begin{DoxyCompactList}\small\item\em Flag for qos event. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_a933b73ac2cb52f95c2e1c3c0d8541cbb}{D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+Y\+NC}}~\mbox{\hyperlink{nnstreamer_8c_ac529551d78a5faa7079a3deaaadc3f5e}{F\+A\+L\+SE}}
\begin{DoxyCompactList}\small\item\em Flag to synchronize on the clock (Default F\+A\+L\+SE). It may be delayed with tensor\+\_\+filter element, to invoke neural network model. See Gst\+Base\+Sink\+::sync property for more details. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__sink_8c_afd64f09fae54b19a0c86ebf634815101}{gst\+\_\+tensor\+\_\+sink\+\_\+parent\+\_\+class}}~parent\+\_\+class
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a81a423f73ccd4cc9906317831932c83d}{S\+I\+G\+N\+A\+L\+\_\+\+N\+E\+W\+\_\+\+D\+A\+TA}}, 
\mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a85c849429c17f61b9c256ebd692d6196}{S\+I\+G\+N\+A\+L\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+S\+T\+A\+RT}}, 
\mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0be96bc4abc8b7d9eb0660383ef36f6a}{S\+I\+G\+N\+A\+L\+\_\+\+E\+OS}}, 
\mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0c34d85df8279641afad9e3c9b3a54ce}{L\+A\+S\+T\+\_\+\+S\+I\+G\+N\+AL}}
 \}
\begin{DoxyCompactList}\small\item\em tensor\+\_\+sink signals. \end{DoxyCompactList}\item 
enum \{ \mbox{\hyperlink{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fa40ae448258690d7a9ad5500c02ee8759}{P\+R\+O\+P\+\_\+\+S\+I\+G\+N\+A\+L\+\_\+\+R\+A\+TE}}, 
\mbox{\hyperlink{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fad171e3c02e760ddfa50c221802eddc36}{P\+R\+O\+P\+\_\+\+E\+M\+I\+T\+\_\+\+S\+I\+G\+N\+AL}}, 
\mbox{\hyperlink{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fa707b785966c328fb5a6088b7879c7bb5}{P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT}}
 \}
\begin{DoxyCompactList}\small\item\em tensor\+\_\+sink properties. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gsttensor__sink_8c_ad1f50c5f0ef13aa1fc59f59d44f6c18a}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+tensor\+\_\+sink\+\_\+debug)
\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a3c86124e84696a8cb1425eb2d564ecb6}{gst\+\_\+tensor\+\_\+sink\+\_\+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\+\_\+sink properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a05ce0fd0791b7df5589b94f4dc450acd}{gst\+\_\+tensor\+\_\+sink\+\_\+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\+\_\+sink properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_abc40647e402a99907620d411cbf95431}{gst\+\_\+tensor\+\_\+sink\+\_\+finalize}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em Function to finalize instance. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__sink_8c_a879e7598fb43d45cfab1c9f67f718f89}{gst\+\_\+tensor\+\_\+sink\+\_\+event}} (Gst\+Base\+Sink $\ast$sink, Gst\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Handle events. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__sink_8c_a2252730687b6fb9738eb49999fc26e03}{gst\+\_\+tensor\+\_\+sink\+\_\+query}} (Gst\+Base\+Sink $\ast$sink, Gst\+Query $\ast$query)
\begin{DoxyCompactList}\small\item\em Handle queries. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__sink_8c_a3b6595d9255276b40fa457f1cfde650c}{gst\+\_\+tensor\+\_\+sink\+\_\+render}} (Gst\+Base\+Sink $\ast$sink, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Handle buffer. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__sink_8c_aceff86e5155688aef3163a5d1ed7880a}{gst\+\_\+tensor\+\_\+sink\+\_\+render\+\_\+list}} (Gst\+Base\+Sink $\ast$sink, Gst\+Buffer\+List $\ast$buffer\+\_\+list)
\begin{DoxyCompactList}\small\item\em Handle list of buffers. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a1c96306ccb904bfca03287c8cd78bfc7}{gst\+\_\+tensor\+\_\+sink\+\_\+render\+\_\+buffer}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Handle buffer data. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_ad1e8f8054835cb3abbcb7d55e9ee7430}{gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+last\+\_\+render\+\_\+time}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self, Gst\+Clock\+Time now)
\begin{DoxyCompactList}\small\item\em Setter for value last\+\_\+render\+\_\+time. \end{DoxyCompactList}\item 
static Gst\+Clock\+Time \mbox{\hyperlink{gsttensor__sink_8c_a841e217a545b6ba2366ae4761b59d3d0}{gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+last\+\_\+render\+\_\+time}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Getter for value last\+\_\+render\+\_\+time. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_ad3cb056e6e34bab089c04f0a4113bc1a}{gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+signal\+\_\+rate}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self, guint rate)
\begin{DoxyCompactList}\small\item\em Setter for value signal\+\_\+rate. \end{DoxyCompactList}\item 
static guint \mbox{\hyperlink{gsttensor__sink_8c_a63fc298c75cd0a79fac89672643f40d8}{gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+signal\+\_\+rate}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Getter for value signal\+\_\+rate. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a23296fc700568d89512b59f36b886e95}{gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+emit\+\_\+signal}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self, gboolean emit)
\begin{DoxyCompactList}\small\item\em Setter for flag emit\+\_\+signal. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__sink_8c_a5bdb0cae9a8fbb2b77687f26e370424b}{gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+emit\+\_\+signal}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Getter for flag emit\+\_\+signal. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a42a097eebeb2800882e7acdae4c40dec}{gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+silent}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self, gboolean silent)
\begin{DoxyCompactList}\small\item\em Setter for flag silent. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__sink_8c_aa65a79b7ebf695a893967736496f7042}{gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+silent}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Getter for flag silent. \end{DoxyCompactList}\item 
\mbox{\hyperlink{gsttensor__sink_8c_a42a95cc01fa9e00f0f6a376d30711478}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}}, gst\+\_\+tensor\+\_\+sink, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+S\+I\+NK)
\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_a8be26a43eb850f3ee9ac524f87e07eae}{gst\+\_\+tensor\+\_\+sink\+\_\+class\+\_\+init}} (\mbox{\hyperlink{gsttensor__sink_8h_ab619071a7fbd350dc66c11bc90ec1fff}{Gst\+Tensor\+Sink\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em Initialize tensor\+\_\+sink class. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__sink_8c_acd116c700f199975e4b78e5092e4c86e}{gst\+\_\+tensor\+\_\+sink\+\_\+init}} (\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Initialize tensor\+\_\+sink element. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static guint \mbox{\hyperlink{gsttensor__sink_8c_aee953a17789ef57122516207b22f4745}{\+\_\+tensor\+\_\+sink\+\_\+signals}} \mbox{[}\mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0c34d85df8279641afad9e3c9b3a54ce}{L\+A\+S\+T\+\_\+\+S\+I\+G\+N\+AL}}\mbox{]} = \{ 0 \}
\begin{DoxyCompactList}\small\item\em Variable for signal ids. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin to handle tensor stream. 

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 Samsung Electronics Co., Ltd.

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. S\+E\+C\+T\+I\+ON\+:element-\/tensor\+\_\+sink

Sink element to handle tensor stream

\begin{DoxyDate}{Date}
15 June 2018 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jaeyun Jung \href{mailto:jy1210.jung@samsung.com}{\texttt{ jy1210.\+jung@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000054}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__sink_8c_a49606be7356624568932ec81c0d429f4}\label{gsttensor__sink_8c_a49606be7356624568932ec81c0d429f4}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DBG@{DBG}}
\index{DBG@{DBG}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DBG}{DBG}}
{\footnotesize\ttfamily \#define D\+BG~(!self-\/$>$silent)}



Macro for debug mode. 



Definition at line 41 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a221eae23e7c34b80e247253ec84e8cf3}\label{gsttensor__sink_8c_a221eae23e7c34b80e247253ec84e8cf3}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DEFAULT\_EMIT\_SIGNAL@{DEFAULT\_EMIT\_SIGNAL}}
\index{DEFAULT\_EMIT\_SIGNAL@{DEFAULT\_EMIT\_SIGNAL}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_EMIT\_SIGNAL}{DEFAULT\_EMIT\_SIGNAL}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+E\+M\+I\+T\+\_\+\+S\+I\+G\+N\+AL~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}}



Flag to emit signals. 



Definition at line 80 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a71bc7b6ea0f46d2127bdae91f0de5ee3}\label{gsttensor__sink_8c_a71bc7b6ea0f46d2127bdae91f0de5ee3}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DEFAULT\_QOS@{DEFAULT\_QOS}}
\index{DEFAULT\_QOS@{DEFAULT\_QOS}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_QOS}{DEFAULT\_QOS}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+Q\+OS~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}}



Flag for qos event. 

See Gst\+Base\+Sink\+::qos property for more details. 

Definition at line 97 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a29509ef8d93fd26eef00d202f8d8a2e0}\label{gsttensor__sink_8c_a29509ef8d93fd26eef00d202f8d8a2e0}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DEFAULT\_SIGNAL\_RATE@{DEFAULT\_SIGNAL\_RATE}}
\index{DEFAULT\_SIGNAL\_RATE@{DEFAULT\_SIGNAL\_RATE}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_SIGNAL\_RATE}{DEFAULT\_SIGNAL\_RATE}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+I\+G\+N\+A\+L\+\_\+\+R\+A\+TE~0}



New data signals per second. 



Definition at line 85 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}\label{gsttensor__sink_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DEFAULT\_SILENT@{DEFAULT\_SILENT}}
\index{DEFAULT\_SILENT@{DEFAULT\_SILENT}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_SILENT}{DEFAULT\_SILENT}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+I\+L\+E\+NT~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}}



Flag to print minimized log. 



Definition at line 90 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a933b73ac2cb52f95c2e1c3c0d8541cbb}\label{gsttensor__sink_8c_a933b73ac2cb52f95c2e1c3c0d8541cbb}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!DEFAULT\_SYNC@{DEFAULT\_SYNC}}
\index{DEFAULT\_SYNC@{DEFAULT\_SYNC}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_SYNC}{DEFAULT\_SYNC}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+Y\+NC~\mbox{\hyperlink{nnstreamer_8c_ac529551d78a5faa7079a3deaaadc3f5e}{F\+A\+L\+SE}}}



Flag to synchronize on the clock (Default F\+A\+L\+SE). It may be delayed with tensor\+\_\+filter element, to invoke neural network model. See Gst\+Base\+Sink\+::sync property for more details. 



Definition at line 104 of file gsttensor\+\_\+sink.\+c.

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



Definition at line 53 of file gsttensor\+\_\+sink.\+c.

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



Definition at line 140 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a6d80cbef34364c619b7722040078a304}\label{gsttensor__sink_8c_a6d80cbef34364c619b7722040078a304}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!silent\_debug\_timestamp@{silent\_debug\_timestamp}}
\index{silent\_debug\_timestamp@{silent\_debug\_timestamp}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{silent\_debug\_timestamp}{silent\_debug\_timestamp}}
{\footnotesize\ttfamily \#define silent\+\_\+debug\+\_\+timestamp(\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{buf }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{keywordflow}{do} \{ \(\backslash\)}
\DoxyCodeLine{  if (\mbox{\hyperlink{gsttensor__sink_8c_a49606be7356624568932ec81c0d429f4}{DBG}}) \{ \(\backslash\)}
\DoxyCodeLine{    GST\_DEBUG\_OBJECT (\textcolor{keyword}{self}, \textcolor{stringliteral}{"pts = \%"} GST\_TIME\_FORMAT, GST\_TIME\_ARGS (GST\_BUFFER\_PTS (buf))); \(\backslash\)}
\DoxyCodeLine{    GST\_DEBUG\_OBJECT (\textcolor{keyword}{self}, \textcolor{stringliteral}{"dts = \%"} GST\_TIME\_FORMAT, GST\_TIME\_ARGS (GST\_BUFFER\_DTS (buf))); \(\backslash\)}
\DoxyCodeLine{    GST\_DEBUG\_OBJECT (\textcolor{keyword}{self}, \textcolor{stringliteral}{"duration = \%"} GST\_TIME\_FORMAT \textcolor{stringliteral}{"\(\backslash\)n"}, GST\_TIME\_ARGS (GST\_BUFFER\_DURATION (buf))); \(\backslash\)}
\DoxyCodeLine{  \} \(\backslash\)}
\DoxyCodeLine{\} \textcolor{keywordflow}{while} (0)}

\end{DoxyCode}


Definition at line 44 of file gsttensor\+\_\+sink.\+c.



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



tensor\+\_\+sink signals. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{SIGNAL\_NEW\_DATA@{SIGNAL\_NEW\_DATA}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!SIGNAL\_NEW\_DATA@{SIGNAL\_NEW\_DATA}}}\mbox{\Hypertarget{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a81a423f73ccd4cc9906317831932c83d}\label{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a81a423f73ccd4cc9906317831932c83d}} 
S\+I\+G\+N\+A\+L\+\_\+\+N\+E\+W\+\_\+\+D\+A\+TA&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SIGNAL\_STREAM\_START@{SIGNAL\_STREAM\_START}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!SIGNAL\_STREAM\_START@{SIGNAL\_STREAM\_START}}}\mbox{\Hypertarget{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a85c849429c17f61b9c256ebd692d6196}\label{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a85c849429c17f61b9c256ebd692d6196}} 
S\+I\+G\+N\+A\+L\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+S\+T\+A\+RT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SIGNAL\_EOS@{SIGNAL\_EOS}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!SIGNAL\_EOS@{SIGNAL\_EOS}}}\mbox{\Hypertarget{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0be96bc4abc8b7d9eb0660383ef36f6a}\label{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0be96bc4abc8b7d9eb0660383ef36f6a}} 
S\+I\+G\+N\+A\+L\+\_\+\+E\+OS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{LAST\_SIGNAL@{LAST\_SIGNAL}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!LAST\_SIGNAL@{LAST\_SIGNAL}}}\mbox{\Hypertarget{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0c34d85df8279641afad9e3c9b3a54ce}\label{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0c34d85df8279641afad9e3c9b3a54ce}} 
L\+A\+S\+T\+\_\+\+S\+I\+G\+N\+AL&\\
\hline

\end{DoxyEnumFields}


Definition at line 58 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181f}\label{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181f}} 
\doxysubsubsection{\texorpdfstring{anonymous enum}{anonymous enum}}
{\footnotesize\ttfamily anonymous enum}



tensor\+\_\+sink properties. 

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_SIGNAL\_RATE@{PROP\_SIGNAL\_RATE}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!PROP\_SIGNAL\_RATE@{PROP\_SIGNAL\_RATE}}}\mbox{\Hypertarget{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fa40ae448258690d7a9ad5500c02ee8759}\label{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fa40ae448258690d7a9ad5500c02ee8759}} 
P\+R\+O\+P\+\_\+\+S\+I\+G\+N\+A\+L\+\_\+\+R\+A\+TE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_EMIT\_SIGNAL@{PROP\_EMIT\_SIGNAL}!gsttensor\_sink.c@{gsttensor\_sink.c}}\index{gsttensor\_sink.c@{gsttensor\_sink.c}!PROP\_EMIT\_SIGNAL@{PROP\_EMIT\_SIGNAL}}}\mbox{\Hypertarget{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fad171e3c02e760ddfa50c221802eddc36}\label{gsttensor__sink_8c_a5d76b81b0ad4c19007a781d4edb8181fad171e3c02e760ddfa50c221802eddc36}} 
P\+R\+O\+P\+\_\+\+E\+M\+I\+T\+\_\+\+S\+I\+G\+N\+AL&\\
\hline

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

\end{DoxyEnumFields}


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



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__sink_8c_a42a95cc01fa9e00f0f6a376d30711478}\label{gsttensor__sink_8c_a42a95cc01fa9e00f0f6a376d30711478}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}}
\index{G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}!gsttensor\_sink.c@{gsttensor\_sink.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__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}}}]{,  }\item[{gst\+\_\+tensor\+\_\+sink}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+S\+I\+NK}]{ }\end{DoxyParamCaption})}

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

\mbox{\Hypertarget{gsttensor__sink_8c_a8be26a43eb850f3ee9ac524f87e07eae}\label{gsttensor__sink_8c_a8be26a43eb850f3ee9ac524f87e07eae}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_class\_init@{gst\_tensor\_sink\_class\_init}}
\index{gst\_tensor\_sink\_class\_init@{gst\_tensor\_sink\_class\_init}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_class\_init()}{gst\_tensor\_sink\_class\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+class\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_ab619071a7fbd350dc66c11bc90ec1fff}{Gst\+Tensor\+Sink\+Class}} $\ast$}]{klass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Initialize tensor\+\_\+sink class. 

G\+Object methods

Gst\+Tensor\+Sink\+::signal-\/rate\+:

The number of new data signals per second (Default 0 for unlimited, M\+AX 500) If signal-\/rate is larger than 0, Gst\+Tensor\+Sink calculates the time to emit a signal with this property. If set 0 (default value), all the received buffers will be passed to the application.

Please note that this property does not guarantee the periodic signals. This means if Gst\+Tensor\+Sink cannot get the buffers in time, it will pass all the buffers. (working like default 0)

Gst\+Tensor\+Sink\+::emit-\/signal\+:

The flag to emit the signals for new data, stream start, and eos.

\mbox{\hyperlink{struct__GstTensorSink_a3d48cbc3d7c155b80188b79a79315964}{Gst\+Tensor\+Sink\+::silent}}\+:

The flag to enable/disable debugging messages.

Gst\+Tensor\+Sink\+::new-\/data\+:

Signal to get the buffer from Gst\+Tensor\+Sink.

Gst\+Tensor\+Sink\+::stream-\/start\+:

Signal to indicate the start of a new stream. Optional. An application can use this signal to detect the start of a new stream, instead of the message G\+S\+T\+\_\+\+M\+E\+S\+S\+A\+G\+E\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+S\+T\+A\+RT from pipeline.

Gst\+Tensor\+Sink\+::eos\+:

Signal to indicate the end-\/of-\/stream. Optional. An application can use this signal to detect the E\+OS (end-\/of-\/stream), instead of the message G\+S\+T\+\_\+\+M\+E\+S\+S\+A\+G\+E\+\_\+\+E\+OS from pipeline.

pad template

Gst\+Base\+Sink methods

Definition at line 147 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a8be26a43eb850f3ee9ac524f87e07eae_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a879e7598fb43d45cfab1c9f67f718f89}\label{gsttensor__sink_8c_a879e7598fb43d45cfab1c9f67f718f89}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_event@{gst\_tensor\_sink\_event}}
\index{gst\_tensor\_sink\_event@{gst\_tensor\_sink\_event}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_event()}{gst\_tensor\_sink\_event()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+sink\+\_\+event (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{sink,  }\item[{Gst\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Handle events. 

Gst\+Base\+Sink method implementation

Gst\+Base\+Sink method implementation. 

Definition at line 365 of file gsttensor\+\_\+sink.\+c.

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



Function to finalize instance. 

G\+Object method implementation. 

Definition at line 348 of file gsttensor\+\_\+sink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_abc40647e402a99907620d411cbf95431_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a5bdb0cae9a8fbb2b77687f26e370424b}\label{gsttensor__sink_8c_a5bdb0cae9a8fbb2b77687f26e370424b}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_get\_emit\_signal@{gst\_tensor\_sink\_get\_emit\_signal}}
\index{gst\_tensor\_sink\_get\_emit\_signal@{gst\_tensor\_sink\_get\_emit\_signal}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_get\_emit\_signal()}{gst\_tensor\_sink\_get\_emit\_signal()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+emit\+\_\+signal (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter for flag emit\+\_\+signal. 



Definition at line 610 of file gsttensor\+\_\+sink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a5bdb0cae9a8fbb2b77687f26e370424b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a841e217a545b6ba2366ae4761b59d3d0}\label{gsttensor__sink_8c_a841e217a545b6ba2366ae4761b59d3d0}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_get\_last\_render\_time@{gst\_tensor\_sink\_get\_last\_render\_time}}
\index{gst\_tensor\_sink\_get\_last\_render\_time@{gst\_tensor\_sink\_get\_last\_render\_time}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_get\_last\_render\_time()}{gst\_tensor\_sink\_get\_last\_render\_time()}}
{\footnotesize\ttfamily static Gst\+Clock\+Time gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+last\+\_\+render\+\_\+time (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter for value last\+\_\+render\+\_\+time. 



Definition at line 548 of file gsttensor\+\_\+sink.\+c.

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

G\+Object method implementation. 

Definition at line 316 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=344pt]{gsttensor__sink_8c_a05ce0fd0791b7df5589b94f4dc450acd_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a05ce0fd0791b7df5589b94f4dc450acd_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a63fc298c75cd0a79fac89672643f40d8}\label{gsttensor__sink_8c_a63fc298c75cd0a79fac89672643f40d8}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_get\_signal\_rate@{gst\_tensor\_sink\_get\_signal\_rate}}
\index{gst\_tensor\_sink\_get\_signal\_rate@{gst\_tensor\_sink\_get\_signal\_rate}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_get\_signal\_rate()}{gst\_tensor\_sink\_get\_signal\_rate()}}
{\footnotesize\ttfamily static guint gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+signal\+\_\+rate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter for value signal\+\_\+rate. 



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

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a63fc298c75cd0a79fac89672643f40d8_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_aa65a79b7ebf695a893967736496f7042}\label{gsttensor__sink_8c_aa65a79b7ebf695a893967736496f7042}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_get\_silent@{gst\_tensor\_sink\_get\_silent}}
\index{gst\_tensor\_sink\_get\_silent@{gst\_tensor\_sink\_get\_silent}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_get\_silent()}{gst\_tensor\_sink\_get\_silent()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+sink\+\_\+get\+\_\+silent (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter for flag silent. 



Definition at line 639 of file gsttensor\+\_\+sink.\+c.

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



Initialize tensor\+\_\+sink element. 

init properties

enable qos

Definition at line 257 of file gsttensor\+\_\+sink.\+c.

\mbox{\Hypertarget{gsttensor__sink_8c_a2252730687b6fb9738eb49999fc26e03}\label{gsttensor__sink_8c_a2252730687b6fb9738eb49999fc26e03}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_query@{gst\_tensor\_sink\_query}}
\index{gst\_tensor\_sink\_query@{gst\_tensor\_sink\_query}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_query()}{gst\_tensor\_sink\_query()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+sink\+\_\+query (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{sink,  }\item[{Gst\+Query $\ast$}]{query }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Handle queries. 

Gst\+Base\+Sink method implementation. tensor sink does not support seeking

Definition at line 406 of file gsttensor\+\_\+sink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a2252730687b6fb9738eb49999fc26e03_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a3b6595d9255276b40fa457f1cfde650c}\label{gsttensor__sink_8c_a3b6595d9255276b40fa457f1cfde650c}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_render@{gst\_tensor\_sink\_render}}
\index{gst\_tensor\_sink\_render@{gst\_tensor\_sink\_render}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_render()}{gst\_tensor\_sink\_render()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+sink\+\_\+render (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{sink,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Handle buffer. 

Gst\+Base\+Sink method implementation. 

Definition at line 438 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a3b6595d9255276b40fa457f1cfde650c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a3b6595d9255276b40fa457f1cfde650c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a1c96306ccb904bfca03287c8cd78bfc7}\label{gsttensor__sink_8c_a1c96306ccb904bfca03287c8cd78bfc7}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_render\_buffer@{gst\_tensor\_sink\_render\_buffer}}
\index{gst\_tensor\_sink\_render\_buffer@{gst\_tensor\_sink\_render\_buffer}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_render\_buffer()}{gst\_tensor\_sink\_render\_buffer()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+render\+\_\+buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Handle buffer data. 

internal functions

\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em self} & pointer to Gst\+Tensor\+Sink \\
\hline
{\em buffer} & pointer to Gst\+Buffer to be handled \\
\hline
\end{DoxyParams}
time for next signal

send data after render time, or firstly received buffer

send data if signal rate is 0

Definition at line 479 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a1c96306ccb904bfca03287c8cd78bfc7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a1c96306ccb904bfca03287c8cd78bfc7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_aceff86e5155688aef3163a5d1ed7880a}\label{gsttensor__sink_8c_aceff86e5155688aef3163a5d1ed7880a}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_render\_list@{gst\_tensor\_sink\_render\_list}}
\index{gst\_tensor\_sink\_render\_list@{gst\_tensor\_sink\_render\_list}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_render\_list()}{gst\_tensor\_sink\_render\_list()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+sink\+\_\+render\+\_\+list (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{sink,  }\item[{Gst\+Buffer\+List $\ast$}]{buffer\+\_\+list }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Handle list of buffers. 

Gst\+Base\+Sink method implementation. 

Definition at line 454 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_aceff86e5155688aef3163a5d1ed7880a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_aceff86e5155688aef3163a5d1ed7880a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a23296fc700568d89512b59f36b886e95}\label{gsttensor__sink_8c_a23296fc700568d89512b59f36b886e95}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_set\_emit\_signal@{gst\_tensor\_sink\_set\_emit\_signal}}
\index{gst\_tensor\_sink\_set\_emit\_signal@{gst\_tensor\_sink\_set\_emit\_signal}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_set\_emit\_signal()}{gst\_tensor\_sink\_set\_emit\_signal()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+emit\+\_\+signal (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self,  }\item[{gboolean}]{emit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for flag emit\+\_\+signal. 



Definition at line 596 of file gsttensor\+\_\+sink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a23296fc700568d89512b59f36b886e95_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_ad1e8f8054835cb3abbcb7d55e9ee7430}\label{gsttensor__sink_8c_ad1e8f8054835cb3abbcb7d55e9ee7430}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_set\_last\_render\_time@{gst\_tensor\_sink\_set\_last\_render\_time}}
\index{gst\_tensor\_sink\_set\_last\_render\_time@{gst\_tensor\_sink\_set\_last\_render\_time}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_set\_last\_render\_time()}{gst\_tensor\_sink\_set\_last\_render\_time()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+last\+\_\+render\+\_\+time (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self,  }\item[{Gst\+Clock\+Time}]{now }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for value last\+\_\+render\+\_\+time. 



Definition at line 535 of file gsttensor\+\_\+sink.\+c.

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

G\+Object method implementation

G\+Object method implementation. 

Definition at line 284 of file gsttensor\+\_\+sink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=342pt]{gsttensor__sink_8c_a3c86124e84696a8cb1425eb2d564ecb6_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_a3c86124e84696a8cb1425eb2d564ecb6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_ad3cb056e6e34bab089c04f0a4113bc1a}\label{gsttensor__sink_8c_ad3cb056e6e34bab089c04f0a4113bc1a}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_set\_signal\_rate@{gst\_tensor\_sink\_set\_signal\_rate}}
\index{gst\_tensor\_sink\_set\_signal\_rate@{gst\_tensor\_sink\_set\_signal\_rate}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_set\_signal\_rate()}{gst\_tensor\_sink\_set\_signal\_rate()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+signal\+\_\+rate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self,  }\item[{guint}]{rate }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for value signal\+\_\+rate. 



Definition at line 565 of file gsttensor\+\_\+sink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sink_8c_ad3cb056e6e34bab089c04f0a4113bc1a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__sink_8c_a42a097eebeb2800882e7acdae4c40dec}\label{gsttensor__sink_8c_a42a097eebeb2800882e7acdae4c40dec}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!gst\_tensor\_sink\_set\_silent@{gst\_tensor\_sink\_set\_silent}}
\index{gst\_tensor\_sink\_set\_silent@{gst\_tensor\_sink\_set\_silent}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sink\_set\_silent()}{gst\_tensor\_sink\_set\_silent()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+sink\+\_\+set\+\_\+silent (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__sink_8h_a58e084fa355b16ac8e156205e93f2678}{Gst\+Tensor\+Sink}} $\ast$}]{self,  }\item[{gboolean}]{silent }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for flag silent. 



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

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{gsttensor__sink_8c_aee953a17789ef57122516207b22f4745}\label{gsttensor__sink_8c_aee953a17789ef57122516207b22f4745}} 
\index{gsttensor\_sink.c@{gsttensor\_sink.c}!\_tensor\_sink\_signals@{\_tensor\_sink\_signals}}
\index{\_tensor\_sink\_signals@{\_tensor\_sink\_signals}!gsttensor\_sink.c@{gsttensor\_sink.c}}
\doxysubsubsection{\texorpdfstring{\_tensor\_sink\_signals}{\_tensor\_sink\_signals}}
{\footnotesize\ttfamily guint \+\_\+tensor\+\_\+sink\+\_\+signals\mbox{[}\mbox{\hyperlink{gsttensor__sink_8c_aabfcbcb5ac86a1edac4035264bc7d2b8a0c34d85df8279641afad9e3c9b3a54ce}{L\+A\+S\+T\+\_\+\+S\+I\+G\+N\+AL}}\mbox{]} = \{ 0 \}\hspace{0.3cm}{\ttfamily [static]}}



Variable for signal ids. 



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

