\hypertarget{gstdatareposink_8c}{}\doxysection{datarepo/gstdatareposink.c File Reference}
\label{gstdatareposink_8c}\index{datarepo/gstdatareposink.c@{datarepo/gstdatareposink.c}}


G\+Streamer plugin that writes data from buffers to files in in M\+L\+Ops Data repository.  


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$gst/video/video-\/info.\+h$>$}\newline
{\ttfamily \#include $<$gst/audio/audio-\/info.\+h$>$}\newline
{\ttfamily \#include $<$glib/gstdio.\+h$>$}\newline
{\ttfamily \#include $<$sys/types.\+h$>$}\newline
{\ttfamily \#include $<$fcntl.\+h$>$}\newline
{\ttfamily \#include $<$unistd.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+plugin\+\_\+api.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+common.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+util.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gstdatareposink.\+h\char`\"{}}\newline
Include dependency graph for gstdatareposink.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a4b98bde5cbae1bcb6aa3aacd244336f1}{T\+E\+N\+S\+O\+R\+\_\+\+C\+A\+PS}}~\mbox{\hyperlink{tensor__typedef_8h_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible, sparse \}\char`\"{})
\begin{DoxyCompactList}\small\item\em Tensors caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_af5415fd51214c6368e73356fd7723b04}{S\+U\+P\+P\+O\+R\+T\+E\+D\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+O\+R\+M\+AT}}~\char`\"{}\{R\+GB, B\+GR, R\+G\+Bx, B\+G\+Rx, x\+R\+GB, x\+B\+GR, R\+G\+BA, B\+G\+RA, A\+R\+GB, A\+B\+GR, G\+R\+A\+Y8\}\char`\"{}
\begin{DoxyCompactList}\small\item\em Video caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_aeaa638ce95411ff4a4281de368cefdf2}{V\+I\+D\+E\+O\+\_\+\+C\+A\+PS}}
\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a5c5b7d96b484a5e3c356f4afe055848f}{S\+U\+P\+P\+O\+R\+T\+E\+D\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+AT}}~\char`\"{}\{S8, U8, S16\+LE, S16\+BE, U16\+LE, U16\+BE, S32\+LE, S32\+BE, U32\+LE, U32\+BE, F32\+LE, F32\+BE, F64\+LE, F64\+BE\}\char`\"{}
\begin{DoxyCompactList}\small\item\em Audio caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a12470bcb34883d580a09f1a52a3f9d0c}{A\+U\+D\+I\+O\+\_\+\+C\+A\+PS}}
\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_adc47e43b04108369d24a2c5f531dc814}{T\+E\+X\+T\+\_\+\+C\+A\+PS}}~\char`\"{}text/x-\/raw, format = (string) utf8\char`\"{}
\begin{DoxyCompactList}\small\item\em Text caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_ad50c88995a237572fdf3954ed218d5aa}{O\+C\+T\+E\+T\+\_\+\+C\+A\+PS}}~\char`\"{}application/octet-\/stream\char`\"{}
\begin{DoxyCompactList}\small\item\em Octet caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a0e42ae4251a3b9bca6e125d52369c89e}{I\+M\+A\+G\+E\+\_\+\+C\+A\+PS}}
\begin{DoxyCompactList}\small\item\em Image caps. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_adef911caed7c65a1643062817f4a59d7}{G\+S\+T\+\_\+\+C\+A\+T\+\_\+\+D\+E\+F\+A\+U\+LT}}~gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug
\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a70de8f8a513e09180d5cc4d43234d810}{\+\_\+do\+\_\+init}}~G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+I\+N\+IT (gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug, \char`\"{}datareposink\char`\"{}, 0, \char`\"{}datareposink element\char`\"{});
\item 
\#define \mbox{\hyperlink{gstdatareposink_8c_a0d79b9e3c9fc0b7e623c2f4d10153a40}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+parent\+\_\+class}}~parent\+\_\+class
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \mbox{\hyperlink{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55bac37dda0da1a44e10c0504afeeb863f3c}{P\+R\+O\+P\+\_\+0}}, 
\mbox{\hyperlink{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55ba7da7698ebac1cf04e93c256dcca160e9}{P\+R\+O\+P\+\_\+\+L\+O\+C\+A\+T\+I\+ON}}, 
\mbox{\hyperlink{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55badaf55f925531da77c512db37656dcf8a}{P\+R\+O\+P\+\_\+\+J\+S\+ON}}
 \}
\begin{DoxyCompactList}\small\item\em datareposink properties. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{gstdatareposink_8c_a6e7a0bc59529203f58659800ced1719c}{G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+T\+A\+T\+IC}} (gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug)
\item 
\mbox{\hyperlink{gstdatareposink_8c_a41e2bce5464e1aa79fe1e995c2f08ed3}{G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+W\+I\+T\+H\+\_\+\+C\+O\+DE}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}}, gst\+\_\+data\+\_\+repo\+\_\+sink, G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+S\+I\+NK, \mbox{\hyperlink{gstdatareposrc_8c_a70de8f8a513e09180d5cc4d43234d810}{\+\_\+do\+\_\+init}})
\item 
static void \mbox{\hyperlink{gstdatareposink_8c_a78bb19f42f766114b3c9efb4ac484d5f}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, const G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Setter for datareposink properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gstdatareposink_8c_a3bc5e8d2a5eca71b7bab36512b50f59a}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+property}} (G\+Object $\ast$object, guint prop\+\_\+id, G\+Value $\ast$value, G\+Param\+Spec $\ast$pspec)
\begin{DoxyCompactList}\small\item\em Getter datareposink properties. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gstdatareposink_8c_a2430c0c1775cdd7cb84024d4f823bf15}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+finalize}} (G\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em finalize datareposink. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_a9d56cc2b00a98e5314222371ac96f9ea}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+stop}} (Gst\+Base\+Sink $\ast$basesink)
\begin{DoxyCompactList}\small\item\em Stop datareposink. \end{DoxyCompactList}\item 
static Gst\+State\+Change\+Return \mbox{\hyperlink{gstdatareposink_8c_a6b71fe0f6b1d70971b1f0a9742976fe1}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+change\+\_\+state}} (Gst\+Element $\ast$element, Gst\+State\+Change transition)
\begin{DoxyCompactList}\small\item\em Change state of datareposink. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gstdatareposink_8c_ae0884eed99d9a617aae3c9bb443c2024}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+render}} (Gst\+Base\+Sink $\ast$bsink, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Called when a buffer should be presented or output. \end{DoxyCompactList}\item 
static Gst\+Caps $\ast$ \mbox{\hyperlink{gstdatareposink_8c_a1a4ff2b68a6e908ec66c5c84e7cabf9c}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+caps}} (Gst\+Base\+Sink $\ast$bsink, Gst\+Caps $\ast$filter)
\begin{DoxyCompactList}\small\item\em Get caps of datareposink. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_a56b6a2e872a182f1d89cd2456e931bda}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+caps}} (Gst\+Base\+Sink $\ast$bsink, Gst\+Caps $\ast$caps)
\begin{DoxyCompactList}\small\item\em Set caps of datareposink. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_af73c68f509931b301748079317c5bd08}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+query}} (Gst\+Base\+Sink $\ast$bsink, Gst\+Query $\ast$query)
\begin{DoxyCompactList}\small\item\em Perform a Gst\+Query on datareposink. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gstdatareposink_8c_a850dfc8879cdacc629fc72d4c696c40a}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+class\+\_\+init}} (\mbox{\hyperlink{gstdatareposink_8h_a31038e0f435993c5afc567e408841de0}{Gst\+Data\+Repo\+Sink\+Class}} $\ast$klass)
\begin{DoxyCompactList}\small\item\em Initialize datareposink class. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gstdatareposink_8c_ad99f0c11793917a6854beae00bc2e23c}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+init}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink)
\begin{DoxyCompactList}\small\item\em Initialize datareposink. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gstdatareposink_8c_a506782f34a7c5850b2a5167b4aea4c59}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+others}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Function to write others media type (tensors(fixed), video, audio, octet and text) \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gstdatareposink_8c_a704ac7f8d3a4c13209067e03c8081ca2}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+flexible\+\_\+or\+\_\+sparse\+\_\+tensors}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Function to write flexible tensors or sparse tensors. \end{DoxyCompactList}\item 
static gchar $\ast$ \mbox{\hyperlink{gstdatareposink_8c_a6359ce10e1bbfb25d459776fa4a577c9}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+image\+\_\+filename}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink)
\begin{DoxyCompactList}\small\item\em Get image filename. \end{DoxyCompactList}\item 
static Gst\+Flow\+Return \mbox{\hyperlink{gstdatareposink_8c_ab17aea03d96ab92169a45d1944141f48}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+multi\+\_\+images}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink, Gst\+Buffer $\ast$buffer)
\begin{DoxyCompactList}\small\item\em Function to read multi image files. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{gstdatareposink_8c_aeee690221282a375ede30ec42bb6d852}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+is\+\_\+static\+\_\+tensors}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink)
\begin{DoxyCompactList}\small\item\em Set whether the given pad caps are static or not. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_a808786ff4f741780f2df07073df30ef9}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+open\+\_\+file}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink)
\begin{DoxyCompactList}\small\item\em Function to open file. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_aeb66f27f41404969ccdedab7171efff3}{\+\_\+\+\_\+write\+\_\+json}} (Json\+Object $\ast$object, const gchar $\ast$filename)
\begin{DoxyCompactList}\small\item\em Write json to file. \end{DoxyCompactList}\item 
static gboolean \mbox{\hyperlink{gstdatareposink_8c_ada9eda02cbd0001a0305621dc4a22a55}{gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+json\+\_\+meta\+\_\+file}} (\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$sink)
\begin{DoxyCompactList}\small\item\em write the meta information to a J\+S\+ON file \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static Gst\+Static\+Pad\+Template \mbox{\hyperlink{gstdatareposink_8c_ab75bedfae592f4c227c74da883483be6}{sinktemplate}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin that writes data from buffers to files in in M\+L\+Ops Data repository. 

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

\begin{DoxyDate}{Date}
30 March 2023 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Hyunil Park \href{mailto:hyunil46.park@samsung.com}{\texttt{ hyunil46.\+park@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000003}{Bug}}]No known bugs except for N\+YI items\end{DoxyRefDesc}


//! Example launch line $\vert$\mbox{[} gst-\/launch-\/1.\+0 videotestsrc ! datareposink location=filename json=video.\+json gst-\/launch-\/1.\+0 videotestsrc ! pngenc ! datareposink location=image\+\_\+\%02d.\+png json=video.\+json gst-\/launch-\/1.\+0 audiotestsrc samplesperbuffer=44100 ! audio/x-\/raw, format=S16\+LE, layout=interleaved, rate=44100, channels=1 ! \textbackslash{} datareposink location=filename json=audio.\+json gst-\/launch-\/1.\+0 datareposrc location=file.\+dat json=file.\+json tensors-\/sequence=2,3 start-\/sample-\/index=0 stop-\/sample-\/index=199 epochs=1 ! \textbackslash{} other/tensors, format=static, num\+\_\+tensors=2, framerate=0/1, dimensions=1\+:1\+:784\+:1.\+1\+:1\+:10\+:1, types=float32.\+float32 ! \textbackslash{} datareposink location=hyunil.\+dat json=file.\+json \mbox{]}$\vert$

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

\begin{DoxyDate}{Date}
30 March 2023 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Hyunil Park \href{mailto:hyunil46.park@samsung.com}{\texttt{ hyunil46.\+park@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000004}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gstdatareposink_8c_a70de8f8a513e09180d5cc4d43234d810}\label{gstdatareposink_8c_a70de8f8a513e09180d5cc4d43234d810}} 
\index{gstdatareposink.c@{gstdatareposink.c}!\_do\_init@{\_do\_init}}
\index{\_do\_init@{\_do\_init}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{\_do\_init}{\_do\_init}}
{\footnotesize\ttfamily \#define \+\_\+do\+\_\+init~G\+S\+T\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+I\+N\+IT (gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug, \char`\"{}datareposink\char`\"{}, 0, \char`\"{}datareposink element\char`\"{});}



Definition at line 92 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a12470bcb34883d580a09f1a52a3f9d0c}\label{gstdatareposink_8c_a12470bcb34883d580a09f1a52a3f9d0c}} 
\index{gstdatareposink.c@{gstdatareposink.c}!AUDIO\_CAPS@{AUDIO\_CAPS}}
\index{AUDIO\_CAPS@{AUDIO\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{AUDIO\_CAPS}{AUDIO\_CAPS}}
{\footnotesize\ttfamily \#define A\+U\+D\+I\+O\+\_\+\+C\+A\+PS}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  GST\_AUDIO\_CAPS\_MAKE (\mbox{\hyperlink{gstdatareposink_8c_a5c5b7d96b484a5e3c356f4afe055848f}{SUPPORTED\_AUDIO\_FORMAT}}) \textcolor{stringliteral}{","} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"layout = (string) interleaved"}}

\end{DoxyCode}


Definition at line 55 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_adef911caed7c65a1643062817f4a59d7}\label{gstdatareposink_8c_adef911caed7c65a1643062817f4a59d7}} 
\index{gstdatareposink.c@{gstdatareposink.c}!GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}}
\index{GST\_CAT\_DEFAULT@{GST\_CAT\_DEFAULT}!gstdatareposink.c@{gstdatareposink.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\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug}



Definition at line 91 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a0d79b9e3c9fc0b7e623c2f4d10153a40}\label{gstdatareposink_8c_a0d79b9e3c9fc0b7e623c2f4d10153a40}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_parent\_class@{gst\_data\_repo\_sink\_parent\_class}}
\index{gst\_data\_repo\_sink\_parent\_class@{gst\_data\_repo\_sink\_parent\_class}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_parent\_class}{gst\_data\_repo\_sink\_parent\_class}}
{\footnotesize\ttfamily \#define gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+parent\+\_\+class~parent\+\_\+class}



Definition at line 94 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a0e42ae4251a3b9bca6e125d52369c89e}\label{gstdatareposink_8c_a0e42ae4251a3b9bca6e125d52369c89e}} 
\index{gstdatareposink.c@{gstdatareposink.c}!IMAGE\_CAPS@{IMAGE\_CAPS}}
\index{IMAGE\_CAPS@{IMAGE\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{IMAGE\_CAPS}{IMAGE\_CAPS}}
{\footnotesize\ttfamily \#define I\+M\+A\+G\+E\+\_\+\+C\+A\+PS}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{stringliteral}{"image/png, width = (int) [ 16, 1000000 ], height = (int) [ 16, 1000000 ], framerate = (fraction) [ 0/1, MAX];"} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"image/jpeg, width = (int) [ 16, 65535 ], height = (int) [ 16, 65535 ], framerate = (fraction) [ 0/1, MAX], sof-\/marker = (int) \{ 0, 1, 2, 4, 9 \};"} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"image/tiff, endianness = (int) \{ BIG\_ENDIAN, LITTLE\_ENDIAN \};"} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"image/gif;"} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"image/bmp"}}

\end{DoxyCode}


Image caps. 



Definition at line 68 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_ad50c88995a237572fdf3954ed218d5aa}\label{gstdatareposink_8c_ad50c88995a237572fdf3954ed218d5aa}} 
\index{gstdatareposink.c@{gstdatareposink.c}!OCTET\_CAPS@{OCTET\_CAPS}}
\index{OCTET\_CAPS@{OCTET\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{OCTET\_CAPS}{OCTET\_CAPS}}
{\footnotesize\ttfamily \#define O\+C\+T\+E\+T\+\_\+\+C\+A\+PS~\char`\"{}application/octet-\/stream\char`\"{}}



Octet caps. 



Definition at line 64 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a5c5b7d96b484a5e3c356f4afe055848f}\label{gstdatareposink_8c_a5c5b7d96b484a5e3c356f4afe055848f}} 
\index{gstdatareposink.c@{gstdatareposink.c}!SUPPORTED\_AUDIO\_FORMAT@{SUPPORTED\_AUDIO\_FORMAT}}
\index{SUPPORTED\_AUDIO\_FORMAT@{SUPPORTED\_AUDIO\_FORMAT}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{SUPPORTED\_AUDIO\_FORMAT}{SUPPORTED\_AUDIO\_FORMAT}}
{\footnotesize\ttfamily \#define S\+U\+P\+P\+O\+R\+T\+E\+D\+\_\+\+A\+U\+D\+I\+O\+\_\+\+F\+O\+R\+M\+AT~\char`\"{}\{S8, U8, S16\+LE, S16\+BE, U16\+LE, U16\+BE, S32\+LE, S32\+BE, U32\+LE, U32\+BE, F32\+LE, F32\+BE, F64\+LE, F64\+BE\}\char`\"{}}



Audio caps. 



Definition at line 53 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_af5415fd51214c6368e73356fd7723b04}\label{gstdatareposink_8c_af5415fd51214c6368e73356fd7723b04}} 
\index{gstdatareposink.c@{gstdatareposink.c}!SUPPORTED\_VIDEO\_FORMAT@{SUPPORTED\_VIDEO\_FORMAT}}
\index{SUPPORTED\_VIDEO\_FORMAT@{SUPPORTED\_VIDEO\_FORMAT}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{SUPPORTED\_VIDEO\_FORMAT}{SUPPORTED\_VIDEO\_FORMAT}}
{\footnotesize\ttfamily \#define S\+U\+P\+P\+O\+R\+T\+E\+D\+\_\+\+V\+I\+D\+E\+O\+\_\+\+F\+O\+R\+M\+AT~\char`\"{}\{R\+GB, B\+GR, R\+G\+Bx, B\+G\+Rx, x\+R\+GB, x\+B\+GR, R\+G\+BA, B\+G\+RA, A\+R\+GB, A\+B\+GR, G\+R\+A\+Y8\}\char`\"{}}



Video caps. 



Definition at line 46 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a4b98bde5cbae1bcb6aa3aacd244336f1}\label{gstdatareposink_8c_a4b98bde5cbae1bcb6aa3aacd244336f1}} 
\index{gstdatareposink.c@{gstdatareposink.c}!TENSOR\_CAPS@{TENSOR\_CAPS}}
\index{TENSOR\_CAPS@{TENSOR\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{TENSOR\_CAPS}{TENSOR\_CAPS}}
{\footnotesize\ttfamily \#define T\+E\+N\+S\+O\+R\+\_\+\+C\+A\+PS~\mbox{\hyperlink{tensor__typedef_8h_a23fa98afadf9e35f428d8d56b739b233}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+S\+\_\+\+C\+A\+P\+\_\+\+M\+A\+KE}} (\char`\"{}\{ static, flexible, sparse \}\char`\"{})}



Tensors caps. 



Definition at line 42 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_adc47e43b04108369d24a2c5f531dc814}\label{gstdatareposink_8c_adc47e43b04108369d24a2c5f531dc814}} 
\index{gstdatareposink.c@{gstdatareposink.c}!TEXT\_CAPS@{TEXT\_CAPS}}
\index{TEXT\_CAPS@{TEXT\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{TEXT\_CAPS}{TEXT\_CAPS}}
{\footnotesize\ttfamily \#define T\+E\+X\+T\+\_\+\+C\+A\+PS~\char`\"{}text/x-\/raw, format = (string) utf8\char`\"{}}



Text caps. 



Definition at line 60 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_aeaa638ce95411ff4a4281de368cefdf2}\label{gstdatareposink_8c_aeaa638ce95411ff4a4281de368cefdf2}} 
\index{gstdatareposink.c@{gstdatareposink.c}!VIDEO\_CAPS@{VIDEO\_CAPS}}
\index{VIDEO\_CAPS@{VIDEO\_CAPS}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{VIDEO\_CAPS}{VIDEO\_CAPS}}
{\footnotesize\ttfamily \#define V\+I\+D\+E\+O\+\_\+\+C\+A\+PS}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  GST\_VIDEO\_CAPS\_MAKE (\mbox{\hyperlink{gstdatareposink_8c_af5415fd51214c6368e73356fd7723b04}{SUPPORTED\_VIDEO\_FORMAT}}) \textcolor{stringliteral}{","} \(\backslash\)}
\DoxyCodeLine{  \textcolor{stringliteral}{"interlace-\/mode = (string) progressive"}}

\end{DoxyCode}


Definition at line 48 of file gstdatareposink.\+c.



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



datareposink properties. 

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

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_LOCATION@{PROP\_LOCATION}!gstdatareposink.c@{gstdatareposink.c}}\index{gstdatareposink.c@{gstdatareposink.c}!PROP\_LOCATION@{PROP\_LOCATION}}}\mbox{\Hypertarget{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55ba7da7698ebac1cf04e93c256dcca160e9}\label{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55ba7da7698ebac1cf04e93c256dcca160e9}} 
P\+R\+O\+P\+\_\+\+L\+O\+C\+A\+T\+I\+ON&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{PROP\_JSON@{PROP\_JSON}!gstdatareposink.c@{gstdatareposink.c}}\index{gstdatareposink.c@{gstdatareposink.c}!PROP\_JSON@{PROP\_JSON}}}\mbox{\Hypertarget{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55badaf55f925531da77c512db37656dcf8a}\label{gstdatareposink_8c_a06fc87d81c62e9abb8790b6e5713c55badaf55f925531da77c512db37656dcf8a}} 
P\+R\+O\+P\+\_\+\+J\+S\+ON&\\
\hline

\end{DoxyEnumFields}


Definition at line 83 of file gstdatareposink.\+c.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gstdatareposink_8c_aeb66f27f41404969ccdedab7171efff3}\label{gstdatareposink_8c_aeb66f27f41404969ccdedab7171efff3}} 
\index{gstdatareposink.c@{gstdatareposink.c}!\_\_write\_json@{\_\_write\_json}}
\index{\_\_write\_json@{\_\_write\_json}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{\_\_write\_json()}{\_\_write\_json()}}
{\footnotesize\ttfamily static gboolean \+\_\+\+\_\+write\+\_\+json (\begin{DoxyParamCaption}\item[{Json\+Object $\ast$}]{object,  }\item[{const gchar $\ast$}]{filename }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write json to file. 



Definition at line 668 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=268pt]{gstdatareposink_8c_aeb66f27f41404969ccdedab7171efff3_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_aeb66f27f41404969ccdedab7171efff3_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a41e2bce5464e1aa79fe1e995c2f08ed3}\label{gstdatareposink_8c_a41e2bce5464e1aa79fe1e995c2f08ed3}} 
\index{gstdatareposink.c@{gstdatareposink.c}!G\_DEFINE\_TYPE\_WITH\_CODE@{G\_DEFINE\_TYPE\_WITH\_CODE}}
\index{G\_DEFINE\_TYPE\_WITH\_CODE@{G\_DEFINE\_TYPE\_WITH\_CODE}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{G\_DEFINE\_TYPE\_WITH\_CODE()}{G\_DEFINE\_TYPE\_WITH\_CODE()}}
{\footnotesize\ttfamily G\+\_\+\+D\+E\+F\+I\+N\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+W\+I\+T\+H\+\_\+\+C\+O\+DE (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}}}]{,  }\item[{gst\+\_\+data\+\_\+repo\+\_\+sink}]{,  }\item[{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+S\+E\+\_\+\+S\+I\+NK}]{,  }\item[{\mbox{\hyperlink{gstdatareposrc_8c_a70de8f8a513e09180d5cc4d43234d810}{\+\_\+do\+\_\+init}}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gstdatareposink_8c_a6b71fe0f6b1d70971b1f0a9742976fe1}\label{gstdatareposink_8c_a6b71fe0f6b1d70971b1f0a9742976fe1}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_change\_state@{gst\_data\_repo\_sink\_change\_state}}
\index{gst\_data\_repo\_sink\_change\_state@{gst\_data\_repo\_sink\_change\_state}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_change\_state()}{gst\_data\_repo\_sink\_change\_state()}}
{\footnotesize\ttfamily static Gst\+State\+Change\+Return gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+change\+\_\+state (\begin{DoxyParamCaption}\item[{Gst\+Element $\ast$}]{element,  }\item[{Gst\+State\+Change}]{transition }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Change state of datareposink. 



Definition at line 750 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a6b71fe0f6b1d70971b1f0a9742976fe1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a6b71fe0f6b1d70971b1f0a9742976fe1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a850dfc8879cdacc629fc72d4c696c40a}\label{gstdatareposink_8c_a850dfc8879cdacc629fc72d4c696c40a}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_class\_init@{gst\_data\_repo\_sink\_class\_init}}
\index{gst\_data\_repo\_sink\_class\_init@{gst\_data\_repo\_sink\_class\_init}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_class\_init()}{gst\_data\_repo\_sink\_class\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+class\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_a31038e0f435993c5afc567e408841de0}{Gst\+Data\+Repo\+Sink\+Class}} $\ast$}]{klass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Initialize datareposink class. 



Definition at line 118 of file gstdatareposink.\+c.

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



finalize datareposink. 



Definition at line 195 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=274pt]{gstdatareposink_8c_a2430c0c1775cdd7cb84024d4f823bf15_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a2430c0c1775cdd7cb84024d4f823bf15_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a1a4ff2b68a6e908ec66c5c84e7cabf9c}\label{gstdatareposink_8c_a1a4ff2b68a6e908ec66c5c84e7cabf9c}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_get\_caps@{gst\_data\_repo\_sink\_get\_caps}}
\index{gst\_data\_repo\_sink\_get\_caps@{gst\_data\_repo\_sink\_get\_caps}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_get\_caps()}{gst\_data\_repo\_sink\_get\_caps()}}
{\footnotesize\ttfamily static Gst\+Caps $\ast$ gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+caps (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{bsink,  }\item[{Gst\+Caps $\ast$}]{filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get caps of datareposink. 



Definition at line 494 of file gstdatareposink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a1a4ff2b68a6e908ec66c5c84e7cabf9c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a6359ce10e1bbfb25d459776fa4a577c9}\label{gstdatareposink_8c_a6359ce10e1bbfb25d459776fa4a577c9}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_get\_image\_filename@{gst\_data\_repo\_sink\_get\_image\_filename}}
\index{gst\_data\_repo\_sink\_get\_image\_filename@{gst\_data\_repo\_sink\_get\_image\_filename}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_get\_image\_filename()}{gst\_data\_repo\_sink\_get\_image\_filename()}}
{\footnotesize\ttfamily static gchar$\ast$ gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+image\+\_\+filename (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get image filename. 



Definition at line 400 of file gstdatareposink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a6359ce10e1bbfb25d459776fa4a577c9_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a3bc5e8d2a5eca71b7bab36512b50f59a}\label{gstdatareposink_8c_a3bc5e8d2a5eca71b7bab36512b50f59a}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_get\_property@{gst\_data\_repo\_sink\_get\_property}}
\index{gst\_data\_repo\_sink\_get\_property@{gst\_data\_repo\_sink\_get\_property}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_get\_property()}{gst\_data\_repo\_sink\_get\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+get\+\_\+property (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object,  }\item[{guint}]{prop\+\_\+id,  }\item[{G\+Value $\ast$}]{value,  }\item[{G\+Param\+Spec $\ast$}]{pspec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Getter datareposink properties. 



Definition at line 251 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=335pt]{gstdatareposink_8c_a3bc5e8d2a5eca71b7bab36512b50f59a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a3bc5e8d2a5eca71b7bab36512b50f59a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_ad99f0c11793917a6854beae00bc2e23c}\label{gstdatareposink_8c_ad99f0c11793917a6854beae00bc2e23c}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_init@{gst\_data\_repo\_sink\_init}}
\index{gst\_data\_repo\_sink\_init@{gst\_data\_repo\_sink\_init}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_init()}{gst\_data\_repo\_sink\_init()}}
{\footnotesize\ttfamily static void gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Initialize datareposink. 



Definition at line 174 of file gstdatareposink.\+c.

\mbox{\Hypertarget{gstdatareposink_8c_a808786ff4f741780f2df07073df30ef9}\label{gstdatareposink_8c_a808786ff4f741780f2df07073df30ef9}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_open\_file@{gst\_data\_repo\_sink\_open\_file}}
\index{gst\_data\_repo\_sink\_open\_file@{gst\_data\_repo\_sink\_open\_file}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_open\_file()}{gst\_data\_repo\_sink\_open\_file()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+open\+\_\+file (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Function to open file. 



Definition at line 590 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=274pt]{gstdatareposink_8c_a808786ff4f741780f2df07073df30ef9_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a808786ff4f741780f2df07073df30ef9_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_af73c68f509931b301748079317c5bd08}\label{gstdatareposink_8c_af73c68f509931b301748079317c5bd08}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_query@{gst\_data\_repo\_sink\_query}}
\index{gst\_data\_repo\_sink\_query@{gst\_data\_repo\_sink\_query}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_query()}{gst\_data\_repo\_sink\_query()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+query (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{sink,  }\item[{Gst\+Query $\ast$}]{query }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Perform a Gst\+Query on datareposink. 



Definition at line 564 of file gstdatareposink.\+c.

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



Called when a buffer should be presented or output. 



Definition at line 467 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_ae0884eed99d9a617aae3c9bb443c2024_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_ae0884eed99d9a617aae3c9bb443c2024_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a56b6a2e872a182f1d89cd2456e931bda}\label{gstdatareposink_8c_a56b6a2e872a182f1d89cd2456e931bda}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_set\_caps@{gst\_data\_repo\_sink\_set\_caps}}
\index{gst\_data\_repo\_sink\_set\_caps@{gst\_data\_repo\_sink\_set\_caps}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_set\_caps()}{gst\_data\_repo\_sink\_set\_caps()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+caps (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{bsink,  }\item[{Gst\+Caps $\ast$}]{caps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set caps of datareposink. 



Definition at line 539 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a56b6a2e872a182f1d89cd2456e931bda_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a56b6a2e872a182f1d89cd2456e931bda_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_aeee690221282a375ede30ec42bb6d852}\label{gstdatareposink_8c_aeee690221282a375ede30ec42bb6d852}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_set\_is\_static\_tensors@{gst\_data\_repo\_sink\_set\_is\_static\_tensors}}
\index{gst\_data\_repo\_sink\_set\_is\_static\_tensors@{gst\_data\_repo\_sink\_set\_is\_static\_tensors}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_set\_is\_static\_tensors()}{gst\_data\_repo\_sink\_set\_is\_static\_tensors()}}
{\footnotesize\ttfamily static void gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+is\+\_\+static\+\_\+tensors (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set whether the given pad caps are static or not. 



Definition at line 520 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_aeee690221282a375ede30ec42bb6d852_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_aeee690221282a375ede30ec42bb6d852_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a78bb19f42f766114b3c9efb4ac484d5f}\label{gstdatareposink_8c_a78bb19f42f766114b3c9efb4ac484d5f}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_set\_property@{gst\_data\_repo\_sink\_set\_property}}
\index{gst\_data\_repo\_sink\_set\_property@{gst\_data\_repo\_sink\_set\_property}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_set\_property()}{gst\_data\_repo\_sink\_set\_property()}}
{\footnotesize\ttfamily static void gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+set\+\_\+property (\begin{DoxyParamCaption}\item[{G\+Object $\ast$}]{object,  }\item[{guint}]{prop\+\_\+id,  }\item[{const G\+Value $\ast$}]{value,  }\item[{G\+Param\+Spec $\ast$}]{pspec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Setter for datareposink properties. 



Definition at line 227 of file gstdatareposink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{gstdatareposink_8c_a78bb19f42f766114b3c9efb4ac484d5f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a9d56cc2b00a98e5314222371ac96f9ea}\label{gstdatareposink_8c_a9d56cc2b00a98e5314222371ac96f9ea}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_stop@{gst\_data\_repo\_sink\_stop}}
\index{gst\_data\_repo\_sink\_stop@{gst\_data\_repo\_sink\_stop}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_stop()}{gst\_data\_repo\_sink\_stop()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+stop (\begin{DoxyParamCaption}\item[{Gst\+Base\+Sink $\ast$}]{basesink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Stop datareposink. 



Definition at line 652 of file gstdatareposink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a9d56cc2b00a98e5314222371ac96f9ea_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a704ac7f8d3a4c13209067e03c8081ca2}\label{gstdatareposink_8c_a704ac7f8d3a4c13209067e03c8081ca2}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors@{gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors}}
\index{gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors@{gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors()}{gst\_data\_repo\_sink\_write\_flexible\_or\_sparse\_tensors()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+flexible\+\_\+or\+\_\+sparse\+\_\+tensors (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Function to write flexible tensors or sparse tensors. 



Definition at line 317 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a704ac7f8d3a4c13209067e03c8081ca2_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a704ac7f8d3a4c13209067e03c8081ca2_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_ada9eda02cbd0001a0305621dc4a22a55}\label{gstdatareposink_8c_ada9eda02cbd0001a0305621dc4a22a55}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_write\_json\_meta\_file@{gst\_data\_repo\_sink\_write\_json\_meta\_file}}
\index{gst\_data\_repo\_sink\_write\_json\_meta\_file@{gst\_data\_repo\_sink\_write\_json\_meta\_file}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_write\_json\_meta\_file()}{gst\_data\_repo\_sink\_write\_json\_meta\_file()}}
{\footnotesize\ttfamily static gboolean gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+json\+\_\+meta\+\_\+file (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



write the meta information to a J\+S\+ON file 



Definition at line 696 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_ada9eda02cbd0001a0305621dc4a22a55_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_ada9eda02cbd0001a0305621dc4a22a55_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_ab17aea03d96ab92169a45d1944141f48}\label{gstdatareposink_8c_ab17aea03d96ab92169a45d1944141f48}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_write\_multi\_images@{gst\_data\_repo\_sink\_write\_multi\_images}}
\index{gst\_data\_repo\_sink\_write\_multi\_images@{gst\_data\_repo\_sink\_write\_multi\_images}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_write\_multi\_images()}{gst\_data\_repo\_sink\_write\_multi\_images()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+multi\+\_\+images (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Function to read multi image files. 



Definition at line 424 of file gstdatareposink.\+c.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_ab17aea03d96ab92169a45d1944141f48_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_ab17aea03d96ab92169a45d1944141f48_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a506782f34a7c5850b2a5167b4aea4c59}\label{gstdatareposink_8c_a506782f34a7c5850b2a5167b4aea4c59}} 
\index{gstdatareposink.c@{gstdatareposink.c}!gst\_data\_repo\_sink\_write\_others@{gst\_data\_repo\_sink\_write\_others}}
\index{gst\_data\_repo\_sink\_write\_others@{gst\_data\_repo\_sink\_write\_others}!gstdatareposink.c@{gstdatareposink.c}}
\doxysubsubsection{\texorpdfstring{gst\_data\_repo\_sink\_write\_others()}{gst\_data\_repo\_sink\_write\_others()}}
{\footnotesize\ttfamily static Gst\+Flow\+Return gst\+\_\+data\+\_\+repo\+\_\+sink\+\_\+write\+\_\+others (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{gstdatareposink_8h_adceb99b5c28e88ea7efccb1e24c91daf}{Gst\+Data\+Repo\+Sink}} $\ast$}]{sink,  }\item[{Gst\+Buffer $\ast$}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Function to write others media type (tensors(fixed), video, audio, octet and text) 



Definition at line 275 of file gstdatareposink.\+c.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gstdatareposink_8c_a506782f34a7c5850b2a5167b4aea4c59_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{gstdatareposink_8c_a6e7a0bc59529203f58659800ced1719c}\label{gstdatareposink_8c_a6e7a0bc59529203f58659800ced1719c}} 
\index{gstdatareposink.c@{gstdatareposink.c}!GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}}
\index{GST\_DEBUG\_CATEGORY\_STATIC@{GST\_DEBUG\_CATEGORY\_STATIC}!gstdatareposink.c@{gstdatareposink.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\+\_\+data\+\_\+repo\+\_\+sink\+\_\+debug}]{ }\end{DoxyParamCaption})}



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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    GST\_STATIC\_PAD\_TEMPLATE (\textcolor{stringliteral}{"sink"}, GST\_PAD\_SINK, GST\_PAD\_ALWAYS,}
\DoxyCodeLine{    GST\_STATIC\_CAPS (\mbox{\hyperlink{gstdatareposink_8c_a4b98bde5cbae1bcb6aa3aacd244336f1}{TENSOR\_CAPS}} \textcolor{stringliteral}{";"} \mbox{\hyperlink{gstdatareposink_8c_aeaa638ce95411ff4a4281de368cefdf2}{VIDEO\_CAPS}} \textcolor{stringliteral}{";"} \mbox{\hyperlink{gstdatareposink_8c_a12470bcb34883d580a09f1a52a3f9d0c}{AUDIO\_CAPS}} \textcolor{stringliteral}{";"} \mbox{\hyperlink{gstdatareposink_8c_a0e42ae4251a3b9bca6e125d52369c89e}{IMAGE\_CAPS}}}
\DoxyCodeLine{        \textcolor{stringliteral}{";"} \mbox{\hyperlink{gstdatareposink_8c_adc47e43b04108369d24a2c5f531dc814}{TEXT\_CAPS}} \textcolor{stringliteral}{";"} \mbox{\hyperlink{gstdatareposink_8c_ad50c88995a237572fdf3954ed218d5aa}{OCTET\_CAPS}}))}

\end{DoxyCode}


Definition at line 75 of file gstdatareposink.\+c.

