Doxygen Book
gsttensor_sparseenc.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
13 #ifndef __GST_TENSOR_SPARSE_ENC_H__
14 #define __GST_TENSOR_SPARSE_ENC_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_ENC \
23  (gst_tensor_sparse_enc_get_type())
24 #define GST_TENSOR_SPARSE_ENC(obj) \
25  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_SPARSE_ENC,GstTensorSparseEnc))
26 #define GST_TENSOR_SPARSE_ENC_CLASS(klass) \
27  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_SPARSE_ENC,GstTensorSparseEncClass))
28 #define GST_IS_TENSOR_SPARSE_ENC(obj) \
29  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_SPARSE_ENC))
30 #define GST_IS_TENSOR_SPARSE_ENC_CLASS(klass) \
31  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_SPARSE_ENC))
32 
35 
40 {
41  GstElement element;
42  GstPad *sinkpad;
43  GstPad *srcpad;
45  /* <private> */
47  gboolean silent;
48 };
49 
54 {
55  GstElementClass parent_class;
56 };
57 
62 
63 G_END_DECLS
64 
65 #endif /* __GST_TENSOR_SPARSE_ENC_H__ */
_GstTensorSparseEnc::silent
gboolean silent
Definition: gsttensor_sparseenc.h:47
_GstTensorSparseEnc::in_config
GstTensorsConfig in_config
Definition: gsttensor_sparseenc.h:46
_GstTensorSparseEncClass
GstTensorSparseClass data structure.
Definition: gsttensor_sparseenc.h:53
_GstTensorSparseEncClass::parent_class
GstElementClass parent_class
Definition: gsttensor_sparseenc.h:55
gsttensor_sparseutil.h
Util functions for tensor_sparse encoder and decoder.
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition: tensor_typedef.h:284
_GstTensorSparseEnc::element
GstElement element
Definition: gsttensor_sparseenc.h:41
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorSparseEnc::srcpad
GstPad * srcpad
Definition: gsttensor_sparseenc.h:43
gst_tensor_sparse_enc_get_type
GType gst_tensor_sparse_enc_get_type(void)
Function to get type of tensor_sparse.
_GstTensorSparseEnc::sinkpad
GstPad * sinkpad
Definition: gsttensor_sparseenc.h:42
_GstTensorSparseEnc
GstTensorSparseEnc data structure.
Definition: gsttensor_sparseenc.h:39