\hypertarget{structtensor__region__s}{}\doxysection{tensor\+\_\+region\+\_\+s Struct Reference}
\label{structtensor__region__s}\index{tensor\_region\_s@{tensor\_region\_s}}


Internal data structure to describe tensor region.  


\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
guint \mbox{\hyperlink{structtensor__region__s_a276c3b25894c5f46f6c3a7621d3e506c}{x}}
\item 
guint \mbox{\hyperlink{structtensor__region__s_ade9e7d6ef9a6c3be4c1c966664b00293}{y}}
\item 
guint \mbox{\hyperlink{structtensor__region__s_ab98c609994f81127a0f4766d3d02d469}{w}}
\item 
guint \mbox{\hyperlink{structtensor__region__s_a8c440ca282a49a5f90dff54852342d04}{h}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Internal data structure to describe tensor region. 

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

tensor\+\_\+crop is a G\+Streamer element to crop the regions of incoming tensor.

tensor\+\_\+crop has two always sink pads -\/ raw and info. The raw pad accepts tensor (other/tensor) which will be cropped with crop info. The info pad has capability for flexible tensor stream (other/tensors-\/flexible), that can have a various buffer size for crop info. Incoming buffer on info pad should be an array of crop info. Note that N\+N\+Streamer supports maximum N\+N\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+I\+Z\+E\+\_\+\+L\+I\+M\+IT memory blocks in a buffer. So, when incoming buffer on info pad has more than N\+N\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+I\+Z\+E\+\_\+\+L\+I\+M\+IT crop-\/info array, tensor\+\_\+crop will ignore the data.

The output is always in the format of other/tensors-\/flexible.

$<$refsect2$>$ $<$title$>$Example launch line$<$/title$>$ $\vert$\mbox{[} gst-\/launch-\/1.\+0 tensor\+\_\+crop name=crop ! (cropped tensors) ... \textbackslash{} videotestsrc ! videoconvert ! video/x-\/raw,format=R\+GB ! tensor\+\_\+converter ! tee name=t \textbackslash{} t. ! queue ! crop.\+raw \textbackslash{} t. ! queue ! (process raw video tensor and push buffer which includes crop info) ! crop.\+info \mbox{]}$\vert$ $<$/refsect2$>$ 

Definition at line 50 of file gsttensor\+\_\+crop.\+c.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structtensor__region__s_a8c440ca282a49a5f90dff54852342d04}\label{structtensor__region__s_a8c440ca282a49a5f90dff54852342d04}} 
\index{tensor\_region\_s@{tensor\_region\_s}!h@{h}}
\index{h@{h}!tensor\_region\_s@{tensor\_region\_s}}
\doxysubsubsection{\texorpdfstring{h}{h}}
{\footnotesize\ttfamily guint tensor\+\_\+region\+\_\+s\+::h}



Definition at line 55 of file gsttensor\+\_\+crop.\+c.

\mbox{\Hypertarget{structtensor__region__s_ab98c609994f81127a0f4766d3d02d469}\label{structtensor__region__s_ab98c609994f81127a0f4766d3d02d469}} 
\index{tensor\_region\_s@{tensor\_region\_s}!w@{w}}
\index{w@{w}!tensor\_region\_s@{tensor\_region\_s}}
\doxysubsubsection{\texorpdfstring{w}{w}}
{\footnotesize\ttfamily guint tensor\+\_\+region\+\_\+s\+::w}



Definition at line 54 of file gsttensor\+\_\+crop.\+c.

\mbox{\Hypertarget{structtensor__region__s_a276c3b25894c5f46f6c3a7621d3e506c}\label{structtensor__region__s_a276c3b25894c5f46f6c3a7621d3e506c}} 
\index{tensor\_region\_s@{tensor\_region\_s}!x@{x}}
\index{x@{x}!tensor\_region\_s@{tensor\_region\_s}}
\doxysubsubsection{\texorpdfstring{x}{x}}
{\footnotesize\ttfamily guint tensor\+\_\+region\+\_\+s\+::x}



Definition at line 52 of file gsttensor\+\_\+crop.\+c.

\mbox{\Hypertarget{structtensor__region__s_ade9e7d6ef9a6c3be4c1c966664b00293}\label{structtensor__region__s_ade9e7d6ef9a6c3be4c1c966664b00293}} 
\index{tensor\_region\_s@{tensor\_region\_s}!y@{y}}
\index{y@{y}!tensor\_region\_s@{tensor\_region\_s}}
\doxysubsubsection{\texorpdfstring{y}{y}}
{\footnotesize\ttfamily guint tensor\+\_\+region\+\_\+s\+::y}



Definition at line 53 of file gsttensor\+\_\+crop.\+c.



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