Doxygen Book
tensor_filter.h
Go to the documentation of this file.
1 
29 #ifndef __GST_TENSOR_FILTER_H__
30 #define __GST_TENSOR_FILTER_H__
31 
32 #include <gst/gst.h>
33 #include <gst/gstinfo.h>
34 #include <gst/base/gstbasetransform.h>
35 
36 #include "tensor_common.h"
37 #include "nnstreamer_subplugin.h"
39 #include "tensor_filter_common.h"
40 
41 G_BEGIN_DECLS
42 
43 #define GST_TYPE_TENSOR_FILTER \
44  (gst_tensor_filter_get_type())
45 #define GST_TENSOR_FILTER(obj) \
46  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_FILTER,GstTensorFilter))
47 #define GST_TENSOR_FILTER_CLASS(klass) \
48  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_FILTER,GstTensorFilterClass))
49 #define GST_IS_TENSOR_FILTER(obj) \
50  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_FILTER))
51 #define GST_IS_TENSOR_FILTER_CLASS(klass) \
52  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_FILTER))
53 #define GST_TENSOR_FILTER_CAST(obj) ((GstTensorFilter *)(obj))
54 
57 
62 {
63  GstBaseTransform element;
67  GstClockTime prev_ts;
68  GstClockTimeDiff throttling_delay;
69  GstClockTimeDiff throttling_accum;
70 };
71 
80 {
81  GstBaseTransformClass parent_class;
82 };
83 
87 GType gst_tensor_filter_get_type (void);
88 
89 G_END_DECLS
90 
91 #endif /* __GST_TENSOR_FILTER_H__ */
nnstreamer_subplugin.h
Subplugin Manager for NNStreamer.
_GstTensorFilter::priv
GstTensorFilterPrivate priv
Definition: tensor_filter.h:65
_GstTensorFilterClass::parent_class
GstBaseTransformClass parent_class
Definition: tensor_filter.h:81
_GstTensorFilter
Internal data structure for tensor_filter instances.
Definition: tensor_filter.h:61
_GstTensorFilter::element
GstBaseTransform element
Definition: tensor_filter.h:63
_GstTensorFilter::throttling_delay
GstClockTimeDiff throttling_delay
Definition: tensor_filter.h:68
nnstreamer_plugin_api_filter.h
Mandatory APIs for NNStreamer Filter sub-plugins (No External Dependencies)
_GstTensorFilterPrivate
Structure definition for common tensor-filter properties.
Definition: tensor_filter_common.h:152
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
tensor_filter_common.h
Common functions for various tensor_filters.
gst_tensor_filter_get_type
GType gst_tensor_filter_get_type(void)
Get Type function required for gst elements.
_GstTensorFilterClass
GstTensorFilterClass inherits GstBaseTransformClass.
Definition: tensor_filter.h:79
_GstTensorFilter::prev_ts
GstClockTime prev_ts
Definition: tensor_filter.h:67
_GstTensorFilter::throttling_accum
GstClockTimeDiff throttling_accum
Definition: tensor_filter.h:69