GStreamer plugin to handle meta_query for server elements. More...
#include <gst/gst.h>
#include <tensor_common.h>
#include <nnstreamer-edge.h>
#include "tensor_meta.h"
Go to the source code of this file.
Classes | |
struct | GstTensorQueryEdgeInfo |
Internal data structure for nns-edge info to prepare edge connection. More... | |
struct | GstTensorQueryServer |
GstTensorQueryServer internal info data structure. More... | |
Macros | |
#define | DEFAULT_SERVER_ID 0 |
#define | DEFAULT_QUERY_INFO_TIMEOUT 5 |
Functions | |
gboolean | gst_tensor_query_server_add_data (const guint id) |
Add GstTensorQueryServer. More... | |
gboolean | gst_tensor_query_server_prepare (const guint id, nns_edge_connect_type_e connect_type, GstTensorQueryEdgeInfo *edge_info) |
Prepare edge connection and its handle. More... | |
void | gst_tensor_query_server_remove_data (const guint id) |
Remove GstTensorQueryServer. More... | |
gboolean | gst_tensor_query_server_wait_sink (const guint id) |
Wait until the sink is configured and get server info handle. More... | |
gboolean | gst_tensor_query_server_send_buffer (const guint id, GstBuffer *buffer) |
Send buffer to connected edge device. More... | |
void | gst_tensor_query_server_set_configured (const guint id) |
set query server sink configured. More... | |
void | gst_tensor_query_server_set_caps (const guint id, const gchar *caps_str) |
set query server caps. More... | |
void | gst_tensor_query_server_release_edge_handle (const guint id) |
Release nnstreamer edge handle of query server. More... | |
GStreamer plugin to handle meta_query for server elements.
Copyright (C) 2021 Samsung Electronics Co., Ltd.
Definition in file tensor_query_server.h.
#define DEFAULT_QUERY_INFO_TIMEOUT 5 |
Definition at line 23 of file tensor_query_server.h.
#define DEFAULT_SERVER_ID 0 |
Definition at line 22 of file tensor_query_server.h.
gboolean gst_tensor_query_server_add_data | ( | const guint | id | ) |
Add GstTensorQueryServer.
Add GstTensorQueryServer.
Definition at line 77 of file tensor_query_server.c.
gboolean gst_tensor_query_server_prepare | ( | const guint | id, |
nns_edge_connect_type_e | connect_type, | ||
GstTensorQueryEdgeInfo * | edge_info | ||
) |
Prepare edge connection and its handle.
Definition at line 114 of file tensor_query_server.c.
void gst_tensor_query_server_release_edge_handle | ( | const guint | id | ) |
Release nnstreamer edge handle of query server.
Definition at line 258 of file tensor_query_server.c.
void gst_tensor_query_server_remove_data | ( | const guint | id | ) |
Remove GstTensorQueryServer.
Definition at line 280 of file tensor_query_server.c.
gboolean gst_tensor_query_server_send_buffer | ( | const guint | id, |
GstBuffer * | buffer | ||
) |
Send buffer to connected edge device.
Definition at line 183 of file tensor_query_server.c.
void gst_tensor_query_server_set_caps | ( | const guint | id, |
const gchar * | caps_str | ||
) |
set query server caps.
Definition at line 342 of file tensor_query_server.c.
void gst_tensor_query_server_set_configured | ( | const guint | id | ) |
set query server sink configured.
Definition at line 322 of file tensor_query_server.c.
gboolean gst_tensor_query_server_wait_sink | ( | const guint | id | ) |
Wait until the sink is configured and get server info handle.
Definition at line 292 of file tensor_query_server.c.