Go to the documentation of this file.
24 #ifndef __NNS_PLUGIN_API_DECODER_H__
25 #define __NNS_PLUGIN_API_DECODER_H__
42 int (*
init) (
void **private_data);
48 void (*
exit) (
void **private_data);
53 int (*
setOption) (
void **private_data,
int opNum,
const char *param);
83 GstCaps *caps,
size_t size, GstCaps *othercaps,
84 GstPadDirection direction);
Decoder definitions for different semantics of tensors This allows developers to create their own dec...
void nnstreamer_decoder_exit(const char *name)
Decoder's sub-plugin may call this to unregister itself.
void nnstreamer_decoder_set_custom_property_desc(const char *name, const char *prop,...)
set custom property description for tensor decoder sub-plugin
size_t(* getTransformSize)(void **private_data, const GstTensorsConfig *config, GstCaps *caps, size_t size, GstCaps *othercaps, GstPadDirection direction)
GstTensorSrcIIOChannelProperties * prop
DTYPE_UNSIGNED ( .
const GstTensorDecoderDef * nnstreamer_decoder_find(const char *name)
Find decoder sub-plugin with the name.
The unit of each data tensors. It will be used as an input/output tensor of other/tensors.
int nnstreamer_decoder_probe(GstTensorDecoderDef *decoder)
Decoder's sub-plugin should call this function to register itself.
int(* setOption)(void **private_data, int opNum, const char *param)
Internal data structure for configured tensors info (for other/tensors).
int(* init)(void **private_data)
struct _GstTensorDecoderDef GstTensorDecoderDef
Decoder definitions for different semantics of tensors This allows developers to create their own dec...
Common header file for NNStreamer, the GStreamer plugin for neural networks.
void(* exit)(void **private_data)
GstFlowReturn(* decode)(void **private_data, const GstTensorsConfig *config, const GstTensorMemory *input, GstBuffer *outbuf)