Doxygen Book
gsttensor_sparsedec.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
13 #ifndef __GST_TENSOR_SPARSE_DEC_H__
14 #define __GST_TENSOR_SPARSE_DEC_H__
15 
16 #include <gst/gst.h>
17 #include <tensor_common.h>
18 #include "gsttensor_sparseutil.h"
19 
20 G_BEGIN_DECLS
21 
22 #define GST_TYPE_TENSOR_SPARSE_DEC \
23  (gst_tensor_sparse_dec_get_type())
24 #define GST_TENSOR_SPARSE_DEC(obj) \
25  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_SPARSE_DEC,GstTensorSparseDec))
26 #define GST_TENSOR_SPARSE_DEC_CLASS(klass) \
27  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_SPARSE_DEC,GstTensorSparseDecClass))
28 #define GST_IS_TENSOR_SPARSE_DEC(obj) \
29  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_SPARSE_DEC))
30 #define GST_IS_TENSOR_SPARSE_DEC_CLASS(klass) \
31  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_SPARSE_DEC))
32 
35 
40 {
41  GstElement element;
42  GstPad *sinkpad;
43  GstPad *srcpad;
45  /* <private> */
48  gboolean silent;
49 };
50 
55 {
56  GstElementClass parent_class;
57 };
58 
63 
64 G_END_DECLS
65 
66 #endif /* __GST_TENSOR_SPARSE_DEC_H__ */
_GstTensorSparseDec::out_config
GstTensorsConfig out_config
Definition: gsttensor_sparsedec.h:47
gst_tensor_sparse_dec_get_type
GType gst_tensor_sparse_dec_get_type(void)
Function to get type of tensor_sparse.
_GstTensorSparseDec::in_config
GstTensorsConfig in_config
Definition: gsttensor_sparsedec.h:46
gsttensor_sparseutil.h
Util functions for tensor_sparse encoder and decoder.
_GstTensorSparseDec
GstTensorSparseDec data structure.
Definition: gsttensor_sparsedec.h:39
_GstTensorSparseDecClass
GstTensorSparseClass data structure.
Definition: gsttensor_sparsedec.h:54
_GstTensorSparseDec::element
GstElement element
Definition: gsttensor_sparsedec.h:41
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition: tensor_typedef.h:284
_GstTensorSparseDec::sinkpad
GstPad * sinkpad
Definition: gsttensor_sparsedec.h:42
_GstTensorSparseDec::silent
gboolean silent
Definition: gsttensor_sparsedec.h:48
_GstTensorSparseDecClass::parent_class
GstElementClass parent_class
Definition: gsttensor_sparsedec.h:56
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorSparseDec::srcpad
GstPad * srcpad
Definition: gsttensor_sparsedec.h:43