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


G\+Streamer plugin to adjust tensor rate.  


{\ttfamily \#include $<$nnstreamer\+\_\+log.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+util.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gsttensor\+\_\+rate.\+h\char`\"{}}\newline
Include dependency graph for gsttensor\+\_\+rate.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_a49606be7356624568932ec81c0d429f4}{D\+BG}}~(!self-\/$>$silent)
\begin{DoxyCompactList}\small\item\em Macro for debug mode. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_a3439815bb1be2b50aae7d950ba33cd86}{A\+B\+S\+D\+I\+FF}}(a,  b)~(((a) $>$ (b)) ? (a) -\/ (b) \+: (b) -\/ (a))
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+tensor\+\_\+rate\+\_\+debug
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_aa2d8b0bc5c1225ba8d7f84e235c1cf0d}{C\+A\+P\+S\+\_\+\+S\+T\+R\+I\+NG}}~\mbox{\hyperlink{tensor__typedef_8h_a284951c7aec77ea34d1c0279d5a5b4a0}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}} \char`\"{}; \char`\"{} \mbox{\hyperlink{tensor__typedef_8h_a439a25631e5849f93c9f1dcdc7c2baa5}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+D\+E\+F\+A\+U\+LT}}
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_ab47929215162490ff83a4aa498aa9824}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+S\+C\+A\+L\+E\+D\+\_\+\+T\+I\+ME}}(self,  count)
\item 
\#define \mbox{\hyperlink{gsttensor__rate_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 default parameters \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_a5148e479333d90b7c318766f64f9ea38}{D\+E\+F\+A\+U\+L\+T\+\_\+\+T\+H\+R\+O\+T\+T\+LE}}~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_a6ee28dd5b4006aad18f019c4e6cdee76}{gst\+\_\+tensor\+\_\+rate\+\_\+parent\+\_\+class}}~parent\+\_\+class
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_a74ada28e17bbef45fb51715d5b18a8f4}{T\+H\+R\+O\+T\+T\+L\+E\+\_\+\+D\+E\+L\+A\+Y\+\_\+\+R\+A\+T\+IO}}~(0.\+999)
\item 
\#define \mbox{\hyperlink{gsttensor__rate_8c_af262fd115de1fb39496942cfb938219c}{M\+A\+G\+I\+C\+\_\+\+L\+I\+M\+IT}}~25
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \newline
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310ac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310aa11da89c2c0fa1bf6d82265cec2b99e4}{P\+R\+O\+P\+\_\+\+IN}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a0a4d006d80a5b065cc83b43dfb8768c9}{P\+R\+O\+P\+\_\+\+O\+UT}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310af3560f6ac0d819667d127a6edd419a80}{P\+R\+O\+P\+\_\+\+D\+UP}}, 
\newline
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a09d214c5659613438143a256ecc9bf3b}{P\+R\+O\+P\+\_\+\+D\+R\+OP}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a707b785966c328fb5a6088b7879c7bb5}{P\+R\+O\+P\+\_\+\+S\+I\+L\+E\+NT}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a463da40205cc03e31b439bd99fb291bc}{P\+R\+O\+P\+\_\+\+T\+H\+R\+O\+T\+T\+LE}}, 
\mbox{\hyperlink{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310ae4c3ba44cf1db8cccfc267086c03865f}{P\+R\+O\+P\+\_\+\+F\+R\+A\+M\+E\+R\+A\+TE}}
 \}
\begin{DoxyCompactList}\small\item\em tensor\+\_\+rate properties \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gsttensor__rate_8c_a39707160d7b4c63db9c64692610ee31a}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+tensor\+\_\+rate\+\_\+debug)
\item 
\mbox{\hyperlink{gsttensor__rate_8c_a7519d948ab0642a4f3a2f4b5f08a7a81}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+PE}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}, gst\+\_\+tensor\+\_\+rate, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM)
\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_af1c575b8dc6709712d0236265ffc4568}{gst\+\_\+tensor\+\_\+rate\+\_\+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\+\_\+rate properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_ad94b82ab120cee5d82d5a8daae070197}{gst\+\_\+tensor\+\_\+rate\+\_\+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\+\_\+rate properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_a9d63f456c448f1049ba50fad06bbe28f}{gst\+\_\+tensor\+\_\+rate\+\_\+finalize}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em Function to finalize instance. (G\+ST Standard) \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__rate_8c_a756a8225f005a96e139f655eec5fcde6}{gst\+\_\+tensor\+\_\+rate\+\_\+transform\+\_\+ip}} (Gst\+Base\+Transform $\ast$trans, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em in-\/place transform \end{DoxyCompactList}\item 
static Gst\+Caps $\ast$ \mbox{\hyperlink{gsttensor__rate_8c_ad28630b3c55835bee8a45b607e050ffa}{gst\+\_\+tensor\+\_\+rate\+\_\+transform\+\_\+caps}} (Gst\+Base\+Transform $\ast$trans, Gst\+Pad\+Direction direction, Gst\+Caps $\ast$caps, Gst\+Caps $\ast$filter)
\begin{DoxyCompactList}\small\item\em configure tensor-\/srcpad cap from \char`\"{}proposed\char`\"{} cap. (G\+ST Standard) \end{DoxyCompactList}\item 
static Gst\+Caps $\ast$ \mbox{\hyperlink{gsttensor__rate_8c_a3f49779453f6445d5d182f12d12d6c01}{gst\+\_\+tensor\+\_\+rate\+\_\+fixate\+\_\+caps}} (Gst\+Base\+Transform $\ast$trans, Gst\+Pad\+Direction direction, Gst\+Caps $\ast$caps, Gst\+Caps $\ast$othercaps)
\begin{DoxyCompactList}\small\item\em fixate caps. required vmethod of Gst\+Base\+Transform. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__rate_8c_a3c535cd15a72f970387bff0f1f648820}{gst\+\_\+tensor\+\_\+rate\+\_\+set\+\_\+caps}} (Gst\+Base\+Transform $\ast$trans, Gst\+Caps $\ast$in\+\_\+caps, Gst\+Caps $\ast$out\+\_\+caps)
\begin{DoxyCompactList}\small\item\em set caps. required vmethod of Gst\+Base\+Transform. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_abff5234e65b1b029aec6eefde9ab01db}{gst\+\_\+tensor\+\_\+rate\+\_\+swap\+\_\+prev}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self, Gst\+Buffer $\ast$buffer, gint64 time)
\begin{DoxyCompactList}\small\item\em swap a previous buffer \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__rate_8c_a32349895c4e42cde9c1f894c608de506}{gst\+\_\+tensor\+\_\+rate\+\_\+flush\+\_\+prev}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self, gboolean duplicate, Gst\+Clock\+Time next\+\_\+intime)
\begin{DoxyCompactList}\small\item\em flush the oldest buffer \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_acbbdad3566b409a29007b3952a6465bc}{gst\+\_\+tensor\+\_\+rate\+\_\+notify\+\_\+drop}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self)
\begin{DoxyCompactList}\small\item\em notify a frame drop event \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_ac72ca45ac4a1ff823c5e52c6f7603561}{gst\+\_\+tensor\+\_\+rate\+\_\+notify\+\_\+duplicate}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self)
\begin{DoxyCompactList}\small\item\em notify a frame duplicate event \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__rate_8c_af78c2cca4ea66b89cb55f3771e5d1fcd}{gst\+\_\+tensor\+\_\+rate\+\_\+start}} (Gst\+Base\+Transform $\ast$trans)
\begin{DoxyCompactList}\small\item\em Called when the element starts processing. optional vmethod of Base\+Transform. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__rate_8c_a868ccdb4effa940ecf3a27ef0deef1cc}{gst\+\_\+tensor\+\_\+rate\+\_\+stop}} (Gst\+Base\+Transform $\ast$trans)
\begin{DoxyCompactList}\small\item\em Called when the element stops processing. optional vmethod of Base\+Transform. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gsttensor__rate_8c_a4922ce2ee7a08f063f6aec5273af4bad}{gst\+\_\+tensor\+\_\+rate\+\_\+sink\+\_\+event}} (Gst\+Base\+Transform $\ast$trans, Gst\+Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Event handler for sink pad of tensor rate. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_a6e9dd32ad26e222faabf8fa2557a14e1}{gst\+\_\+tensor\+\_\+rate\+\_\+install\+\_\+properties}} (G\+Object\+Class $\ast$object\+\_\+class)
\begin{DoxyCompactList}\small\item\em Installs all the properties for tensor\+\_\+rate. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_a61feba2ff10b94f919d439033d688102}{gst\+\_\+tensor\+\_\+rate\+\_\+class\+\_\+init}} (\mbox{\hyperlink{gsttensor__rate_8h_adaf138fff428b94d95cdbb2a08cfb1cb}{Gst\+Tensor\+Rate\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em initialize the tensor\+\_\+rate\textquotesingle{}s class (G\+ST Standard) \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gsttensor__rate_8c_ae61157ab04760c22352dffb7f54ce566}{gst\+\_\+tensor\+\_\+rate\+\_\+push\+\_\+buffer}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self, Gst\+Buffer $\ast$outbuf, gboolean duplicate, Gst\+Clock\+Time next\+\_\+intime)
\begin{DoxyCompactList}\small\item\em push the buffer to src pad \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_abfb0c2d9316daa9590cb68af07915208}{gst\+\_\+tensor\+\_\+rate\+\_\+reset}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self)
\begin{DoxyCompactList}\small\item\em reset variables of the element (G\+ST Standard) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_abd9b2b9420e389245cff1393653f9152}{gst\+\_\+tensor\+\_\+rate\+\_\+init}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self)
\begin{DoxyCompactList}\small\item\em initialize the new element (G\+ST Standard) \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gsttensor__rate_8c_afdd8a1b4a4c21a1707640ade88b8e3d8}{gst\+\_\+tensor\+\_\+rate\+\_\+send\+\_\+qos\+\_\+throttle}} (\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$self, Gst\+Clock\+Time timestamp)
\begin{DoxyCompactList}\small\item\em send throttling qos event to upstream elements \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__rate_8c_a7c3b88a6174b442587875b361d888720}{sink\+\_\+factory}}
\begin{DoxyCompactList}\small\item\em The capabilities of the inputs. \end{DoxyCompactList}\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gsttensor__rate_8c_a506c90b87594a5e6111c8b5f6ca85473}{src\+\_\+factory}}
\begin{DoxyCompactList}\small\item\em The capabilities of the outputs. \end{DoxyCompactList}\item 
static G\+Param\+Spec $\ast$ \mbox{\hyperlink{gsttensor__rate_8c_a9ca6b0b50eeca0f5c3dc2409ccbba79b}{pspec\+\_\+drop}} = N\+U\+LL
\item 
static G\+Param\+Spec $\ast$ \mbox{\hyperlink{gsttensor__rate_8c_a25a8b8ed37c58672ad4d3eb68b52e3bd}{pspec\+\_\+duplicate}} = N\+U\+LL
\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__bug000046}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__rate_8c_a3439815bb1be2b50aae7d950ba33cd86}\label{gsttensor__rate_8c_a3439815bb1be2b50aae7d950ba33cd86}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!ABSDIFF@{ABSDIFF}}
\index{ABSDIFF@{ABSDIFF}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{ABSDIFF}{ABSDIFF}}
{\footnotesize\ttfamily \#define A\+B\+S\+D\+I\+FF(\begin{DoxyParamCaption}\item[{}]{a,  }\item[{}]{b }\end{DoxyParamCaption})~(((a) $>$ (b)) ? (a) -\/ (b) \+: (b) -\/ (a))}



Definition at line 60 of file gsttensor\+\_\+rate.\+c.

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



Definition at line 66 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_a49606be7356624568932ec81c0d429f4}\label{gsttensor__rate_8c_a49606be7356624568932ec81c0d429f4}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!DBG@{DBG}}
\index{DBG@{DBG}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{DBG}{DBG}}
{\footnotesize\ttfamily \#define D\+BG~(!self-\/$>$silent)}



Macro for debug mode. 

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

This element controls a frame rate of tensor streams in the pipeline.

Basically, this element takes an incoming stream of tensor frames, and produces an adjusted stream that matches the source pad\textquotesingle{}s framerate. The adjustment is performed by dropping and duplicating tensor frames. By default the element will simply negotiate the same framerate on its source and sink pad.

Also, when \textquotesingle{}throttle\textquotesingle{} property is set, it propagates a specified frame-\/rate to upstream elements by sending qos events, which prevents unnecessary data from upstream elements.

$<$refsect2$>$ $<$title$>$Example launch line with tensor rate$<$/title$>$ gst-\/launch-\/1.\+0 videotestsrc ! video/x-\/raw,width=640,height=480,framerate=15/1 ! tensor\+\_\+converter ! tensor\+\_\+rate framerate=10/1 throttle=true ! tensor\+\_\+decoder mode=direct\+\_\+video ! videoconvert ! autovideosink $<$/refsect2$>$ 

Definition at line 56 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}\label{gsttensor__rate_8c_a18d799dbbbb0fd0132807aa9bb7d9adf}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!DEFAULT\_SILENT@{DEFAULT\_SILENT}}
\index{DEFAULT\_SILENT@{DEFAULT\_SILENT}!gsttensor\_rate.c@{gsttensor\_rate.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}}}



default parameters 



Definition at line 73 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_a5148e479333d90b7c318766f64f9ea38}\label{gsttensor__rate_8c_a5148e479333d90b7c318766f64f9ea38}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!DEFAULT\_THROTTLE@{DEFAULT\_THROTTLE}}
\index{DEFAULT\_THROTTLE@{DEFAULT\_THROTTLE}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{DEFAULT\_THROTTLE}{DEFAULT\_THROTTLE}}
{\footnotesize\ttfamily \#define D\+E\+F\+A\+U\+L\+T\+\_\+\+T\+H\+R\+O\+T\+T\+LE~\mbox{\hyperlink{gsttensor__if_8c_a834713a9a17ec303f21e3dc4ecbe9161}{T\+R\+UE}}}



Definition at line 74 of file gsttensor\+\_\+rate.\+c.

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



Definition at line 64 of file gsttensor\+\_\+rate.\+c.

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



Definition at line 110 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_ab47929215162490ff83a4aa498aa9824}\label{gsttensor__rate_8c_ab47929215162490ff83a4aa498aa9824}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!GST\_TENSOR\_RATE\_SCALED\_TIME@{GST\_TENSOR\_RATE\_SCALED\_TIME}}
\index{GST\_TENSOR\_RATE\_SCALED\_TIME@{GST\_TENSOR\_RATE\_SCALED\_TIME}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_RATE\_SCALED\_TIME}{GST\_TENSOR\_RATE\_SCALED\_TIME}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+R\+A\+T\+E\+\_\+\+S\+C\+A\+L\+E\+D\+\_\+\+T\+I\+ME(\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{count }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  gst\_util\_uint64\_scale (count,\(\backslash\)}
\DoxyCodeLine{      self-\/>to\_rate\_denominator * GST\_SECOND, self-\/>to\_rate\_numerator)}

\end{DoxyCode}


Definition at line 68 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_af262fd115de1fb39496942cfb938219c}\label{gsttensor__rate_8c_af262fd115de1fb39496942cfb938219c}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!MAGIC\_LIMIT@{MAGIC\_LIMIT}}
\index{MAGIC\_LIMIT@{MAGIC\_LIMIT}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{MAGIC\_LIMIT}{MAGIC\_LIMIT}}
{\footnotesize\ttfamily \#define M\+A\+G\+I\+C\+\_\+\+L\+I\+M\+IT~25}



Definition at line 773 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_a74ada28e17bbef45fb51715d5b18a8f4}\label{gsttensor__rate_8c_a74ada28e17bbef45fb51715d5b18a8f4}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!THROTTLE\_DELAY\_RATIO@{THROTTLE\_DELAY\_RATIO}}
\index{THROTTLE\_DELAY\_RATIO@{THROTTLE\_DELAY\_RATIO}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{THROTTLE\_DELAY\_RATIO}{THROTTLE\_DELAY\_RATIO}}
{\footnotesize\ttfamily \#define T\+H\+R\+O\+T\+T\+L\+E\+\_\+\+D\+E\+L\+A\+Y\+\_\+\+R\+A\+T\+IO~(0.\+999)}



Definition at line 449 of file gsttensor\+\_\+rate.\+c.



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



tensor\+\_\+rate properties 

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_IN@{PROP\_IN}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_IN@{PROP\_IN}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310aa11da89c2c0fa1bf6d82265cec2b99e4}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310aa11da89c2c0fa1bf6d82265cec2b99e4}} 
P\+R\+O\+P\+\_\+\+IN&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_OUT@{PROP\_OUT}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_OUT@{PROP\_OUT}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a0a4d006d80a5b065cc83b43dfb8768c9}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a0a4d006d80a5b065cc83b43dfb8768c9}} 
P\+R\+O\+P\+\_\+\+O\+UT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_DUP@{PROP\_DUP}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_DUP@{PROP\_DUP}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310af3560f6ac0d819667d127a6edd419a80}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310af3560f6ac0d819667d127a6edd419a80}} 
P\+R\+O\+P\+\_\+\+D\+UP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_DROP@{PROP\_DROP}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_DROP@{PROP\_DROP}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a09d214c5659613438143a256ecc9bf3b}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a09d214c5659613438143a256ecc9bf3b}} 
P\+R\+O\+P\+\_\+\+D\+R\+OP&\\
\hline

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_THROTTLE@{PROP\_THROTTLE}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_THROTTLE@{PROP\_THROTTLE}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a463da40205cc03e31b439bd99fb291bc}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310a463da40205cc03e31b439bd99fb291bc}} 
P\+R\+O\+P\+\_\+\+T\+H\+R\+O\+T\+T\+LE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_FRAMERATE@{PROP\_FRAMERATE}!gsttensor\_rate.c@{gsttensor\_rate.c}}\index{gsttensor\_rate.c@{gsttensor\_rate.c}!PROP\_FRAMERATE@{PROP\_FRAMERATE}}}\mbox{\Hypertarget{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310ae4c3ba44cf1db8cccfc267086c03865f}\label{gsttensor__rate_8c_a94798fdadfbf49a7c658ace669a1d310ae4c3ba44cf1db8cccfc267086c03865f}} 
P\+R\+O\+P\+\_\+\+F\+R\+A\+M\+E\+R\+A\+TE&\\
\hline

\end{DoxyEnumFields}


Definition at line 79 of file gsttensor\+\_\+rate.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__rate_8c_a7519d948ab0642a4f3a2f4b5f08a7a81}\label{gsttensor__rate_8c_a7519d948ab0642a4f3a2f4b5f08a7a81}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}}
\index{G\_DEFINE\_TYPE@{G\_DEFINE\_TYPE}!gsttensor\_rate.c@{gsttensor\_rate.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__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}}}]{,  }\item[{gst\+\_\+tensor\+\_\+rate}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+T\+R\+A\+N\+S\+F\+O\+RM}]{ }\end{DoxyParamCaption})}

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

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



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



Definition at line 148 of file gsttensor\+\_\+rate.\+c.

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



Function to finalize instance. (G\+ST Standard) 



Definition at line 341 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a9d63f456c448f1049ba50fad06bbe28f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_a3f49779453f6445d5d182f12d12d6c01}\label{gsttensor__rate_8c_a3f49779453f6445d5d182f12d12d6c01}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_fixate\_caps@{gst\_tensor\_rate\_fixate\_caps}}
\index{gst\_tensor\_rate\_fixate\_caps@{gst\_tensor\_rate\_fixate\_caps}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_fixate\_caps()}{gst\_tensor\_rate\_fixate\_caps()}}
{\footnotesize\ttfamily static Gst\+Caps $\ast$ gst\+\_\+tensor\+\_\+rate\+\_\+fixate\+\_\+caps (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans,  }\item[{Gst\+Pad\+Direction}]{direction,  }\item[{Gst\+Caps $\ast$}]{caps,  }\item[{Gst\+Caps $\ast$}]{othercaps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



fixate caps. required vmethod of Gst\+Base\+Transform. 



Definition at line 680 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a3f49779453f6445d5d182f12d12d6c01_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_a32349895c4e42cde9c1f894c608de506}\label{gsttensor__rate_8c_a32349895c4e42cde9c1f894c608de506}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_flush\_prev@{gst\_tensor\_rate\_flush\_prev}}
\index{gst\_tensor\_rate\_flush\_prev@{gst\_tensor\_rate\_flush\_prev}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_flush\_prev()}{gst\_tensor\_rate\_flush\_prev()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+rate\+\_\+flush\+\_\+prev (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self,  }\item[{gboolean}]{duplicate,  }\item[{Gst\+Clock\+Time}]{next\+\_\+intime }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



flush the oldest buffer 



Definition at line 259 of file gsttensor\+\_\+rate.\+c.

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



Definition at line 407 of file gsttensor\+\_\+rate.\+c.

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



initialize the new element (G\+ST Standard) 



Definition at line 317 of file gsttensor\+\_\+rate.\+c.

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



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


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


Definition at line 953 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a6e9dd32ad26e222faabf8fa2557a14e1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_acbbdad3566b409a29007b3952a6465bc}\label{gsttensor__rate_8c_acbbdad3566b409a29007b3952a6465bc}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_notify\_drop@{gst\_tensor\_rate\_notify\_drop}}
\index{gst\_tensor\_rate\_notify\_drop@{gst\_tensor\_rate\_notify\_drop}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_notify\_drop()}{gst\_tensor\_rate\_notify\_drop()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+rate\+\_\+notify\+\_\+drop (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



notify a frame drop event 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em self} & \char`\"{}this\char`\"{} pointer \\
\hline
\end{DoxyParams}


Definition at line 758 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_acbbdad3566b409a29007b3952a6465bc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_ac72ca45ac4a1ff823c5e52c6f7603561}\label{gsttensor__rate_8c_ac72ca45ac4a1ff823c5e52c6f7603561}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_notify\_duplicate@{gst\_tensor\_rate\_notify\_duplicate}}
\index{gst\_tensor\_rate\_notify\_duplicate@{gst\_tensor\_rate\_notify\_duplicate}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_notify\_duplicate()}{gst\_tensor\_rate\_notify\_duplicate()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+rate\+\_\+notify\+\_\+duplicate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



notify a frame duplicate event 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em self} & \char`\"{}this\char`\"{} pointer \\
\hline
\end{DoxyParams}


Definition at line 768 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_ac72ca45ac4a1ff823c5e52c6f7603561_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_ae61157ab04760c22352dffb7f54ce566}\label{gsttensor__rate_8c_ae61157ab04760c22352dffb7f54ce566}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_push\_buffer@{gst\_tensor\_rate\_push\_buffer}}
\index{gst\_tensor\_rate\_push\_buffer@{gst\_tensor\_rate\_push\_buffer}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_push\_buffer()}{gst\_tensor\_rate\_push\_buffer()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+rate\+\_\+push\+\_\+buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self,  }\item[{Gst\+Buffer $\ast$}]{outbuf,  }\item[{gboolean}]{duplicate,  }\item[{Gst\+Clock\+Time}]{next\+\_\+intime }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



push the buffer to src pad 

There must always be a valid duration on prevbuf if rate $>$ 0, it is ensured in the transform\+\_\+ip function

Definition at line 202 of file gsttensor\+\_\+rate.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=295pt]{gsttensor__rate_8c_ae61157ab04760c22352dffb7f54ce566_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_ae61157ab04760c22352dffb7f54ce566_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_abfb0c2d9316daa9590cb68af07915208}\label{gsttensor__rate_8c_abfb0c2d9316daa9590cb68af07915208}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_reset@{gst\_tensor\_rate\_reset}}
\index{gst\_tensor\_rate\_reset@{gst\_tensor\_rate\_reset}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_reset()}{gst\_tensor\_rate\_reset()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+rate\+\_\+reset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



reset variables of the element (G\+ST Standard) 



Definition at line 295 of file gsttensor\+\_\+rate.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_abfb0c2d9316daa9590cb68af07915208_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_abfb0c2d9316daa9590cb68af07915208_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_afdd8a1b4a4c21a1707640ade88b8e3d8}\label{gsttensor__rate_8c_afdd8a1b4a4c21a1707640ade88b8e3d8}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_send\_qos\_throttle@{gst\_tensor\_rate\_send\_qos\_throttle}}
\index{gst\_tensor\_rate\_send\_qos\_throttle@{gst\_tensor\_rate\_send\_qos\_throttle}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_send\_qos\_throttle()}{gst\_tensor\_rate\_send\_qos\_throttle()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+rate\+\_\+send\+\_\+qos\+\_\+throttle (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self,  }\item[{Gst\+Clock\+Time}]{timestamp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



send throttling qos event to upstream elements 

unused

Definition at line 455 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_afdd8a1b4a4c21a1707640ade88b8e3d8_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_a3c535cd15a72f970387bff0f1f648820}\label{gsttensor__rate_8c_a3c535cd15a72f970387bff0f1f648820}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_set\_caps@{gst\_tensor\_rate\_set\_caps}}
\index{gst\_tensor\_rate\_set\_caps@{gst\_tensor\_rate\_set\_caps}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_set\_caps()}{gst\_tensor\_rate\_set\_caps()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+rate\+\_\+set\+\_\+caps (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans,  }\item[{Gst\+Caps $\ast$}]{incaps,  }\item[{Gst\+Caps $\ast$}]{outcaps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



set caps. required vmethod of Gst\+Base\+Transform. 

After a setcaps, our caps may have changed. In that case, we can\textquotesingle{}t use the old buffer, if there was one (it might have different dimensions)

Definition at line 705 of file gsttensor\+\_\+rate.\+c.

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



Definition at line 350 of file gsttensor\+\_\+rate.\+c.

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



Event handler for sink pad of tensor rate. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em trans} & \char`\"{}this\char`\"{} pointer \\
\hline
\mbox{\texttt{ in}}  & {\em event} & a passed event object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+UE if there is no error. 
\end{DoxyReturn}
fill up to the end of current segment, or only send out the stored buffer if there is no specific stop. regardless, prevent going loopy in strange cases

fill up to the end of current segment, or only send out the stored buffer if there is no specific stop. regardless, prevent going loopy in strange cases

Output at least one frame but if the buffer duration is valid, output enough frames to use the complete buffer duration

Definition at line 781 of file gsttensor\+\_\+rate.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a4922ce2ee7a08f063f6aec5273af4bad_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a4922ce2ee7a08f063f6aec5273af4bad_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_af78c2cca4ea66b89cb55f3771e5d1fcd}\label{gsttensor__rate_8c_af78c2cca4ea66b89cb55f3771e5d1fcd}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_start@{gst\_tensor\_rate\_start}}
\index{gst\_tensor\_rate\_start@{gst\_tensor\_rate\_start}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_start()}{gst\_tensor\_rate\_start()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+rate\+\_\+start (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Called when the element starts processing. optional vmethod of Base\+Transform. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em trans} & \char`\"{}this\char`\"{} pointer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+UE if there is no error. 
\end{DoxyReturn}


Definition at line 928 of file gsttensor\+\_\+rate.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_af78c2cca4ea66b89cb55f3771e5d1fcd_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_af78c2cca4ea66b89cb55f3771e5d1fcd_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_a868ccdb4effa940ecf3a27ef0deef1cc}\label{gsttensor__rate_8c_a868ccdb4effa940ecf3a27ef0deef1cc}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_stop@{gst\_tensor\_rate\_stop}}
\index{gst\_tensor\_rate\_stop@{gst\_tensor\_rate\_stop}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_stop()}{gst\_tensor\_rate\_stop()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+tensor\+\_\+rate\+\_\+stop (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Called when the element stops processing. optional vmethod of Base\+Transform. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em trans} & \char`\"{}this\char`\"{} pointer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
T\+R\+UE if there is no error. 
\end{DoxyReturn}


Definition at line 941 of file gsttensor\+\_\+rate.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a868ccdb4effa940ecf3a27ef0deef1cc_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_a868ccdb4effa940ecf3a27ef0deef1cc_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_abff5234e65b1b029aec6eefde9ab01db}\label{gsttensor__rate_8c_abff5234e65b1b029aec6eefde9ab01db}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_swap\_prev@{gst\_tensor\_rate\_swap\_prev}}
\index{gst\_tensor\_rate\_swap\_prev@{gst\_tensor\_rate\_swap\_prev}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_swap\_prev()}{gst\_tensor\_rate\_swap\_prev()}}
{\footnotesize\ttfamily static void gst\+\_\+tensor\+\_\+rate\+\_\+swap\+\_\+prev (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gsttensor__rate_8h_af001d83623b1c7547d9e24bc98c4efc5}{Gst\+Tensor\+Rate}} $\ast$}]{self,  }\item[{Gst\+Buffer $\ast$}]{buffer,  }\item[{gint64}]{time }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



swap a previous buffer 



Definition at line 280 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_abff5234e65b1b029aec6eefde9ab01db_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_ad28630b3c55835bee8a45b607e050ffa}\label{gsttensor__rate_8c_ad28630b3c55835bee8a45b607e050ffa}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_transform\_caps@{gst\_tensor\_rate\_transform\_caps}}
\index{gst\_tensor\_rate\_transform\_caps@{gst\_tensor\_rate\_transform\_caps}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_transform\_caps()}{gst\_tensor\_rate\_transform\_caps()}}
{\footnotesize\ttfamily static Gst\+Caps $\ast$ gst\+\_\+tensor\+\_\+rate\+\_\+transform\+\_\+caps (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans,  }\item[{Gst\+Pad\+Direction}]{direction,  }\item[{Gst\+Caps $\ast$}]{caps,  }\item[{Gst\+Caps $\ast$}]{filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



configure tensor-\/srcpad cap from \char`\"{}proposed\char`\"{} cap. (G\+ST Standard) 

@trans (\char`\"{}this\char`\"{} pointer) @direction (why do we need this?) @caps sinkpad cap (if direction G\+S\+T\+\_\+\+P\+A\+D\+\_\+\+S\+I\+NK) @filter this element\textquotesingle{}s cap (don\textquotesingle{}t know specifically.)

Be careful not to fix/set caps at this stage. Negotiation not completed yet. 

Definition at line 634 of file gsttensor\+\_\+rate.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__rate_8c_ad28630b3c55835bee8a45b607e050ffa_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gsttensor__rate_8c_a756a8225f005a96e139f655eec5fcde6}\label{gsttensor__rate_8c_a756a8225f005a96e139f655eec5fcde6}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!gst\_tensor\_rate\_transform\_ip@{gst\_tensor\_rate\_transform\_ip}}
\index{gst\_tensor\_rate\_transform\_ip@{gst\_tensor\_rate\_transform\_ip}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_rate\_transform\_ip()}{gst\_tensor\_rate\_transform\_ip()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+tensor\+\_\+rate\+\_\+transform\+\_\+ip (\begin{DoxyParamCaption}\item[{Gst\+Base\+Transform $\ast$}]{trans,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



in-\/place transform 

continue while the first one was the best, if they were equal avoid going into an infinite loop

Definition at line 477 of file gsttensor\+\_\+rate.\+c.

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


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{gsttensor__rate_8c_a9ca6b0b50eeca0f5c3dc2409ccbba79b}\label{gsttensor__rate_8c_a9ca6b0b50eeca0f5c3dc2409ccbba79b}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!pspec\_drop@{pspec\_drop}}
\index{pspec\_drop@{pspec\_drop}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{pspec\_drop}{pspec\_drop}}
{\footnotesize\ttfamily G\+Param\+Spec$\ast$ pspec\+\_\+drop = N\+U\+LL\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 107 of file gsttensor\+\_\+rate.\+c.

\mbox{\Hypertarget{gsttensor__rate_8c_a25a8b8ed37c58672ad4d3eb68b52e3bd}\label{gsttensor__rate_8c_a25a8b8ed37c58672ad4d3eb68b52e3bd}} 
\index{gsttensor\_rate.c@{gsttensor\_rate.c}!pspec\_duplicate@{pspec\_duplicate}}
\index{pspec\_duplicate@{pspec\_duplicate}!gsttensor\_rate.c@{gsttensor\_rate.c}}
\doxysubsubsection{\texorpdfstring{pspec\_duplicate}{pspec\_duplicate}}
{\footnotesize\ttfamily G\+Param\+Spec$\ast$ pspec\+\_\+duplicate = N\+U\+LL\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 108 of file gsttensor\+\_\+rate.\+c.

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

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

\end{DoxyCode}


The capabilities of the inputs. 



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

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

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

\end{DoxyCode}


The capabilities of the outputs. 



Definition at line 102 of file gsttensor\+\_\+rate.\+c.

