Doxygen Book
gsttensor_debug.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
16 #ifndef __GST_TENSOR_DEBUG_H__
17 #define __GST_TENSOR_DEBUG_H__
18 
19 #ifdef HAVE_CONFIG_H
20 #include <config.h>
21 #endif
22 
23 #include <gst/gst.h>
24 #include <gst/base/gstbasetransform.h>
25 #include <tensor_common.h>
26 
27 G_BEGIN_DECLS
28 
29 #define GST_TYPE_TENSOR_DEBUG \
30  (gst_tensor_debug_get_type())
31 #define GST_TENSOR_DEBUG(obj) \
32  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_DEBUG,GstTensorDebug))
33 #define GST_TENSOR_DEBUG_CLASS(klass) \
34  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_DEBUG,GstTensorDebugClass))
35 #define GST_IS_TENSOR_DEBUG(obj) \
36  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_DEBUG))
37 #define GST_IS_TENSOR_DEBUG_CLASS(klass) \
38  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_DEBUG))
39 #define GST_TENSOR_DEBUG_CAST(obj) ((GstTensorDebug *)(obj))
40 
43 
47 typedef enum
48 {
59 
63 typedef enum
64 {
70 
74 typedef enum
75 {
80 
85 {
86  GstBaseTransform element;
88  GstPad *sinkpad;
89  GstPad *srcpad;
91  gboolean silent;
96 };
97 
102 {
103  GstBaseTransformClass parent_class;
104 };
105 
109 GType gst_tensor_debug_get_type (void);
110 
111 
112 G_END_DECLS
113 
114 #endif
_GstTensorDebug::cap_mode
tdbg_cap_mode cap_mode
Definition: gsttensor_debug.h:94
TDBG_OUTPUT_CIRCULARBUF
@ TDBG_OUTPUT_CIRCULARBUF
Definition: gsttensor_debug.h:56
_GstTensorDebug::element
GstBaseTransform element
Definition: gsttensor_debug.h:86
TDBG_OUTPUT_FILEWRITE
@ TDBG_OUTPUT_FILEWRITE
Definition: gsttensor_debug.h:57
TDBG_CAP_DISABLED
@ TDBG_CAP_DISABLED
Definition: gsttensor_debug.h:65
tdbg_meta_mode
tdbg_meta_mode
Property "META" specification.
Definition: gsttensor_debug.h:74
_GstTensorDebug
Internal data structure for tensor_debug instances.
Definition: gsttensor_debug.h:84
TDBG_OUTPUT_DISABLED
@ TDBG_OUTPUT_DISABLED
Definition: gsttensor_debug.h:49
_GstTensorDebug::output_mode
tdbg_output_mode output_mode
Definition: gsttensor_debug.h:93
TDBG_META_DISABLED
@ TDBG_META_DISABLED
Definition: gsttensor_debug.h:76
TDBG_CAP_SHOW_UPDATE_F
@ TDBG_CAP_SHOW_UPDATE_F
Definition: gsttensor_debug.h:67
TDBG_OUTPUT_CONSOLE_W
@ TDBG_OUTPUT_CONSOLE_W
Definition: gsttensor_debug.h:51
TDBG_OUTPUT_GSTDBG_E
@ TDBG_OUTPUT_GSTDBG_E
Definition: gsttensor_debug.h:55
TDBG_META_TIMESTAMP
@ TDBG_META_TIMESTAMP
Definition: gsttensor_debug.h:77
gst_tensor_debug_get_type
GType gst_tensor_debug_get_type(void)
Get Type function required for gst elements.
tdbg_output_mode
tdbg_output_mode
Property "OUTPUT" specification.
Definition: gsttensor_debug.h:47
TDBG_OUTPUT_GSTDBG_W
@ TDBG_OUTPUT_GSTDBG_W
Definition: gsttensor_debug.h:54
_GstTensorDebug::srcpad
GstPad * srcpad
Definition: gsttensor_debug.h:89
_GstTensorDebug::meta_mode
tdbg_meta_mode meta_mode
Definition: gsttensor_debug.h:95
TDBG_CAP_SHOW_ALWAYS
@ TDBG_CAP_SHOW_ALWAYS
Definition: gsttensor_debug.h:68
TDBG_CAP_SHOW_UPDATE
@ TDBG_CAP_SHOW_UPDATE
Definition: gsttensor_debug.h:66
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
TDBG_OUTPUT_CONSOLE_E
@ TDBG_OUTPUT_CONSOLE_E
Definition: gsttensor_debug.h:52
_GstTensorDebugClass
GstTensorDebugClass data structure.
Definition: gsttensor_debug.h:101
_GstTensorDebugClass::parent_class
GstBaseTransformClass parent_class
Definition: gsttensor_debug.h:103
TDBG_OUTPUT_GSTDBG_I
@ TDBG_OUTPUT_GSTDBG_I
Definition: gsttensor_debug.h:53
TDBG_META_QUERYSERVER
@ TDBG_META_QUERYSERVER
Definition: gsttensor_debug.h:78
tdbg_cap_mode
tdbg_cap_mode
Property "CAP" specification.
Definition: gsttensor_debug.h:63
_GstTensorDebug::silent
gboolean silent
Definition: gsttensor_debug.h:91
_GstTensorDebug::sinkpad
GstPad * sinkpad
Definition: gsttensor_debug.h:88
TDBG_OUTPUT_CONSOLE_I
@ TDBG_OUTPUT_CONSOLE_I
Definition: gsttensor_debug.h:50