Doxygen Book
tensor_query_serversink.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
13 #ifndef __GST_TENSOR_QUERY_SERVERSINK_H__
14 #define __GST_TENSOR_QUERY_SERVERSINK_H__
15 
16 #include <gst/gst.h>
17 #include <gst/base/gstbasesink.h>
18 #include <tensor_common.h>
19 #include <tensor_meta.h>
20 #include "tensor_query_server.h"
21 #include "tensor_query_common.h"
22 G_BEGIN_DECLS
23 #define GST_TYPE_TENSOR_QUERY_SERVERSINK \
24  (gst_tensor_query_serversink_get_type())
25 #define GST_TENSOR_QUERY_SERVERSINK(obj) \
26  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_QUERY_SERVERSINK,GstTensorQueryServerSink))
27 #define GST_TENSOR_QUERY_SERVERSINK_CLASS(klass) \
28  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_QUERY_SERVERSINK,GstTensorQueryServerSinkClass))
29 #define GST_IS_TENSOR_QUERY_SERVERSINK(obj) \
30  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_QUERY_SERVERSINK))
31 #define GST_IS_TENSOR_QUERY_SERVERSINK_CLASS(klass) \
32  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_QUERY_SERVERSINK))
33 #define GST_TENSOR_QUERY_SERVERSINK_CAST(obj) ((GstTensorQueryServerSink *)(obj))
36 
41 {
42  GstBaseSink element;
43  guint sink_id;
44 
45  guint timeout;
48 
49  nns_edge_connect_type_e connect_type;
50 };
51 
56 {
57  GstBaseSinkClass parent_class;
58 };
59 
61 
62 G_END_DECLS
63 #endif /* __GST_TENSOR_QUERY_SERVERSINK_H__ */
_GstTensorQueryServerSinkClass::parent_class
GstBaseSinkClass parent_class
Definition: tensor_query_serversink.h:57
_GstTensorQueryServerSink
GstTensorQueryServerSink data structure.
Definition: tensor_query_serversink.h:40
_GstTensorQueryServerSink::connect_type
nns_edge_connect_type_e connect_type
Definition: tensor_query_serversink.h:49
tensor_meta.h
Internal tensor meta header for nnstreamer.
tensor_query_server.h
GStreamer plugin to handle meta_query for server elements.
_GstTensorQueryServerSink::metaless_frame_count
gint metaless_frame_count
Definition: tensor_query_serversink.h:47
_GstTensorQueryServerSinkClass
GstTensorQueryServerSinkClass data structure.
Definition: tensor_query_serversink.h:55
_GstTensorQueryServerSink::metaless_frame_limit
gint metaless_frame_limit
Definition: tensor_query_serversink.h:46
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorQueryServerSink::element
GstBaseSink element
Definition: tensor_query_serversink.h:42
_GstTensorQueryServerSink::sink_id
guint sink_id
Definition: tensor_query_serversink.h:43
gst_tensor_query_serversink_get_type
GType gst_tensor_query_serversink_get_type(void)
_GstTensorQueryServerSink::timeout
guint timeout
Definition: tensor_query_serversink.h:45
tensor_query_common.h
Utility functions for tensor query.