Go to the documentation of this file.
24 #ifndef __NNS_PLUGIN_API_CONVERTER_H__
25 #define __NNS_PLUGIN_API_CONVERTER_H__
46 GstBuffer *(*convert) (GstBuffer * in_buf,
GstTensorsConfig * config,
void *priv_data);
73 int (*
open) (
const gchar *script_path,
void **priv_data);
80 void (*
close) (
void **priv_data);
int registerExternalConverter(NNStreamerExternalConverter *ex)
Converter's sub-plugin should call this function to register itself.
int(* open)(const gchar *script_path, void **priv_data)
GstTensorSrcIIOChannelProperties * prop
DTYPE_UNSIGNED ( .
void unregisterExternalConverter(const char *prefix)
Converter's sub-plugin may call this to unregister itself.
void(* close)(void **priv_data)
const NNStreamerExternalConverter * nnstreamer_converter_find(const char *name)
Find converter sub-plugin with the name.
void nnstreamer_converter_set_custom_property_desc(const char *name, const char *prop,...)
set custom property description for tensor converter sub-plugin
Internal data structure for configured tensors info (for other/tensors).
Common header file for NNStreamer, the GStreamer plugin for neural networks.
gboolean(* get_out_config)(const GstCaps *in_caps, GstTensorsConfig *config)
struct _NNStreamerExternalConverter NNStreamerExternalConverter
Converter's subplugin implementation.
Converter's subplugin implementation.