Doxygen Book
gsttensor_crop.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
13 #ifndef __GST_TENSOR_CROP_H__
14 #define __GST_TENSOR_CROP_H__
15 
16 #include <gst/gst.h>
17 #include <gst/base/gstcollectpads.h>
18 #include <tensor_common.h>
19 
20 G_BEGIN_DECLS
21 
22 #define GST_TYPE_TENSOR_CROP \
23  (gst_tensor_crop_get_type())
24 #define GST_TENSOR_CROP(obj) \
25  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_CROP,GstTensorCrop))
26 #define GST_TENSOR_CROP_CLASS(klass) \
27  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_CROP,GstTensorCropClass))
28 #define GST_IS_TENSOR_CROP(obj) \
29  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_CROP))
30 #define GST_IS_TENSOR_CROP_CLASS(klass) \
31  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_CROP))
32 
35 
39 typedef struct
40 {
41  GstCollectData data;
42 
45 
50 {
51  GstElement element;
53  GstPad *sinkpad_raw;
54  GstPad *sinkpad_info;
55  GstPad *srcpad;
57  /* <private> */
58  gint lateness;
59  gboolean silent;
60  gboolean send_stream_start;
61  GstCollectPads *collect;
62 };
63 
68 {
69  GstElementClass parent_class;
70 };
71 
75 GType gst_tensor_crop_get_type (void);
76 
77 G_END_DECLS
78 
79 #endif /* __GST_TENSOR_CROP_H__ */
GstTensorCropPadData::data
GstCollectData data
Definition: gsttensor_crop.h:41
_GstTensorCrop::element
GstElement element
Definition: gsttensor_crop.h:51
_GstTensorCrop::lateness
gint lateness
Definition: gsttensor_crop.h:58
_GstTensorCrop::sinkpad_raw
GstPad * sinkpad_raw
Definition: gsttensor_crop.h:53
_GstTensorCrop::silent
gboolean silent
Definition: gsttensor_crop.h:59
_GstTensorCropClass
GstTensorCropClass data structure.
Definition: gsttensor_crop.h:67
gst_tensor_crop_get_type
GType gst_tensor_crop_get_type(void)
Function to get type of tensor_crop.
_GstTensorCrop::sinkpad_info
GstPad * sinkpad_info
Definition: gsttensor_crop.h:54
_GstTensorCrop::send_stream_start
gboolean send_stream_start
Definition: gsttensor_crop.h:60
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition: tensor_typedef.h:284
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorCropClass::parent_class
GstElementClass parent_class
Definition: gsttensor_crop.h:69
_GstTensorCrop::collect
GstCollectPads * collect
Definition: gsttensor_crop.h:61
GstTensorCropPadData::config
GstTensorsConfig config
Definition: gsttensor_crop.h:43
_GstTensorCrop
GstTensorCrop data structure.
Definition: gsttensor_crop.h:49
_GstTensorCrop::srcpad
GstPad * srcpad
Definition: gsttensor_crop.h:55
GstTensorCropPadData
GstTensorCrop pad data.
Definition: gsttensor_crop.h:39