NNStreamer APIs for tensor_converter custom condition. More...
Go to the source code of this file.
Functions | |
int | nnstreamer_converter_custom_register (const gchar *name, tensor_converter_custom func, void *data) |
Register the custom callback function. More... | |
int | nnstreamer_converter_custom_unregister (const gchar *name) |
Unregister the custom callback function. More... | |
Variables | |
G_BEGIN_DECLS typedef GstBuffer *(* | tensor_converter_custom )(GstBuffer *in_buf, void *data, GstTensorsConfig *config) |
Convert to tensors as customized operation. More... | |
NNStreamer APIs for tensor_converter custom condition.
GStreamer/NNStreamer Tensor-Converter Copyright (C) 2021 Gichan Jang gicha n2.j ang@s amsu ng.co m
Definition in file tensor_converter_custom.h.
int nnstreamer_converter_custom_register | ( | const gchar * | name, |
tensor_converter_custom | func, | ||
void * | data | ||
) |
Register the custom callback function.
[in] | name | The name of tensor_converter 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 2473 of file gsttensor_converter.c.
int nnstreamer_converter_custom_unregister | ( | const gchar * | name | ) |
Unregister the custom callback function.
[in] | name | The registered name of tensor_converter custom callback function. |
Unregister the custom callback function.
Definition at line 2500 of file gsttensor_converter.c.
G_BEGIN_DECLS typedef GstBuffer*(* tensor_converter_custom) (GstBuffer *in_buf, void *data, GstTensorsConfig *config) |
Convert to tensors as customized operation.
[in] | in_buf | the input stream buffer |
[in/out] | data private data for the callback | |
[out] | config | tensors config structure to be filled |
Definition at line 31 of file tensor_converter_custom.h.