Go to the documentation of this file.
25 #ifndef __G_TENSOR_FILTER_SINGLE_H__
26 #define __G_TENSOR_FILTER_SINGLE_H__
29 #include <glib-object.h>
33 #define G_TYPE_TENSOR_FILTER_SINGLE \
34 (g_tensor_filter_single_get_type())
35 #define G_TENSOR_FILTER_SINGLE(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST((obj),G_TYPE_TENSOR_FILTER_SINGLE,GTensorFilterSingle))
37 #define G_TENSOR_FILTER_SINGLE_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST((klass),G_TYPE_TENSOR_FILTER_SINGLE,GTensorFilterSingleClass))
39 #define G_IS_TENSOR_FILTER_SINGLE(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE((obj),G_TYPE_TENSOR_FILTER_SINGLE))
41 #define G_IS_TENSOR_FILTER_SINGLE_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE((klass),G_TYPE_TENSOR_FILTER_SINGLE))
43 #define G_TENSOR_FILTER_SINGLE_CAST(obj) ((GTensorFilterSingle *)(obj))
Internal meta data exchange format for a other/tensors instance.
The unit of each data tensors. It will be used as an input/output tensor of other/tensors.
gint(* set_input_info)(GTensorFilterSingle *self, const GstTensorsInfo *in_info, GstTensorsInfo *out_info)
void(* destroy_notify)(GTensorFilterSingle *self, GstTensorMemory *mem)
gboolean(* start)(GTensorFilterSingle *self)
gboolean(* output_configured)(GTensorFilterSingle *self)
Internal data structure for tensor_filter_single instances.
Common header file for NNStreamer, the GStreamer plugin for neural networks.
GType g_tensor_filter_single_get_type(void)
Get Type function required for gst elements.
gboolean(* input_configured)(GTensorFilterSingle *self)
gboolean(* stop)(GTensorFilterSingle *self)
gboolean(* invoke)(GTensorFilterSingle *self, const GstTensorMemory *input, GstTensorMemory *output, gboolean allocate)
gboolean(* allocate_in_invoke)(GTensorFilterSingle *self)
GTensorFilterSingleClass inherits GObjectClass.