\hypertarget{struct__GstTensorConverter}{}\doxysection{\+\_\+\+Gst\+Tensor\+Converter Struct Reference}
\label{struct__GstTensorConverter}\index{\_GstTensorConverter@{\_GstTensorConverter}}


Internal data structure for tensor\+\_\+converter instances.  




{\ttfamily \#include $<$gsttensor\+\_\+converter.\+h$>$}



Collaboration diagram for \+\_\+\+Gst\+Tensor\+Converter\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{struct__GstTensorConverter__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Gst\+Element \mbox{\hyperlink{struct__GstTensorConverter_a6a6f8b1188d5656dcbd06f72e3b356d5}{element}}
\item 
Gst\+Pad $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a3b5904c0bd1e5d8c425d6e115e0635a1}{sinkpad}}
\item 
Gst\+Pad $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a9157bd4eb7aa1d9be764171ec3dbb7b0}{srcpad}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_aa1bf3259eedb1c6c10378cfe14586ac2}{silent}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_aebd1d6d96bca253992f27017f8204677}{set\+\_\+timestamp}}
\item 
guint \mbox{\hyperlink{struct__GstTensorConverter_a88109ef52e63416f3804ee4610438885}{frames\+\_\+per\+\_\+tensor}}
\item 
\mbox{\hyperlink{structGstTensorsInfo}{Gst\+Tensors\+Info}} \mbox{\hyperlink{struct__GstTensorConverter_af1989c69c11c407ce3ebe715dc514284}{tensors\+\_\+info}}
\item 
G\+Hash\+Table $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a03529cda446753c9f055620d86c301e7}{adapter\+\_\+table}}
\item 
\mbox{\hyperlink{tensor__typedef_8h_a179b411a3defbc62047b1f892ff41f82}{media\+\_\+type}} \mbox{\hyperlink{struct__GstTensorConverter_a49fba305c554e0b7f94c75ff9b0e26c6}{in\+\_\+media\+\_\+type}}
\item 
const \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}} $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_ab2c0554b5d368220ed1794838fa9a32e}{external\+Converter}}
\item 
gsize \mbox{\hyperlink{struct__GstTensorConverter_a87775530aee01481278165dcc8b5c37c}{frame\+\_\+size}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_a0322d364f981e498824b3af600e6fa6a}{remove\+\_\+padding}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_a500bdb723b90972bb5c31c9a15fedff2}{tensors\+\_\+configured}}
\item 
\mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \mbox{\hyperlink{struct__GstTensorConverter_a4fbe738a5eb8f1389f739726b24d7ccc}{tensors\+\_\+config}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_a2cccf440529bda580379f4ff6d3e07ab}{have\+\_\+segment}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_a7be71f9cf98dc9d679acff547b70ca72}{need\+\_\+segment}}
\item 
Gst\+Segment \mbox{\hyperlink{struct__GstTensorConverter_a9f05065a985f26297f7bef057d8d3272}{segment}}
\item 
Gst\+Clock\+Time \mbox{\hyperlink{struct__GstTensorConverter_aeda048eb7b4762d456089d1d79f4bafe}{old\+\_\+timestamp}}
\item 
\mbox{\hyperlink{gsttensor__converter_8h_ad196141233d1dd6dd663c0947049474e}{tensor\+\_\+converter\+\_\+mode}} \mbox{\hyperlink{struct__GstTensorConverter_a828ce2840ae0f11a63d64afb6e03b3c1}{mode}}
\item 
gchar $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a79c21fd79077008bc3006db119c05632}{mode\+\_\+option}}
\item 
gchar $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a0540543a9ddb055883a0d640dd344032}{ext\+\_\+fw}}
\item 
\mbox{\hyperlink{structconverter__custom__cb__s}{converter\+\_\+custom\+\_\+cb\+\_\+s}} \mbox{\hyperlink{struct__GstTensorConverter_a25ecc6803d1f44561f144c079ce01167}{custom}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorConverter_adc7be1e8d88a27b56775ce98f9b5aa42}{do\+\_\+not\+\_\+append\+\_\+header}}
\item 
void $\ast$ \mbox{\hyperlink{struct__GstTensorConverter_a59bf610d82e49f55d6e508c6a087cf47}{priv\+\_\+data}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Internal data structure for tensor\+\_\+converter instances. 

Definition at line 75 of file gsttensor\+\_\+converter.\+h.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{struct__GstTensorConverter_a03529cda446753c9f055620d86c301e7}\label{struct__GstTensorConverter_a03529cda446753c9f055620d86c301e7}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!adapter\_table@{adapter\_table}}
\index{adapter\_table@{adapter\_table}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{adapter\_table}{adapter\_table}}
{\footnotesize\ttfamily G\+Hash\+Table$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::adapter\+\_\+table}

adapt incoming media stream 

Definition at line 87 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a25ecc6803d1f44561f144c079ce01167}\label{struct__GstTensorConverter_a25ecc6803d1f44561f144c079ce01167}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!custom@{custom}}
\index{custom@{custom}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{custom}{custom}}
{\footnotesize\ttfamily \mbox{\hyperlink{structconverter__custom__cb__s}{converter\+\_\+custom\+\_\+cb\+\_\+s}} \+\_\+\+Gst\+Tensor\+Converter\+::custom}



Definition at line 106 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_adc7be1e8d88a27b56775ce98f9b5aa42}\label{struct__GstTensorConverter_adc7be1e8d88a27b56775ce98f9b5aa42}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!do\_not\_append\_header@{do\_not\_append\_header}}
\index{do\_not\_append\_header@{do\_not\_append\_header}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{do\_not\_append\_header}{do\_not\_append\_header}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::do\+\_\+not\+\_\+append\+\_\+header}



Definition at line 107 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a6a6f8b1188d5656dcbd06f72e3b356d5}\label{struct__GstTensorConverter_a6a6f8b1188d5656dcbd06f72e3b356d5}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!element@{element}}
\index{element@{element}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{element}{element}}
{\footnotesize\ttfamily Gst\+Element \+\_\+\+Gst\+Tensor\+Converter\+::element}

parent object 

Definition at line 77 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a0540543a9ddb055883a0d640dd344032}\label{struct__GstTensorConverter_a0540543a9ddb055883a0d640dd344032}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!ext\_fw@{ext\_fw}}
\index{ext\_fw@{ext\_fw}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{ext\_fw}{ext\_fw}}
{\footnotesize\ttfamily gchar$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::ext\+\_\+fw}

tensor converter custom mode framework 

Definition at line 105 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_ab2c0554b5d368220ed1794838fa9a32e}\label{struct__GstTensorConverter_ab2c0554b5d368220ed1794838fa9a32e}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!externalConverter@{externalConverter}}
\index{externalConverter@{externalConverter}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{externalConverter}{externalConverter}}
{\footnotesize\ttfamily const \mbox{\hyperlink{nnstreamer__plugin__api__converter_8h_a52c66a5e49ab9fef29c094e061d14330}{N\+N\+Streamer\+External\+Converter}}$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::external\+Converter}

External\+Converter is used if in\+\_\+media\+\_\+type == \+\_\+\+N\+N\+S\+\_\+\+M\+E\+D\+I\+A\+\_\+\+P\+L\+U\+G\+I\+NS 

Definition at line 91 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a87775530aee01481278165dcc8b5c37c}\label{struct__GstTensorConverter_a87775530aee01481278165dcc8b5c37c}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!frame\_size@{frame\_size}}
\index{frame\_size@{frame\_size}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{frame\_size}{frame\_size}}
{\footnotesize\ttfamily gsize \+\_\+\+Gst\+Tensor\+Converter\+::frame\+\_\+size}

size of one frame 

Definition at line 93 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a88109ef52e63416f3804ee4610438885}\label{struct__GstTensorConverter_a88109ef52e63416f3804ee4610438885}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!frames\_per\_tensor@{frames\_per\_tensor}}
\index{frames\_per\_tensor@{frames\_per\_tensor}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{frames\_per\_tensor}{frames\_per\_tensor}}
{\footnotesize\ttfamily guint \+\_\+\+Gst\+Tensor\+Converter\+::frames\+\_\+per\+\_\+tensor}

number of frames in output tensor 

Definition at line 84 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a2cccf440529bda580379f4ff6d3e07ab}\label{struct__GstTensorConverter_a2cccf440529bda580379f4ff6d3e07ab}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!have\_segment@{have\_segment}}
\index{have\_segment@{have\_segment}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{have\_segment}{have\_segment}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::have\+\_\+segment}

True if received segment 

Definition at line 98 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a49fba305c554e0b7f94c75ff9b0e26c6}\label{struct__GstTensorConverter_a49fba305c554e0b7f94c75ff9b0e26c6}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!in\_media\_type@{in\_media\_type}}
\index{in\_media\_type@{in\_media\_type}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{in\_media\_type}{in\_media\_type}}
{\footnotesize\ttfamily \mbox{\hyperlink{tensor__typedef_8h_a179b411a3defbc62047b1f892ff41f82}{media\+\_\+type}} \+\_\+\+Gst\+Tensor\+Converter\+::in\+\_\+media\+\_\+type}

incoming media type 

Definition at line 89 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a828ce2840ae0f11a63d64afb6e03b3c1}\label{struct__GstTensorConverter_a828ce2840ae0f11a63d64afb6e03b3c1}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!mode@{mode}}
\index{mode@{mode}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{mode}{mode}}
{\footnotesize\ttfamily \mbox{\hyperlink{gsttensor__converter_8h_ad196141233d1dd6dd663c0947049474e}{tensor\+\_\+converter\+\_\+mode}} \+\_\+\+Gst\+Tensor\+Converter\+::mode}

tensor converter operating mode 

Definition at line 103 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a79c21fd79077008bc3006db119c05632}\label{struct__GstTensorConverter_a79c21fd79077008bc3006db119c05632}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!mode\_option@{mode\_option}}
\index{mode\_option@{mode\_option}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{mode\_option}{mode\_option}}
{\footnotesize\ttfamily gchar$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::mode\+\_\+option}

tensor converter mode option 

Definition at line 104 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a7be71f9cf98dc9d679acff547b70ca72}\label{struct__GstTensorConverter_a7be71f9cf98dc9d679acff547b70ca72}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!need\_segment@{need\_segment}}
\index{need\_segment@{need\_segment}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{need\_segment}{need\_segment}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::need\+\_\+segment}

True to handle seg event 

Definition at line 99 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_aeda048eb7b4762d456089d1d79f4bafe}\label{struct__GstTensorConverter_aeda048eb7b4762d456089d1d79f4bafe}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!old\_timestamp@{old\_timestamp}}
\index{old\_timestamp@{old\_timestamp}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{old\_timestamp}{old\_timestamp}}
{\footnotesize\ttfamily Gst\+Clock\+Time \+\_\+\+Gst\+Tensor\+Converter\+::old\+\_\+timestamp}

timestamp at prev buffer 

Definition at line 101 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a59bf610d82e49f55d6e508c6a087cf47}\label{struct__GstTensorConverter_a59bf610d82e49f55d6e508c6a087cf47}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!priv\_data@{priv\_data}}
\index{priv\_data@{priv\_data}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{priv\_data}{priv\_data}}
{\footnotesize\ttfamily void$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::priv\+\_\+data}

plugin\textquotesingle{}s private data 

Definition at line 109 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a0322d364f981e498824b3af600e6fa6a}\label{struct__GstTensorConverter_a0322d364f981e498824b3af600e6fa6a}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!remove\_padding@{remove\_padding}}
\index{remove\_padding@{remove\_padding}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{remove\_padding}{remove\_padding}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::remove\+\_\+padding}

If true, zero-\/padding must be removed 

Definition at line 94 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a9f05065a985f26297f7bef057d8d3272}\label{struct__GstTensorConverter_a9f05065a985f26297f7bef057d8d3272}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!segment@{segment}}
\index{segment@{segment}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{segment}{segment}}
{\footnotesize\ttfamily Gst\+Segment \+\_\+\+Gst\+Tensor\+Converter\+::segment}

Segment, supposed time format 

Definition at line 100 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_aebd1d6d96bca253992f27017f8204677}\label{struct__GstTensorConverter_aebd1d6d96bca253992f27017f8204677}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!set\_timestamp@{set\_timestamp}}
\index{set\_timestamp@{set\_timestamp}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{set\_timestamp}{set\_timestamp}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::set\+\_\+timestamp}

true to set timestamp when received a buffer with invalid timestamp 

Definition at line 83 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_aa1bf3259eedb1c6c10378cfe14586ac2}\label{struct__GstTensorConverter_aa1bf3259eedb1c6c10378cfe14586ac2}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!silent@{silent}}
\index{silent@{silent}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{silent}{silent}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::silent}

true to print minimized log 

Definition at line 82 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a3b5904c0bd1e5d8c425d6e115e0635a1}\label{struct__GstTensorConverter_a3b5904c0bd1e5d8c425d6e115e0635a1}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!sinkpad@{sinkpad}}
\index{sinkpad@{sinkpad}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{sinkpad}{sinkpad}}
{\footnotesize\ttfamily Gst\+Pad$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::sinkpad}

sink pad 

Definition at line 79 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a9157bd4eb7aa1d9be764171ec3dbb7b0}\label{struct__GstTensorConverter_a9157bd4eb7aa1d9be764171ec3dbb7b0}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!srcpad@{srcpad}}
\index{srcpad@{srcpad}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{srcpad}{srcpad}}
{\footnotesize\ttfamily Gst\+Pad$\ast$ \+\_\+\+Gst\+Tensor\+Converter\+::srcpad}

src pad 

Definition at line 80 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a4fbe738a5eb8f1389f739726b24d7ccc}\label{struct__GstTensorConverter_a4fbe738a5eb8f1389f739726b24d7ccc}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!tensors\_config@{tensors\_config}}
\index{tensors\_config@{tensors\_config}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{tensors\_config}{tensors\_config}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \+\_\+\+Gst\+Tensor\+Converter\+::tensors\+\_\+config}

output tensors info 

Definition at line 96 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_a500bdb723b90972bb5c31c9a15fedff2}\label{struct__GstTensorConverter_a500bdb723b90972bb5c31c9a15fedff2}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!tensors\_configured@{tensors\_configured}}
\index{tensors\_configured@{tensors\_configured}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{tensors\_configured}{tensors\_configured}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Converter\+::tensors\+\_\+configured}

True if already successfully configured tensors metadata 

Definition at line 95 of file gsttensor\+\_\+converter.\+h.

\mbox{\Hypertarget{struct__GstTensorConverter_af1989c69c11c407ce3ebe715dc514284}\label{struct__GstTensorConverter_af1989c69c11c407ce3ebe715dc514284}} 
\index{\_GstTensorConverter@{\_GstTensorConverter}!tensors\_info@{tensors\_info}}
\index{tensors\_info@{tensors\_info}!\_GstTensorConverter@{\_GstTensorConverter}}
\doxysubsubsection{\texorpdfstring{tensors\_info}{tensors\_info}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorsInfo}{Gst\+Tensors\+Info}} \+\_\+\+Gst\+Tensor\+Converter\+::tensors\+\_\+info}

data structure to get/set tensor info 

Definition at line 85 of file gsttensor\+\_\+converter.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
nnstreamer/elements/\mbox{\hyperlink{gsttensor__converter_8h}{gsttensor\+\_\+converter.\+h}}\end{DoxyCompactItemize}
