\hypertarget{tensor__query__client_8c}{}\doxysection{nnstreamer/tensor\+\_\+query/tensor\+\_\+query\+\_\+client.c File Reference}
\label{tensor__query__client_8c}\index{nnstreamer/tensor\_query/tensor\_query\_client.c@{nnstreamer/tensor\_query/tensor\_query\_client.c}}


G\+Streamer plugin to handle tensor query client.  


{\ttfamily \#include \char`\"{}nnstreamer\+\_\+util.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}tensor\+\_\+query\+\_\+client.\+h\char`\"{}}\newline
{\ttfamily \#include $<$gio/gio.\+h$>$}\newline
{\ttfamily \#include $<$glib.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include \char`\"{}tensor\+\_\+query\+\_\+common.\+h\char`\"{}}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$unistd.\+h$>$}\newline
Include dependency graph for tensor\+\_\+query\+\_\+client.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a49606be7356624568932ec81c0d429f4}{D\+BG}}~(!self-\/$>$silent)
\begin{DoxyCompactList}\small\item\em Macro for debug mode. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_ada8dc98cb2198b7cd7fd20c8044e04b8}{T\+C\+P\+\_\+\+H\+I\+G\+H\+E\+S\+T\+\_\+\+P\+O\+RT}}~65535
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_ab71ac753cbefcb130ed843c95cd60f21}{T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+H\+O\+ST}}~\char`\"{}localhost\char`\"{}
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_aef3b7db927e6d1832321f7aa07ee84f8}{T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+R\+V\+\_\+\+S\+R\+C\+\_\+\+P\+O\+RT}}~3000
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a8bfdc6a8f615f2715ce9e8351ea69ae7}{T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+R\+C\+\_\+\+P\+O\+RT}}~3001
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a321e47f1ba663ef9944dc7cdc7a2fb88}{D\+E\+F\+A\+U\+L\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+T\+I\+M\+E\+O\+UT}}~0
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}{D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+I\+L\+E\+NT}}~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a6ca6144fdb93ac7b9b356ab847a4204c}{D\+E\+F\+A\+U\+L\+T\+\_\+\+M\+A\+X\+\_\+\+R\+E\+Q\+U\+E\+ST}}~2
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+debug
\item 
\#define \mbox{\hyperlink{tensor__query__client_8c_a50fa0a015ca05732913ea43e10cbc404}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+parent\+\_\+class}}~parent\+\_\+class
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \newline
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493ac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a5d5a98b31519159d6861f0f311f17582}{P\+R\+O\+P\+\_\+\+H\+O\+ST}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a104ce2dcf1b9a2da5b120a9c2543a72d}{P\+R\+O\+P\+\_\+\+P\+O\+RT}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493ac7bbf6c92d80ea2fcfdd670794781507}{P\+R\+O\+P\+\_\+\+D\+E\+S\+T\+\_\+\+H\+O\+ST}}, 
\newline
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aaf2efb1b02a889dae2a598c0cdaa9d8d}{P\+R\+O\+P\+\_\+\+D\+E\+S\+T\+\_\+\+P\+O\+RT}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aa59cab803c9b0787173d073312b504f7}{P\+R\+O\+P\+\_\+\+C\+O\+N\+N\+E\+C\+T\+\_\+\+T\+Y\+PE}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a70df8fbf337a74638e6e35f008bd815e}{P\+R\+O\+P\+\_\+\+T\+O\+P\+IC}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a8f46d7b6d29347cbca91bd06d13e6c8f}{P\+R\+O\+P\+\_\+\+T\+I\+M\+E\+O\+UT}}, 
\newline
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a707b785966c328fb5a6088b7879c7bb5}{P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT}}, 
\mbox{\hyperlink{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a7e72a57192bdaa4b7bfe7ab27ae5d03f}{P\+R\+O\+P\+\_\+\+M\+A\+X\+\_\+\+R\+E\+Q\+U\+E\+ST}}
 \}
\begin{DoxyCompactList}\small\item\em Properties. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{tensor__query__client_8c_a77c6fc3e95d164bfb7ad43023c081170}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+debug)
\item 
\mbox{\hyperlink{tensor__query__client_8c_a89026804b3641742841ef6cdfbb12e93}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE}} (\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}}, gst\+\_\+tensor\+\_\+query\+\_\+client, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT)
\item 
static void \mbox{\hyperlink{tensor__query__client_8c_a44ab9453be680cb7fe8cf5b2fdb5587b}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+finalize}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em finalize the object \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{tensor__query__client_8c_a80896e51eb3bd876e1b365db6557e2aa}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+set\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, const G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em set property \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{tensor__query__client_8c_a90b27d78aafd3b6e6fac48a626133477}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+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 \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{tensor__query__client_8c_a9e94af8756c4dcc290ac0df14ddd1f76}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+sink\+\_\+event}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em This function handles sink event. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{tensor__query__client_8c_a20779f972dd5b72859e9a48f37a68a58}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+sink\+\_\+query}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Query $\ast$query)
\begin{DoxyCompactList}\small\item\em This function handles sink pad query. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{tensor__query__client_8c_adc14d6fed4f0a571d586a47ebb21d361}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+chain}} (Gst\+Pad $\ast$pad, Gst\+Object $\ast$parent, Gst\+Buffer $\ast$buf)
\begin{DoxyCompactList}\small\item\em Chain function, this function does the actual processing. \end{DoxyCompactList}\item 
static Gst\+Caps $\ast$ \mbox{\hyperlink{tensor__query__client_8c_ac2bab8638b462e60b0a74a5717851fb1}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+query\+\_\+caps}} (\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$self, Gst\+Pad $\ast$pad, Gst\+Caps $\ast$filter)
\begin{DoxyCompactList}\small\item\em Get pad caps for caps negotiation. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{tensor__query__client_8c_a30b2ec18f89cf5e04847b7e6579c6832}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+class\+\_\+init}} (\mbox{\hyperlink{tensor__query__client_8h_a049087909444377cd7ef4f4e5e779cc5}{Gst\+Tensor\+Query\+Client\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em initialize the class \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{tensor__query__client_8c_a1d58000de64326a7b6cb87abc20c7d22}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+init}} (\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$self)
\begin{DoxyCompactList}\small\item\em initialize the new element \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{tensor__query__client_8c_a8ee2e49935d6cdb78cc1ff5f054f2d0f}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+update\+\_\+caps}} (\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$self, const gchar $\ast$caps\+\_\+str)
\begin{DoxyCompactList}\small\item\em Update src pad caps from tensors config. \end{DoxyCompactList}\item 
static gchar $\ast$ \mbox{\hyperlink{tensor__query__client_8c_a413754f9de2ad90b178fdeca9862ee5c}{\+\_\+nns\+\_\+edge\+\_\+parse\+\_\+caps}} (gchar $\ast$caps\+\_\+str, gboolean is\+\_\+src)
\begin{DoxyCompactList}\small\item\em Parse caps from received event data. \end{DoxyCompactList}\item 
static int \mbox{\hyperlink{tensor__query__client_8c_a43a6a697feeff26199c1581e148116e0}{\+\_\+nns\+\_\+edge\+\_\+event\+\_\+cb}} (nns\+\_\+edge\+\_\+event\+\_\+h event\+\_\+h, void $\ast$user\+\_\+data)
\begin{DoxyCompactList}\small\item\em nnstreamer-\/edge event callback. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{tensor__query__client_8c_a2c9eb0839504ce1c84ff51c25cf1b8c2}{gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+create\+\_\+edge\+\_\+handle}} (\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$self)
\begin{DoxyCompactList}\small\item\em Internal function to create edge handle. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{tensor__query__client_8c_ab75bedfae592f4c227c74da883483be6}{sinktemplate}}
\begin{DoxyCompactList}\small\item\em the capabilities of the inputs. \end{DoxyCompactList}\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{tensor__query__client_8c_a10506682cfb763eb44b9296c93fb5954}{srctemplate}}
\begin{DoxyCompactList}\small\item\em the capabilities of the outputs. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

Copyright (C) 2021 Samsung Electronics Co., Ltd.

\begin{DoxyDate}{Date}
09 Jul 2021 
\end{DoxyDate}
\begin{DoxyAuthor}{Author}
Junhwan Kim \href{mailto:jejudo.kim@samsung.com}{\texttt{ jejudo.\+kim@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxySeeAlso}{See also}
\href{http://github.com/nnstreamer/nnstreamer}{\texttt{ http\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000114}{Bug}}]No known bugs\end{DoxyRefDesc}


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



Macro for debug mode. 



Definition at line 32 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a321e47f1ba663ef9944dc7cdc7a2fb88}\label{tensor__query__client_8c_a321e47f1ba663ef9944dc7cdc7a2fb88}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!DEFAULT\_CLIENT\_TIMEOUT@{DEFAULT\_CLIENT\_TIMEOUT}}
\index{DEFAULT\_CLIENT\_TIMEOUT@{DEFAULT\_CLIENT\_TIMEOUT}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_CLIENT\_TIMEOUT}{DEFAULT\_CLIENT\_TIMEOUT}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+T\+I\+M\+E\+O\+UT~0}



Definition at line 56 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a6ca6144fdb93ac7b9b356ab847a4204c}\label{tensor__query__client_8c_a6ca6144fdb93ac7b9b356ab847a4204c}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!DEFAULT\_MAX\_REQUEST@{DEFAULT\_MAX\_REQUEST}}
\index{DEFAULT\_MAX\_REQUEST@{DEFAULT\_MAX\_REQUEST}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_MAX\_REQUEST}{DEFAULT\_MAX\_REQUEST}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+M\+A\+X\+\_\+\+R\+E\+Q\+U\+E\+ST~2}



Definition at line 58 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}\label{tensor__query__client_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!DEFAULT\_SILENT@{DEFAULT\_SILENT}}
\index{DEFAULT\_SILENT@{DEFAULT\_SILENT}!tensor\_query\_client.c@{tensor\_query\_client.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}}}



Definition at line 57 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_adef911caed7c65a1643062817f4a59d7}\label{tensor__query__client_8c_adef911caed7c65a1643062817f4a59d7}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}}
\index{GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}!tensor\_query\_client.c@{tensor\_query\_client.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\+\_\+query\+\_\+client\+\_\+debug}



Definition at line 61 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a50fa0a015ca05732913ea43e10cbc404}\label{tensor__query__client_8c_a50fa0a015ca05732913ea43e10cbc404}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_parent\_class@{gst\_tensor\_query\_client\_parent\_class}}
\index{gst\_tensor\_query\_client\_parent\_class@{gst\_tensor\_query\_client\_parent\_class}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_parent\_class}{gst\_tensor\_query\_client\_parent\_class}}
{\footnotesize\ttfamily \#define gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+parent\+\_\+class~parent\+\_\+class}



Definition at line 79 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a8bfdc6a8f615f2715ce9e8351ea69ae7}\label{tensor__query__client_8c_a8bfdc6a8f615f2715ce9e8351ea69ae7}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!TCP\_DEFAULT\_CLIENT\_SRC\_PORT@{TCP\_DEFAULT\_CLIENT\_SRC\_PORT}}
\index{TCP\_DEFAULT\_CLIENT\_SRC\_PORT@{TCP\_DEFAULT\_CLIENT\_SRC\_PORT}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{TCP\_DEFAULT\_CLIENT\_SRC\_PORT}{TCP\_DEFAULT\_CLIENT\_SRC\_PORT}}
{\footnotesize\ttfamily \#define T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+S\+R\+C\+\_\+\+P\+O\+RT~3001}



Definition at line 55 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_ab71ac753cbefcb130ed843c95cd60f21}\label{tensor__query__client_8c_ab71ac753cbefcb130ed843c95cd60f21}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!TCP\_DEFAULT\_HOST@{TCP\_DEFAULT\_HOST}}
\index{TCP\_DEFAULT\_HOST@{TCP\_DEFAULT\_HOST}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{TCP\_DEFAULT\_HOST}{TCP\_DEFAULT\_HOST}}
{\footnotesize\ttfamily \#define T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+H\+O\+ST~\char`\"{}localhost\char`\"{}}



Definition at line 53 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_aef3b7db927e6d1832321f7aa07ee84f8}\label{tensor__query__client_8c_aef3b7db927e6d1832321f7aa07ee84f8}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!TCP\_DEFAULT\_SRV\_SRC\_PORT@{TCP\_DEFAULT\_SRV\_SRC\_PORT}}
\index{TCP\_DEFAULT\_SRV\_SRC\_PORT@{TCP\_DEFAULT\_SRV\_SRC\_PORT}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{TCP\_DEFAULT\_SRV\_SRC\_PORT}{TCP\_DEFAULT\_SRV\_SRC\_PORT}}
{\footnotesize\ttfamily \#define T\+C\+P\+\_\+\+D\+E\+F\+A\+U\+L\+T\+\_\+\+S\+R\+V\+\_\+\+S\+R\+C\+\_\+\+P\+O\+RT~3000}



Definition at line 54 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_ada8dc98cb2198b7cd7fd20c8044e04b8}\label{tensor__query__client_8c_ada8dc98cb2198b7cd7fd20c8044e04b8}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!TCP\_HIGHEST\_PORT@{TCP\_HIGHEST\_PORT}}
\index{TCP\_HIGHEST\_PORT@{TCP\_HIGHEST\_PORT}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{TCP\_HIGHEST\_PORT}{TCP\_HIGHEST\_PORT}}
{\footnotesize\ttfamily \#define T\+C\+P\+\_\+\+H\+I\+G\+H\+E\+S\+T\+\_\+\+P\+O\+RT~65535}



Definition at line 52 of file tensor\+\_\+query\+\_\+client.\+c.



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



Properties. 

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_HOST@{PROP\_HOST}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_HOST@{PROP\_HOST}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a5d5a98b31519159d6861f0f311f17582}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a5d5a98b31519159d6861f0f311f17582}} 
P\+R\+O\+P\+\_\+\+H\+O\+ST&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_PORT@{PROP\_PORT}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_PORT@{PROP\_PORT}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a104ce2dcf1b9a2da5b120a9c2543a72d}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a104ce2dcf1b9a2da5b120a9c2543a72d}} 
P\+R\+O\+P\+\_\+\+P\+O\+RT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_DEST\_HOST@{PROP\_DEST\_HOST}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_DEST\_HOST@{PROP\_DEST\_HOST}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493ac7bbf6c92d80ea2fcfdd670794781507}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493ac7bbf6c92d80ea2fcfdd670794781507}} 
P\+R\+O\+P\+\_\+\+D\+E\+S\+T\+\_\+\+H\+O\+ST&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_DEST\_PORT@{PROP\_DEST\_PORT}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_DEST\_PORT@{PROP\_DEST\_PORT}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aaf2efb1b02a889dae2a598c0cdaa9d8d}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aaf2efb1b02a889dae2a598c0cdaa9d8d}} 
P\+R\+O\+P\+\_\+\+D\+E\+S\+T\+\_\+\+P\+O\+RT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_CONNECT\_TYPE@{PROP\_CONNECT\_TYPE}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_CONNECT\_TYPE@{PROP\_CONNECT\_TYPE}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aa59cab803c9b0787173d073312b504f7}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493aa59cab803c9b0787173d073312b504f7}} 
P\+R\+O\+P\+\_\+\+C\+O\+N\+N\+E\+C\+T\+\_\+\+T\+Y\+PE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_TOPIC@{PROP\_TOPIC}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_TOPIC@{PROP\_TOPIC}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a70df8fbf337a74638e6e35f008bd815e}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a70df8fbf337a74638e6e35f008bd815e}} 
P\+R\+O\+P\+\_\+\+T\+O\+P\+IC&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_TIMEOUT@{PROP\_TIMEOUT}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_TIMEOUT@{PROP\_TIMEOUT}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a8f46d7b6d29347cbca91bd06d13e6c8f}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a8f46d7b6d29347cbca91bd06d13e6c8f}} 
P\+R\+O\+P\+\_\+\+T\+I\+M\+E\+O\+UT&\\
\hline

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_MAX\_REQUEST@{PROP\_MAX\_REQUEST}!tensor\_query\_client.c@{tensor\_query\_client.c}}\index{tensor\_query\_client.c@{tensor\_query\_client.c}!PROP\_MAX\_REQUEST@{PROP\_MAX\_REQUEST}}}\mbox{\Hypertarget{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a7e72a57192bdaa4b7bfe7ab27ae5d03f}\label{tensor__query__client_8c_a531c35e38ede3ea4e5ba5afb24b29493a7e72a57192bdaa4b7bfe7ab27ae5d03f}} 
P\+R\+O\+P\+\_\+\+M\+A\+X\+\_\+\+R\+E\+Q\+U\+E\+ST&\\
\hline

\end{DoxyEnumFields}


Definition at line 38 of file tensor\+\_\+query\+\_\+client.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{tensor__query__client_8c_a43a6a697feeff26199c1581e148116e0}\label{tensor__query__client_8c_a43a6a697feeff26199c1581e148116e0}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!\_nns\_edge\_event\_cb@{\_nns\_edge\_event\_cb}}
\index{\_nns\_edge\_event\_cb@{\_nns\_edge\_event\_cb}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{\_nns\_edge\_event\_cb()}{\_nns\_edge\_event\_cb()}}
{\footnotesize\ttfamily static int \+\_\+nns\+\_\+edge\+\_\+event\+\_\+cb (\begin{DoxyParamCaption}\item[{nns\+\_\+edge\+\_\+event\+\_\+h}]{event\+\_\+h,  }\item[{void $\ast$}]{user\+\_\+data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



nnstreamer-\/edge event callback. 

Server framerate may vary. Let\textquotesingle{}s skip comparing the framerate.

Update client src caps

Definition at line 435 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a43a6a697feeff26199c1581e148116e0_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a43a6a697feeff26199c1581e148116e0_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a413754f9de2ad90b178fdeca9862ee5c}\label{tensor__query__client_8c_a413754f9de2ad90b178fdeca9862ee5c}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!\_nns\_edge\_parse\_caps@{\_nns\_edge\_parse\_caps}}
\index{\_nns\_edge\_parse\_caps@{\_nns\_edge\_parse\_caps}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{\_nns\_edge\_parse\_caps()}{\_nns\_edge\_parse\_caps()}}
{\footnotesize\ttfamily static gchar$\ast$ \+\_\+nns\+\_\+edge\+\_\+parse\+\_\+caps (\begin{DoxyParamCaption}\item[{gchar $\ast$}]{caps\+\_\+str,  }\item[{gboolean}]{is\+\_\+src }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Parse caps from received event data. 



Definition at line 400 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=291pt]{tensor__query__client_8c_a413754f9de2ad90b178fdeca9862ee5c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a413754f9de2ad90b178fdeca9862ee5c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a89026804b3641742841ef6cdfbb12e93}\label{tensor__query__client_8c_a89026804b3641742841ef6cdfbb12e93}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}}
\index{G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}!tensor\_query\_client.c@{tensor\_query\_client.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{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}}}]{,  }\item[{gst\+\_\+tensor\+\_\+query\+\_\+client}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+L\+E\+M\+E\+NT}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{tensor__query__client_8c_a77c6fc3e95d164bfb7ad43023c081170}\label{tensor__query__client_8c_a77c6fc3e95d164bfb7ad43023c081170}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}}
\index{GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}!tensor\_query\_client.c@{tensor\_query\_client.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\+\_\+query\+\_\+client\+\_\+debug}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{tensor__query__client_8c_adc14d6fed4f0a571d586a47ebb21d361}\label{tensor__query__client_8c_adc14d6fed4f0a571d586a47ebb21d361}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_chain@{gst\_tensor\_query\_client\_chain}}
\index{gst\_tensor\_query\_client\_chain@{gst\_tensor\_query\_client\_chain}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_chain()}{gst\_tensor\_query\_client\_chain()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+chain (\begin{DoxyParamCaption}\item[{Gst\+Pad $\ast$}]{pad,  }\item[{Gst\+Object $\ast$}]{parent,  }\item[{Gst\+Buffer $\ast$}]{buf }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Chain function, this function does the actual processing. 



Definition at line 674 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_adc14d6fed4f0a571d586a47ebb21d361_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_adc14d6fed4f0a571d586a47ebb21d361_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a30b2ec18f89cf5e04847b7e6579c6832}\label{tensor__query__client_8c_a30b2ec18f89cf5e04847b7e6579c6832}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_class\_init@{gst\_tensor\_query\_client\_class\_init}}
\index{gst\_tensor\_query\_client\_class\_init@{gst\_tensor\_query\_client\_class\_init}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_class\_init()}{gst\_tensor\_query\_client\_class\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+class\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{tensor__query__client_8h_a049087909444377cd7ef4f4e5e779cc5}{Gst\+Tensor\+Query\+Client\+Class}} $\ast$}]{klass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



initialize the class 

install property goes here

Definition at line 101 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a30b2ec18f89cf5e04847b7e6579c6832_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a2c9eb0839504ce1c84ff51c25cf1b8c2}\label{tensor__query__client_8c_a2c9eb0839504ce1c84ff51c25cf1b8c2}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_create\_edge\_handle@{gst\_tensor\_query\_client\_create\_edge\_handle}}
\index{gst\_tensor\_query\_client\_create\_edge\_handle@{gst\_tensor\_query\_client\_create\_edge\_handle}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_create\_edge\_handle()}{gst\_tensor\_query\_client\_create\_edge\_handle()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+create\+\_\+edge\+\_\+handle (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Internal function to create edge handle. 



Definition at line 521 of file tensor\+\_\+query\+\_\+client.\+c.

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



finalize the object 



Definition at line 213 of file tensor\+\_\+query\+\_\+client.\+c.

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



Definition at line 309 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a90b27d78aafd3b6e6fac48a626133477_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a90b27d78aafd3b6e6fac48a626133477_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a1d58000de64326a7b6cb87abc20c7d22}\label{tensor__query__client_8c_a1d58000de64326a7b6cb87abc20c7d22}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_init@{gst\_tensor\_query\_client\_init}}
\index{gst\_tensor\_query\_client\_init@{gst\_tensor\_query\_client\_init}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_init()}{gst\_tensor\_query\_client\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



initialize the new element 

setup sink pad

setup src pad

Definition at line 175 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a1d58000de64326a7b6cb87abc20c7d22_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_ac2bab8638b462e60b0a74a5717851fb1}\label{tensor__query__client_8c_ac2bab8638b462e60b0a74a5717851fb1}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_query\_caps@{gst\_tensor\_query\_client\_query\_caps}}
\index{gst\_tensor\_query\_client\_query\_caps@{gst\_tensor\_query\_client\_query\_caps}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_query\_caps()}{gst\_tensor\_query\_client\_query\_caps()}}
{\footnotesize\ttfamily static Gst\+Caps $\ast$ gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+query\+\_\+caps (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$}]{self,  }\item[{Gst\+Pad $\ast$}]{pad,  }\item[{Gst\+Caps $\ast$}]{filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get pad caps for caps negotiation. 

pad don\textquotesingle{}t have current caps. use the template caps

Definition at line 784 of file tensor\+\_\+query\+\_\+client.\+c.

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



set property 

\begin{DoxyRefDesc}{Todo}
\item[\mbox{\hyperlink{todo__todo000068}{Todo}}]DO N\+OT update properties (host, port, ..) while pipeline is running. \end{DoxyRefDesc}


Definition at line 250 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=296pt]{tensor__query__client_8c_a80896e51eb3bd876e1b365db6557e2aa_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a80896e51eb3bd876e1b365db6557e2aa_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a9e94af8756c4dcc290ac0df14ddd1f76}\label{tensor__query__client_8c_a9e94af8756c4dcc290ac0df14ddd1f76}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_sink\_event@{gst\_tensor\_query\_client\_sink\_event}}
\index{gst\_tensor\_query\_client\_sink\_event@{gst\_tensor\_query\_client\_sink\_event}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_sink\_event()}{gst\_tensor\_query\_client\_sink\_event()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+sink\+\_\+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]}}



This function handles sink event. 



Definition at line 587 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a9e94af8756c4dcc290ac0df14ddd1f76_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a9e94af8756c4dcc290ac0df14ddd1f76_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a20779f972dd5b72859e9a48f37a68a58}\label{tensor__query__client_8c_a20779f972dd5b72859e9a48f37a68a58}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_sink\_query@{gst\_tensor\_query\_client\_sink\_query}}
\index{gst\_tensor\_query\_client\_sink\_query@{gst\_tensor\_query\_client\_sink\_query}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_sink\_query()}{gst\_tensor\_query\_client\_sink\_query()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+sink\+\_\+query (\begin{DoxyParamCaption}\item[{Gst\+Pad $\ast$}]{pad,  }\item[{Gst\+Object $\ast$}]{parent,  }\item[{Gst\+Query $\ast$}]{query }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



This function handles sink pad query. 



Definition at line 623 of file tensor\+\_\+query\+\_\+client.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a20779f972dd5b72859e9a48f37a68a58_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{tensor__query__client_8c_a20779f972dd5b72859e9a48f37a68a58_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{tensor__query__client_8c_a8ee2e49935d6cdb78cc1ff5f054f2d0f}\label{tensor__query__client_8c_a8ee2e49935d6cdb78cc1ff5f054f2d0f}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!gst\_tensor\_query\_client\_update\_caps@{gst\_tensor\_query\_client\_update\_caps}}
\index{gst\_tensor\_query\_client\_update\_caps@{gst\_tensor\_query\_client\_update\_caps}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_query\_client\_update\_caps()}{gst\_tensor\_query\_client\_update\_caps()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+query\+\_\+client\+\_\+update\+\_\+caps (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{tensor__query__client_8h_a923e5c4fb15738ce8d61d72b2d203873}{Gst\+Tensor\+Query\+Client}} $\ast$}]{self,  }\item[{const gchar $\ast$}]{caps\+\_\+str }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Update src pad caps from tensors config. 

If pad caps is updated, prepare the tensor information here. It will be used in chain function, to push tensor buffer into src pad.

Don\textquotesingle{}t need to update when the capability is the same.

Definition at line 352 of file tensor\+\_\+query\+\_\+client.\+c.

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{tensor__query__client_8c_ab75bedfae592f4c227c74da883483be6}\label{tensor__query__client_8c_ab75bedfae592f4c227c74da883483be6}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!sinktemplate@{sinktemplate}}
\index{sinktemplate@{sinktemplate}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{sinktemplate}{sinktemplate}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template sinktemplate\hspace{0.3cm}{\ttfamily [static]}}

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

\end{DoxyCode}


the capabilities of the inputs. 



Definition at line 66 of file tensor\+\_\+query\+\_\+client.\+c.

\mbox{\Hypertarget{tensor__query__client_8c_a10506682cfb763eb44b9296c93fb5954}\label{tensor__query__client_8c_a10506682cfb763eb44b9296c93fb5954}} 
\index{tensor\_query\_client.c@{tensor\_query\_client.c}!srctemplate@{srctemplate}}
\index{srctemplate@{srctemplate}!tensor\_query\_client.c@{tensor\_query\_client.c}}
\doxysubsubsection{\texorpdfstring{srctemplate}{srctemplate}}
{\footnotesize\ttfamily Gst\+Static\+Pad\+Template srctemplate\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{    GST\_STATIC\_CAPS\_ANY)}

\end{DoxyCode}


the capabilities of the outputs. 



Definition at line 74 of file tensor\+\_\+query\+\_\+client.\+c.

