Go to the documentation of this file.
29 #ifndef __GST_TENSOR_DECODER_H__
30 #define __GST_TENSOR_DECODER_H__
33 #include <gst/base/gstbasetransform.h>
42 #define GST_TYPE_TENSOR_DECODER \
43 (gst_tensordec_get_type())
44 #define GST_TENSOR_DECODER(obj) \
45 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_DECODER,GstTensorDecoder))
46 #define GST_TENSOR_DECODER_CLASS(klass) \
47 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_DECODER,GstTensorDecoderClass))
48 #define GST_IS_TENSOR_DECODER(obj) \
49 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_DECODER))
50 #define GST_IS_TENSOR_DECODER_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_DECODER))
52 #define GST_TENSOR_DECODER_CAST(obj) ((GstTensorDecoder *)(obj))
62 #define TensorDecMaxOpNum (9)
Decoder definitions for different semantics of tensors This allows developers to create their own dec...
gchar * option[TensorDecMaxOpNum]
Internal data structure for tensordec instances.
Subplugin Manager for NNStreamer.
GstBaseTransformClass parent_class
NNStreamer APIs for tensor_decoder custom condition.
Internal data structure for configured tensors info (for other/tensors).
GType gst_tensordec_get_type(void)
Get Type function required for gst elements.
#define TensorDecMaxOpNum
Common header file for NNStreamer, the GStreamer plugin for neural networks.
tensor_decoder_custom func
GstTensorsConfig tensor_config
decoder_custom_cb_s custom
Mandatory APIs for NNStreamer Decoder sub-plugins (Need Gst Devel)
const GstTensorDecoderDef * decoder
GstTensorDecoderClass inherits GstBaseTransformClass.
G_BEGIN_DECLS typedef int(* tensor_decoder_custom)(const GstTensorMemory *input, const GstTensorsConfig *config, void *data, GstBuffer *out_buf)
Decode from tensors to media as customized operation.