\hypertarget{gsttensor__rate_8h}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+rate.h File Reference}
\label{gsttensor__rate_8h}\index{nnstreamer/elements/gsttensor\_rate.h@{nnstreamer/elements/gsttensor\_rate.h}}


G\+Streamer plugin to adjust tensor rate.  


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$gst/base/gstbasetransform.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+common.\+h$>$}\newline
Include dependency graph for gsttensor\+\_\+rate.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=344pt]{gsttensor__rate_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__GstTensorRate}{\+\_\+\+Gst\+Tensor\+Rate}}
\begin{DoxyCompactList}\small\item\em Tensor Rate data structure. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GstTensorRateClass}{\+\_\+\+Gst\+Tensor\+Rate\+Class}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Rate\+Class inherits Gst\+Element\+Class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}~(\mbox{\hyperlink{gsttensor__rate_8h_a2d8eeeb2d422611d515673779f828696}{gst\+\_\+tensor\+\_\+rate\+\_\+get\+\_\+type}} ())
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_a3531bdff97c09031f9bc11fd7ca4f247}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST ((obj), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_af481aae05f2b7e688c6a4adc4e71f744}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST ((klass), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_a0c6cdb00232020baee5cb8f7f4a350bf}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+G\+E\+T\+\_\+\+C\+L\+A\+SS}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+G\+E\+T\+\_\+\+C\+L\+A\+SS ((obj), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_a9c4594c89e331eb13ccdfc8ba2681261}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+T\+Y\+PE((obj),\mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_a848f3472afa2734f2307ebc144fec7a6}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE((klass),\mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8h_ac913904ee13732ec663fa34d7521ee55}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+A\+ST}}(obj)~((\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}$\ast$)(obj))
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorRate}{\+\_\+\+Gst\+Tensor\+Rate}} \mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorRateClass}{\+\_\+\+Gst\+Tensor\+Rate\+Class}} \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
G\+Type \mbox{\hyperlink{gsttensor__rate_8h_a2d8eeeb2d422611d515673779f828696}{gst\+\_\+tensor\+\_\+rate\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em Get Type function required for gst elements. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin to adjust tensor rate. 

G\+Streamer/\+N\+N\+Streamer Tensor-\/\+Rate Copyright (C) 2020 Dongju Chae \href{mailto:dongju.chae@samsung.com}{\texttt{ dongju.\+chae@samsung.\+com}}

\begin{DoxyDate}{Date}
24 Sep 2020 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Dongju Chae \href{mailto:dongju.chae@samsung.com}{\texttt{ dongju.\+chae@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000047}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__rate_8h_a9c4594c89e331eb13ccdfc8ba2681261}\label{gsttensor__rate_8h_a9c4594c89e331eb13ccdfc8ba2681261}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_IS\_TENSOR\_RATE@{GST\_IS\_TENSOR\_RATE}}
\index{GST\_IS\_TENSOR\_RATE@{GST\_IS\_TENSOR\_RATE}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_IS\_TENSOR\_RATE}{GST\_IS\_TENSOR\_RATE}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+T\+Y\+PE((obj),\mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}))}



Definition at line 28 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_a848f3472afa2734f2307ebc144fec7a6}\label{gsttensor__rate_8h_a848f3472afa2734f2307ebc144fec7a6}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_IS\_TENSOR\_RATE\_CLASS@{GST\_IS\_TENSOR\_RATE\_CLASS}}
\index{GST\_IS\_TENSOR\_RATE\_CLASS@{GST\_IS\_TENSOR\_RATE\_CLASS}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_IS\_TENSOR\_RATE\_CLASS}{GST\_IS\_TENSOR\_RATE\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{klass }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE((klass),\mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}))}



Definition at line 29 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_a3531bdff97c09031f9bc11fd7ca4f247}\label{gsttensor__rate_8h_a3531bdff97c09031f9bc11fd7ca4f247}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_TENSOR\_RATE@{GST\_TENSOR\_RATE}}
\index{GST\_TENSOR\_RATE@{GST\_TENSOR\_RATE}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_RATE}{GST\_TENSOR\_RATE}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST ((obj), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}))}



Definition at line 25 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_ac913904ee13732ec663fa34d7521ee55}\label{gsttensor__rate_8h_ac913904ee13732ec663fa34d7521ee55}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_TENSOR\_RATE\_CAST@{GST\_TENSOR\_RATE\_CAST}}
\index{GST\_TENSOR\_RATE\_CAST@{GST\_TENSOR\_RATE\_CAST}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_RATE\_CAST}{GST\_TENSOR\_RATE\_CAST}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+A\+ST(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~((\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}$\ast$)(obj))}



Definition at line 30 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_af481aae05f2b7e688c6a4adc4e71f744}\label{gsttensor__rate_8h_af481aae05f2b7e688c6a4adc4e71f744}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_TENSOR\_RATE\_CLASS@{GST\_TENSOR\_RATE\_CLASS}}
\index{GST\_TENSOR\_RATE\_CLASS@{GST\_TENSOR\_RATE\_CLASS}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_RATE\_CLASS}{GST\_TENSOR\_RATE\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{klass }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST ((klass), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}))}



Definition at line 26 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_a0c6cdb00232020baee5cb8f7f4a350bf}\label{gsttensor__rate_8h_a0c6cdb00232020baee5cb8f7f4a350bf}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_TENSOR\_RATE\_GET\_CLASS@{GST\_TENSOR\_RATE\_GET\_CLASS}}
\index{GST\_TENSOR\_RATE\_GET\_CLASS@{GST\_TENSOR\_RATE\_GET\_CLASS}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_RATE\_GET\_CLASS}{GST\_TENSOR\_RATE\_GET\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+G\+E\+T\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+G\+E\+T\+\_\+\+C\+L\+A\+SS ((obj), \mbox{\hyperlink{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE}}, \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}))}



Definition at line 27 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}\label{gsttensor__rate_8h_abf46a9251a5dba98fd4c5004509c7395}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GST\_TYPE\_TENSOR\_RATE@{GST\_TYPE\_TENSOR\_RATE}}
\index{GST\_TYPE\_TENSOR\_RATE@{GST\_TYPE\_TENSOR\_RATE}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_RATE}{GST\_TYPE\_TENSOR\_RATE}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+TE~(\mbox{\hyperlink{gsttensor__rate_8h_a2d8eeeb2d422611d515673779f828696}{gst\+\_\+tensor\+\_\+rate\+\_\+get\+\_\+type}} ())}



Definition at line 24 of file gsttensor\+\_\+rate.\+h.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}\label{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GstTensorRate@{GstTensorRate}}
\index{GstTensorRate@{GstTensorRate}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GstTensorRate}{GstTensorRate}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorRate}{\+\_\+\+Gst\+Tensor\+Rate}} \mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}}



Definition at line 31 of file gsttensor\+\_\+rate.\+h.

\mbox{\Hypertarget{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}\label{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!GstTensorRateClass@{GstTensorRateClass}}
\index{GstTensorRateClass@{GstTensorRateClass}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{GstTensorRateClass}{GstTensorRateClass}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorRateClass}{\+\_\+\+Gst\+Tensor\+Rate\+Class}} \mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}}}



Definition at line 32 of file gsttensor\+\_\+rate.\+h.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__rate_8h_a2d8eeeb2d422611d515673779f828696}\label{gsttensor__rate_8h_a2d8eeeb2d422611d515673779f828696}} 
\index{gsttensor\_rate.h@{gsttensor\_rate.h}!gst\_tensor\_rate\_get\_type@{gst\_tensor\_rate\_get\_type}}
\index{gst\_tensor\_rate\_get\_type@{gst\_tensor\_rate\_get\_type}!gsttensor\_rate.h@{gsttensor\_rate.h}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_get\_type()}{gst\_tensor\_rate\_get\_type()}}
{\footnotesize\ttfamily G\+Type gst\+\_\+tensor\+\_\+rate\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get Type function required for gst elements. 

