\hypertarget{gsttensor__crop_8h}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+crop.h File Reference}
\label{gsttensor__crop_8h}\index{nnstreamer/elements/gsttensor\_crop.h@{nnstreamer/elements/gsttensor\_crop.h}}


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


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$gst/base/gstcollectpads.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+common.\+h$>$}\newline
Include dependency graph for gsttensor\+\_\+crop.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__crop_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=344pt]{gsttensor__crop_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structGstTensorCropPadData}{Gst\+Tensor\+Crop\+Pad\+Data}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Crop pad data. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GstTensorCrop}{\+\_\+\+Gst\+Tensor\+Crop}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Crop data structure. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GstTensorCropClass}{\+\_\+\+Gst\+Tensor\+Crop\+Class}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Crop\+Class data structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}}~(\mbox{\hyperlink{gsttensor__crop_8h_ae4af4aaac72e833d96d80f88dfcbab2b}{gst\+\_\+tensor\+\_\+crop\+\_\+get\+\_\+type}}())
\item 
\#define \mbox{\hyperlink{gsttensor__crop_8h_a06a2e94ce005f0c339f6a45cb0597a10}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST((obj),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}},\mbox{\hyperlink{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}{Gst\+Tensor\+Crop}}))
\item 
\#define \mbox{\hyperlink{gsttensor__crop_8h_a1ffc4482caa9d330abab1b01ed86efb9}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+O\+P\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST((klass),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}},\mbox{\hyperlink{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}{Gst\+Tensor\+Crop\+Class}}))
\item 
\#define \mbox{\hyperlink{gsttensor__crop_8h_aa0610f695d82a010f008a7d5cd14effd}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+T\+Y\+PE((obj),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}}))
\item 
\#define \mbox{\hyperlink{gsttensor__crop_8h_afc60f59fe1dba5d7ef1119892bed5fb0}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+O\+P\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE((klass),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}}))
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorCrop}{\+\_\+\+Gst\+Tensor\+Crop}} \mbox{\hyperlink{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}{Gst\+Tensor\+Crop}}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorCropClass}{\+\_\+\+Gst\+Tensor\+Crop\+Class}} \mbox{\hyperlink{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}{Gst\+Tensor\+Crop\+Class}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
G\+Type \mbox{\hyperlink{gsttensor__crop_8h_ae4af4aaac72e833d96d80f88dfcbab2b}{gst\+\_\+tensor\+\_\+crop\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em Function to get type of tensor\+\_\+crop. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer element to crop the regions of incoming tensor. 

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

\begin{DoxyDate}{Date}
10 May 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jaeyun Jung \href{mailto:jy1210.jung@samsung.com}{\texttt{ jy1210.\+jung@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000033}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


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



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

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



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

\mbox{\Hypertarget{gsttensor__crop_8h_a06a2e94ce005f0c339f6a45cb0597a10}\label{gsttensor__crop_8h_a06a2e94ce005f0c339f6a45cb0597a10}} 
\index{gsttensor\_crop.h@{gsttensor\_crop.h}!GST\_TENSOR\_CROP@{GST\_TENSOR\_CROP}}
\index{GST\_TENSOR\_CROP@{GST\_TENSOR\_CROP}!gsttensor\_crop.h@{gsttensor\_crop.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_CROP}{GST\_TENSOR\_CROP}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST((obj),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}},\mbox{\hyperlink{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}{Gst\+Tensor\+Crop}}))}



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

\mbox{\Hypertarget{gsttensor__crop_8h_a1ffc4482caa9d330abab1b01ed86efb9}\label{gsttensor__crop_8h_a1ffc4482caa9d330abab1b01ed86efb9}} 
\index{gsttensor\_crop.h@{gsttensor\_crop.h}!GST\_TENSOR\_CROP\_CLASS@{GST\_TENSOR\_CROP\_CLASS}}
\index{GST\_TENSOR\_CROP\_CLASS@{GST\_TENSOR\_CROP\_CLASS}!gsttensor\_crop.h@{gsttensor\_crop.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_CROP\_CLASS}{GST\_TENSOR\_CROP\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+O\+P\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{klass }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST((klass),\mbox{\hyperlink{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP}},\mbox{\hyperlink{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}{Gst\+Tensor\+Crop\+Class}}))}



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

\mbox{\Hypertarget{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}\label{gsttensor__crop_8h_a2c21c0980b02747b037676a9860afee6}} 
\index{gsttensor\_crop.h@{gsttensor\_crop.h}!GST\_TYPE\_TENSOR\_CROP@{GST\_TYPE\_TENSOR\_CROP}}
\index{GST\_TYPE\_TENSOR\_CROP@{GST\_TYPE\_TENSOR\_CROP}!gsttensor\_crop.h@{gsttensor\_crop.h}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_CROP}{GST\_TYPE\_TENSOR\_CROP}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+C\+R\+OP~(\mbox{\hyperlink{gsttensor__crop_8h_ae4af4aaac72e833d96d80f88dfcbab2b}{gst\+\_\+tensor\+\_\+crop\+\_\+get\+\_\+type}}())}



Definition at line 22 of file gsttensor\+\_\+crop.\+h.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}\label{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}} 
\index{gsttensor\_crop.h@{gsttensor\_crop.h}!GstTensorCrop@{GstTensorCrop}}
\index{GstTensorCrop@{GstTensorCrop}!gsttensor\_crop.h@{gsttensor\_crop.h}}
\doxysubsubsection{\texorpdfstring{GstTensorCrop}{GstTensorCrop}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorCrop}{\+\_\+\+Gst\+Tensor\+Crop}} \mbox{\hyperlink{gsttensor__crop_8h_ab4d21ece44751b87e07b8bc33ace20f6}{Gst\+Tensor\+Crop}}}



Definition at line 33 of file gsttensor\+\_\+crop.\+h.

\mbox{\Hypertarget{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}\label{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}} 
\index{gsttensor\_crop.h@{gsttensor\_crop.h}!GstTensorCropClass@{GstTensorCropClass}}
\index{GstTensorCropClass@{GstTensorCropClass}!gsttensor\_crop.h@{gsttensor\_crop.h}}
\doxysubsubsection{\texorpdfstring{GstTensorCropClass}{GstTensorCropClass}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorCropClass}{\+\_\+\+Gst\+Tensor\+Crop\+Class}} \mbox{\hyperlink{gsttensor__crop_8h_a38ecdd664d27179a51ebd9b79636298d}{Gst\+Tensor\+Crop\+Class}}}



Definition at line 34 of file gsttensor\+\_\+crop.\+h.



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



Function to get type of tensor\+\_\+crop. 

