Go to the documentation of this file.
34 #ifndef __GST_TENSOR_CONVERTER_H__
35 #define __GST_TENSOR_CONVERTER_H__
44 #define GST_TYPE_TENSOR_CONVERTER \
45 (gst_tensor_converter_get_type())
46 #define GST_TENSOR_CONVERTER(obj) \
47 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_CONVERTER,GstTensorConverter))
48 #define GST_TENSOR_CONVERTER_CLASS(klass) \
49 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_CONVERTER,GstTensorConverterClass))
50 #define GST_IS_TENSOR_CONVERTER(obj) \
51 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_CONVERTER))
52 #define GST_IS_TENSOR_CONVERTER_CLASS(klass) \
53 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_CONVERTER))
GType gst_tensor_converter_get_type(void)
Get Type function required for gst elements.
@ _CONVERTER_MODE_CUSTOM_SCRIPT
Internal meta data exchange format for a other/tensors instance.
GHashTable * adapter_table
const NNStreamerExternalConverter * externalConverter
tensor_converter_mode mode
tensor_converter_mode
tensor converter mode
NNStreamer APIs for tensor_converter custom condition.
Internal data structure for configured tensors info (for other/tensors).
GstTensorConverterClass data structure.
gboolean tensors_configured
Mandatory APIs for NNStreamer Converter sub-plugins (Need Gst Devel)
@ _CONVERTER_MODE_CUSTOM_CODE
Internal data structure for tensor_converter instances.
enum _nns_media_type media_type
Float16 compiler extension support.
GstTensorsInfo tensors_info
Common header file for NNStreamer, the GStreamer plugin for neural networks.
GstElementClass parent_class
GstClockTime old_timestamp
converter_custom_cb_s custom
G_BEGIN_DECLS typedef GstBuffer *(* tensor_converter_custom)(GstBuffer *in_buf, void *data, GstTensorsConfig *config)
Convert to tensors as customized operation.
gboolean do_not_append_header
tensor_converter_custom func
GstTensorsConfig tensors_config
Converter's subplugin implementation.