Doxygen Book
tensor_query_serversrc.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
13
#ifndef __GST_TENSOR_QUERY_SERVERSRC_H__
14
#define __GST_TENSOR_QUERY_SERVERSRC_H__
15
16
#include <gst/base/gstbasesrc.h>
17
#include <gst/base/gstpushsrc.h>
18
#include <
tensor_meta.h
>
19
#include "
tensor_query_server.h
"
20
21
G_BEGIN_DECLS
22
#define GST_TYPE_TENSOR_QUERY_SERVERSRC \
23
(gst_tensor_query_serversrc_get_type())
24
#define GST_TENSOR_QUERY_SERVERSRC(obj) \
25
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_QUERY_SERVERSRC,GstTensorQueryServerSrc))
26
#define GST_TENSOR_QUERY_SERVERSRC_CLASS(klass) \
27
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_QUERY_SERVERSRC,GstTensorQueryServerSrcClass))
28
#define GST_IS_TENSOR_QUERY_SERVERSRC(obj) \
29
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_QUERY_SERVERSRC))
30
#define GST_IS_TENSOR_QUERY_SERVERSRC_CLASS(klass) \
31
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_QUERY_SERVERSRC))
32
#define GST_TENSOR_QUERY_SERVERSRC_CAST(obj) ((GstTensorQueryServerSrc *)(obj))
33
typedef
struct
_GstTensorQueryServerSrc
GstTensorQueryServerSrc
;
34
typedef
struct
_GstTensorQueryServerSrcClass
GstTensorQueryServerSrcClass
;
35
39
struct
_GstTensorQueryServerSrc
40
{
41
GstPushSrc
element
;
/* parent object */
42
guint
src_id
;
43
gboolean
configured
;
44
45
gchar *
host
;
46
guint16
port
;
47
gchar *
dest_host
;
48
guint16
dest_port
;
49
guint
timeout
;
50
51
/* Query-hybrid feature */
52
gchar *
topic
;
54
nns_edge_connect_type_e
connect_type
;
55
GAsyncQueue *
msg_queue
;
56
gboolean
playing
;
57
};
58
62
struct
_GstTensorQueryServerSrcClass
63
{
64
GstPushSrcClass
parent_class
;
65
};
66
67
GType
gst_tensor_query_serversrc_get_type
(
void
);
68
69
G_END_DECLS
70
#endif
/* __GST_TENSOR_QUERY_SERVERSRC_H__ */
_GstTensorQueryServerSrc::configured
gboolean configured
Definition:
tensor_query_serversrc.h:43
_GstTensorQueryServerSrc::host
gchar * host
Definition:
tensor_query_serversrc.h:45
_GstTensorQueryServerSrcClass
GstTensorQueryServerSrcClass data structure.
Definition:
tensor_query_serversrc.h:62
_GstTensorQueryServerSrcClass::parent_class
GstPushSrcClass parent_class
Definition:
tensor_query_serversrc.h:64
_GstTensorQueryServerSrc::dest_port
guint16 dest_port
Definition:
tensor_query_serversrc.h:48
tensor_meta.h
Internal tensor meta header for nnstreamer.
_GstTensorQueryServerSrc
GstTensorQueryServerSrc data structure.
Definition:
tensor_query_serversrc.h:39
tensor_query_server.h
GStreamer plugin to handle meta_query for server elements.
_GstTensorQueryServerSrc::src_id
guint src_id
Definition:
tensor_query_serversrc.h:42
_GstTensorQueryServerSrc::timeout
guint timeout
Definition:
tensor_query_serversrc.h:49
_GstTensorQueryServerSrc::connect_type
nns_edge_connect_type_e connect_type
Definition:
tensor_query_serversrc.h:54
_GstTensorQueryServerSrc::port
guint16 port
Definition:
tensor_query_serversrc.h:46
_GstTensorQueryServerSrc::element
GstPushSrc element
Definition:
tensor_query_serversrc.h:41
gst_tensor_query_serversrc_get_type
GType gst_tensor_query_serversrc_get_type(void)
_GstTensorQueryServerSrc::topic
gchar * topic
Definition:
tensor_query_serversrc.h:52
_GstTensorQueryServerSrc::playing
gboolean playing
Definition:
tensor_query_serversrc.h:56
_GstTensorQueryServerSrc::msg_queue
GAsyncQueue * msg_queue
Definition:
tensor_query_serversrc.h:55
_GstTensorQueryServerSrc::dest_host
gchar * dest_host
Definition:
tensor_query_serversrc.h:47
nnstreamer
tensor_query
tensor_query_serversrc.h
Generated on Fri Nov 15 2024 14:16:02 for Doxygen Book by
1.8.17