Doxygen Book
tensor_converter_custom.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
16
#ifndef __NNS_TENSOR_CONVERTER_CUSTOM_H__
17
#define __NNS_TENSOR_CONVERTER_CUSTOM_H__
18
19
#include <glib.h>
20
#include <gst/gst.h>
21
#include "
tensor_typedef.h
"
22
23
G_BEGIN_DECLS
31
typedef
GstBuffer * (* tensor_converter_custom) (GstBuffer *in_buf,
32
void
*
data
,
GstTensorsConfig
*config);
33
41
extern
int
42
nnstreamer_converter_custom_register
(
const
gchar *name,
tensor_converter_custom
func,
void
*
data
);
43
49
extern
int
50
nnstreamer_converter_custom_unregister
(
const
gchar *name);
51
52
G_END_DECLS
53
#endif
/*__NNS_TENSOR_CONVERTER_CUSTOM_H__*/
data
svtc_1 data
Definition:
gsttensor_if.c:844
nnstreamer_converter_custom_register
int nnstreamer_converter_custom_register(const gchar *name, tensor_converter_custom func, void *data)
Register the custom callback function.
Definition:
gsttensor_converter.c:2473
nnstreamer_converter_custom_unregister
int nnstreamer_converter_custom_unregister(const gchar *name)
Unregister the custom callback function.
Definition:
gsttensor_converter.c:2500
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition:
tensor_typedef.h:284
tensor_typedef.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
tensor_converter_custom
G_BEGIN_DECLS typedef GstBuffer *(* tensor_converter_custom)(GstBuffer *in_buf, void *data, GstTensorsConfig *config)
Convert to tensors as customized operation.
Definition:
tensor_converter_custom.h:31
nnstreamer
include
tensor_converter_custom.h
Generated on Fri Nov 15 2024 12:16:03 for Doxygen Book by
1.8.17