NNStreamer APIs for tensor_decoder custom condition. More...
Go to the source code of this file.
Functions | |
int | nnstreamer_decoder_custom_register (const gchar *name, tensor_decoder_custom func, void *data) |
Register the custom callback function. More... | |
int | nnstreamer_decoder_custom_unregister (const gchar *name) |
Unregister the custom callback function. More... | |
Variables | |
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. More... | |
NNStreamer APIs for tensor_decoder custom condition.
GStreamer/NNStreamer Tensor-Decoder Copyright (C) 2021 Gichan Jang gicha n2.j ang@s amsu ng.co m
Definition in file tensor_decoder_custom.h.
int nnstreamer_decoder_custom_register | ( | const gchar * | name, |
tensor_decoder_custom | func, | ||
void * | data | ||
) |
Register the custom callback function.
[in] | name | The name of tensor_decoder custom callback function. |
[in] | func | The custom condition function body |
[in/out] | data The internal data for the function |
Register the custom callback function.
Definition at line 972 of file gsttensor_decoder.c.
int nnstreamer_decoder_custom_unregister | ( | const gchar * | name | ) |
Unregister the custom callback function.
[in] | name | The registered name of tensor_decoder custom callback function. |
Unregister the custom callback function.
Definition at line 998 of file gsttensor_decoder.c.
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.
[in] | input | the input memory containing tensors |
[in] | config | input tensors config |
[in] | data | private data for the callback |
[out] | output | buffer filled by user |
Definition at line 32 of file tensor_decoder_custom.h.