Doxygen Book
tensor_decoder_custom.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
16
#ifndef __NNS_TENSOR_DECODER_CUSTOM_H__
17
#define __NNS_TENSOR_DECODER_CUSTOM_H__
18
19
#include <glib.h>
20
#include <gst/gst.h>
21
#include "
tensor_typedef.h
"
22
23
G_BEGIN_DECLS
32
typedef
int (*
tensor_decoder_custom
) (
const
GstTensorMemory
*input,
33
const
GstTensorsConfig
*config,
void
*
data
, GstBuffer *out_buf);
34
42
extern
int
43
nnstreamer_decoder_custom_register
(
const
gchar *name,
tensor_decoder_custom
func,
void
*
data
);
44
50
extern
int
51
nnstreamer_decoder_custom_unregister
(
const
gchar *name);
52
53
G_END_DECLS
54
#endif
/*__NNS_TENSOR_DECODER_CUSTOM_H__*/
nnstreamer_decoder_custom_register
int nnstreamer_decoder_custom_register(const gchar *name, tensor_decoder_custom func, void *data)
Register the custom callback function.
Definition:
gsttensor_decoder.c:972
data
svtc_1 data
Definition:
gsttensor_if.c:844
GstTensorMemory
The unit of each data tensors. It will be used as an input/output tensor of other/tensors.
Definition:
tensor_typedef.h:252
nnstreamer_decoder_custom_unregister
int nnstreamer_decoder_custom_unregister(const gchar *name)
Unregister the custom callback function.
Definition:
gsttensor_decoder.c:998
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_decoder_custom
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.
Definition:
tensor_decoder_custom.h:32
nnstreamer
include
tensor_decoder_custom.h
Generated on Fri Nov 15 2024 12:16:03 for Doxygen Book by
1.8.17