Doxygen Book
nnstreamer_plugin_api_filter.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
14 #ifndef __NNS_PLUGIN_API_FILTER_H__
15 #define __NNS_PLUGIN_API_FILTER_H__
16 
17 #include "tensor_typedef.h"
18 
20 #define ACCL_NONE_STR "none"
21 #define ACCL_DEFAULT_STR "default"
22 #define ACCL_AUTO_STR "auto"
23 #define ACCL_CPU_STR "cpu"
24 #define ACCL_CPU_SIMD_STR "cpu.simd"
25 #define ACCL_CPU_NEON_STR "cpu.neon"
26 #define ACCL_GPU_STR "gpu"
27 
28 #define ACCL_NPU_STR "npu"
29 #define ACCL_NPU_MOVIDIUS_STR "npu.movidius"
30 #define ACCL_NPU_EDGE_TPU_STR "npu.edgetpu"
31 #define ACCL_NPU_VIVANTE_STR "npu.vivante"
32 #define ACCL_NPU_SRCN_STR "npu.srcn"
33 #define ACCL_NPU_SLSI_STR "npu.slsi"
34 #define ACCL_NPU_SR_STR "npu.sr"
35 
36 #define GST_TENSOR_FILTER_FRAMEWORK_BASE (0xDEAFDEAD00000000ULL)
37 #define GST_TENSOR_FILTER_FRAMEWORK_V0 (GST_TENSOR_FILTER_FRAMEWORK_BASE)
38 #define GST_TENSOR_FILTER_FRAMEWORK_V1 (GST_TENSOR_FILTER_FRAMEWORK_BASE | 0x10000ULL)
39 
40 #define GST_TENSOR_FILTER_API_VERSION_DEFINED (1)
41 #define GST_TENSOR_FILTER_API_VERSION_MIN (0) /* The minimum API version supported (could be obsolete) */
42 #define GST_TENSOR_FILTER_API_VERSION_MAX (1) /* The maximum API version supported (recommended) */
43 
47 #define checkGstTensorFilterFrameworkVersion(value, version) \
48  ((GST_TENSOR_FILTER_FRAMEWORK_BASE | ((version) << 16)) == (value & 0xFFFFFFFFFFFF0000ULL))
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
80 typedef enum
81 {
83  ACCL_NONE = 0,
86  ACCL_AUTO = 0x1,
87  ACCL_DEFAULT = 0x2,
90  ACCL_CPU = 0x1000,
91  ACCL_CPU_SIMD = 0x1100,
92  ACCL_CPU_NEON = 0x1100,
93  ACCL_GPU = 0x2000,
95  ACCL_NPU = 0x4000,
96  ACCL_NPU_MOVIDIUS = 0x4001,
97  ACCL_NPU_EDGE_TPU = 0x4002,
98  ACCL_NPU_VIVANTE = 0x4003,
99  ACCL_NPU_SRCN = 0x4004,
100  ACCL_NPU_SLSI = 0x4005,
101  ACCL_NPU_SR = 0x4100,
102 } accl_hw;
103 
105 
113 {
114  const char *fwname;
115  int fw_opened;
116  const char **model_files;
129  const char *custom_properties;
131  int num_hw;
132  const char *accl_str;
135  int latency;
139  uint32_t suspend;
141 
146 {
151 
159 {
160  const char *name;
165  const accl_hw *hw_list;
166  int num_hw;
171 
177 typedef enum
178 {
186 } event_ops;
187 
191 typedef enum
192 {
196 
201 {
203  union {
205  struct {
206  void * data;
207  };
208 
210  struct {
211  const char **model_files;
213  };
214 
216  struct {
217  const char *custom_properties;
218  };
219 
221  struct {
224  };
225 
227  struct {
229  int num_hw;
230  };
231 
233  struct {
235  const char *custom;
236  };
237  };
239 
241 
250 {
251  uint64_t version;
257  int (*open) (const GstTensorFilterProperties * prop, void **private_data);
267  void (*close) (const GstTensorFilterProperties * prop, void **private_data);
277  union
278  {
282  struct
283  {
284  char *name;
292  int (*invoke_NN) (const GstTensorFilterProperties * prop, void **private_data,
293  const GstTensorMemory * input, GstTensorMemory * output);
304  void **private_data, GstTensorsInfo * info);
316  void **private_data, GstTensorsInfo * info);
328  void **private_data, const GstTensorsInfo * in_info,
329  GstTensorsInfo * out_info);
346  void (*destroyNotify) (void **private_data, void * data);
353  int (*reloadModel) (const GstTensorFilterProperties * prop, void **private_data);
378  int (*allocateInInvoke) (void **private_data);
384  }
385 #ifdef NO_ANONYMOUS_NESTED_STRUCT
386  v0
387 #endif
388  ;
389 
393  struct
394  {
395  int (*invoke) (const GstTensorFilterFramework * self,
396  GstTensorFilterProperties * prop, void *private_data,
397  const GstTensorMemory * input, GstTensorMemory * output);
408  const GstTensorFilterProperties * prop, void *private_data,
422  void *private_data, model_info_ops ops,
423  GstTensorsInfo *in_info, GstTensorsInfo *out_info);
447  void *private_data, event_ops ops, GstTensorFilterFrameworkEventData * data);
465  }
466 #ifdef NO_ANONYMOUS_NESTED_STRUCT
467  v1
468 #endif
469  ;
470  };
471 };
472 
473 /* extern functions for subplugin management, exist in tensor_filter_common.c */
481 extern int
483 
488 extern void
489 nnstreamer_filter_exit (const char *name);
490 
496 extern const GstTensorFilterFramework *
497 nnstreamer_filter_find (const char *name);
498 
502 extern void
503 nnstreamer_filter_set_custom_property_desc (const char *name, const char *prop, ...);
504 
508 extern accl_hw
509 get_accl_hw_type (const char * str);
510 
514 extern const char *
515 get_accl_hw_str (const accl_hw key);
516 
523 typedef struct {
524  const char *in_accl;
525  const char **sup_accl;
526  const char *auto_accl;
527  const char *def_accl;
529 
539 extern accl_hw parse_accl_hw_fill (parse_accl_args accl_args);
540 
544 #define parse_accl_hw(...) parse_accl_hw_fill((parse_accl_args){__VA_ARGS__})
545 
546 /* extern functions for shared model representation */
553 void *
554 nnstreamer_filter_shared_model_get (void *instance, const char *key);
555 
556 /* extern functions for shared model representation */
564 extern void *
565 nnstreamer_filter_shared_model_insert_and_get (void *instance, char *key, void *interpreter);
566 
567 /* extern functions for shared model representation */
576 extern int
577 nnstreamer_filter_shared_model_remove (void *instance, const char *key,
578  void (*free_callback) (void *));
579 
580 /* extern functions for shared model representation */
590 extern void
591 nnstreamer_filter_shared_model_replace (void *instance, const char *key,
592  void *new_interpreter, void (*replace_callback) (void *, void *), void (*free_callback) (void*));
593 
594 #ifdef __cplusplus
595 }
596 #endif
597 
598 #endif /* __NNS_PLUGIN_API_FILTER_H__ */
accl_hw
accl_hw
acceleration hw properties.
Definition: nnstreamer_plugin_api_filter.h:80
_GstTensorFilterProperties::shared_tensor_filter_key
char * shared_tensor_filter_key
Definition: nnstreamer_plugin_api_filter.h:133
_GstTensorFilterFramework::run_without_model
int run_without_model
Definition: nnstreamer_plugin_api_filter.h:287
_GstTensorFilterFramework::invoke
int(* invoke)(const GstTensorFilterFramework *self, GstTensorFilterProperties *prop, void *private_data, const GstTensorMemory *input, GstTensorMemory *output)
Definition: nnstreamer_plugin_api_filter.h:395
_GstTensorFilterFramework::invoke_NN
int(* invoke_NN)(const GstTensorFilterProperties *prop, void **private_data, const GstTensorMemory *input, GstTensorMemory *output)
Definition: nnstreamer_plugin_api_filter.h:292
_GstTensorFilterFramework::getOutputDimension
int(* getOutputDimension)(const GstTensorFilterProperties *prop, void **private_data, GstTensorsInfo *info)
Definition: nnstreamer_plugin_api_filter.h:315
_GstTensorFilterFramework::open
int(* open)(const GstTensorFilterProperties *prop, void **private_data)
Definition: nnstreamer_plugin_api_filter.h:257
_GstTensorFilterFrameworkEventData::num_models
int num_models
Definition: nnstreamer_plugin_api_filter.h:212
data
svtc_1 data
Definition: gsttensor_if.c:844
NNS_TENSOR_SIZE_LIMIT
#define NNS_TENSOR_SIZE_LIMIT
The number of tensors NNStreamer supports is 256. The max memories of gst-buffer is 16 (See NNS_TENSO...
Definition: tensor_typedef.h:42
ACCL_GPU
@ ACCL_GPU
Definition: nnstreamer_plugin_api_filter.h:93
nnstreamer_filter_exit
void nnstreamer_filter_exit(const char *name)
Filter's sub-plugin may call this to unregister itself.
Definition: tensor_filter_common.c:638
_GstTensorFilterFramework::destroyNotify
void(* destroyNotify)(void **private_data, void *data)
Definition: nnstreamer_plugin_api_filter.h:346
_GstTensorFilterFrameworkEventData::data
void * data
Definition: nnstreamer_plugin_api_filter.h:206
_GstTensorFilterFramework::getInputDimension
int(* getInputDimension)(const GstTensorFilterProperties *prop, void **private_data, GstTensorsInfo *info)
Definition: nnstreamer_plugin_api_filter.h:303
_GstTensorFilterFrameworkInfo::allocate_in_invoke
int allocate_in_invoke
Definition: nnstreamer_plugin_api_filter.h:162
GstTensorsInfo
Internal meta data exchange format for a other/tensors instance.
Definition: tensor_typedef.h:273
parse_accl_args::sup_accl
const char ** sup_accl
Definition: nnstreamer_plugin_api_filter.h:525
_GstTensorFilterFrameworkInfo::accl_auto
accl_hw accl_auto
Definition: nnstreamer_plugin_api_filter.h:167
SET_ACCELERATOR
@ SET_ACCELERATOR
Definition: nnstreamer_plugin_api_filter.h:184
prop
GstTensorSrcIIOChannelProperties * prop
DTYPE_UNSIGNED ( .
Definition: gsttensor_srciio.c:110
_GstTensorFilterFrameworkEventData::custom_properties
const char * custom_properties
Definition: nnstreamer_plugin_api_filter.h:217
_GstTensorFilterProperties::fw_opened
int fw_opened
Definition: nnstreamer_plugin_api_filter.h:115
_GstTensorFilterProperties::output_configured
int output_configured
Definition: nnstreamer_plugin_api_filter.h:124
ACCL_NPU_MOVIDIUS
@ ACCL_NPU_MOVIDIUS
Definition: nnstreamer_plugin_api_filter.h:96
_GstTensorFilterFrameworkEventData::model_files
const char ** model_files
Definition: nnstreamer_plugin_api_filter.h:211
_GstTensorFilterFrameworkStatistics::total_invoke_latency
int64_t total_invoke_latency
Definition: nnstreamer_plugin_api_filter.h:148
ACCL_NONE
@ ACCL_NONE
Definition: nnstreamer_plugin_api_filter.h:83
_GstTensorFilterFrameworkStatistics
Structure definition for tensor-filter framework statistics.
Definition: nnstreamer_plugin_api_filter.h:145
SET_INPUT_PROP
@ SET_INPUT_PROP
Definition: nnstreamer_plugin_api_filter.h:182
_GstTensorFilterProperties::suspend
uint32_t suspend
Definition: nnstreamer_plugin_api_filter.h:139
CUSTOM_PROP
@ CUSTOM_PROP
Definition: nnstreamer_plugin_api_filter.h:181
GstTensorMemory
The unit of each data tensors. It will be used as an input/output tensor of other/tensors.
Definition: tensor_typedef.h:252
_GstTensorFilterProperties::accl_str
const char * accl_str
Definition: nnstreamer_plugin_api_filter.h:132
_GstTensorFilterFramework
Tensor_Filter Subplugin definition.
Definition: nnstreamer_plugin_api_filter.h:249
_GstTensorFilterFramework::version
uint64_t version
Definition: nnstreamer_plugin_api_filter.h:251
tensors_layout
tensor_layout tensors_layout[NNS_TENSOR_SIZE_LIMIT]
Definition: nnstreamer_plugin_api_filter.h:104
model_info_ops
model_info_ops
Tensor_Filter Subplugin's model related info gathering operations.
Definition: nnstreamer_plugin_api_filter.h:191
nnstreamer_filter_shared_model_replace
void nnstreamer_filter_shared_model_replace(void *instance, const char *key, void *new_interpreter, void(*replace_callback)(void *, void *), void(*free_callback)(void *))
Helper to reload interpreter for instances that has shared key. replace_callback is called iterating ...
Definition: tensor_filter_common.c:3128
ACCL_NPU_VIVANTE
@ ACCL_NPU_VIVANTE
Definition: nnstreamer_plugin_api_filter.h:98
_GstTensorFilterProperties::input_layout
tensors_layout input_layout
Definition: nnstreamer_plugin_api_filter.h:121
nnstreamer_filter_find
const GstTensorFilterFramework * nnstreamer_filter_find(const char *name)
Find filter sub-plugin with the name.
Definition: tensor_filter_common.c:697
_GstTensorFilterFramework::eventHandler
int(* eventHandler)(const GstTensorFilterFramework *self, const GstTensorFilterProperties *prop, void *private_data, event_ops ops, GstTensorFilterFrameworkEventData *data)
Definition: nnstreamer_plugin_api_filter.h:445
SET_OUTPUT_PROP
@ SET_OUTPUT_PROP
Definition: nnstreamer_plugin_api_filter.h:183
nnstreamer_filter_set_custom_property_desc
void nnstreamer_filter_set_custom_property_desc(const char *name, const char *prop,...)
set custom property description for tensor filter sub-plugin
Definition: tensor_filter_common.c:647
_GstTensorFilterProperties::model_files
const char ** model_files
Definition: nnstreamer_plugin_api_filter.h:116
ACCL_CPU
@ ACCL_CPU
Definition: nnstreamer_plugin_api_filter.h:90
DESTROY_NOTIFY
@ DESTROY_NOTIFY
Definition: nnstreamer_plugin_api_filter.h:179
nnstreamer_filter_shared_model_get
void * nnstreamer_filter_shared_model_get(void *instance, const char *key)
Get the shared model representation that is already shared and has the same key.
Definition: tensor_filter_common.c:2993
get_accl_hw_str
const char * get_accl_hw_str(const accl_hw key)
return string based on accl_hw type
Definition: tensor_filter_common.c:2598
_GstTensorFilterFrameworkEventData::hw_list
accl_hw * hw_list
Definition: nnstreamer_plugin_api_filter.h:228
event_ops
event_ops
Tensor_Filter Subplugin related events.
Definition: nnstreamer_plugin_api_filter.h:177
_GstTensorFilterFramework::name
char * name
Definition: nnstreamer_plugin_api_filter.h:284
parse_accl_args::def_accl
const char * def_accl
Definition: nnstreamer_plugin_api_filter.h:527
parse_accl_args
Accelerator related arguments for parsing.
Definition: nnstreamer_plugin_api_filter.h:523
GET_IN_OUT_INFO
@ GET_IN_OUT_INFO
Definition: nnstreamer_plugin_api_filter.h:193
CHECK_HW_AVAILABILITY
@ CHECK_HW_AVAILABILITY
Definition: nnstreamer_plugin_api_filter.h:185
nnstreamer_filter_shared_model_remove
int nnstreamer_filter_shared_model_remove(void *instance, const char *key, void(*free_callback)(void *))
Remove the instance registered at the referred list of shared model table. If referred list is empty,...
Definition: tensor_filter_common.c:3081
GstTensorFilterProperties
struct _GstTensorFilterProperties GstTensorFilterProperties
GstTensorFilter's properties for NN framework (internal data structure)
_GstTensorFilterFramework::checkAvailability
int(* checkAvailability)(accl_hw hw)
Definition: nnstreamer_plugin_api_filter.h:371
tensor_layout
enum _nns_tensor_layout tensor_layout
Tensor layout format for other/tensor.
_GstTensorFilterFrameworkInfo::statistics
const GstTensorFilterFrameworkStatistics * statistics
Definition: nnstreamer_plugin_api_filter.h:169
_GstTensorFilterFrameworkInfo
Tensor_Filter Subplugin framework related information.
Definition: nnstreamer_plugin_api_filter.h:158
parse_accl_args::auto_accl
const char * auto_accl
Definition: nnstreamer_plugin_api_filter.h:526
RELOAD_MODEL
@ RELOAD_MODEL
Definition: nnstreamer_plugin_api_filter.h:180
_GstTensorFilterProperties::num_models
int num_models
Definition: nnstreamer_plugin_api_filter.h:117
_GstTensorFilterFrameworkEventData
User data for the tensor_tilter subplugin related events.
Definition: nnstreamer_plugin_api_filter.h:200
_GstTensorFilterFramework::statistics
const GstTensorFilterFrameworkStatistics * statistics
Definition: nnstreamer_plugin_api_filter.h:290
_GstTensorFilterFrameworkEventData::layout
tensors_layout layout
Definition: nnstreamer_plugin_api_filter.h:223
_GstTensorFilterFrameworkStatistics::total_invoke_num
int64_t total_invoke_num
Definition: nnstreamer_plugin_api_filter.h:147
_GstTensorFilterFramework::allocate_in_invoke
int allocate_in_invoke
Definition: nnstreamer_plugin_api_filter.h:286
tensor_typedef.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorFilterFrameworkEventData::num_hw
int num_hw
Definition: nnstreamer_plugin_api_filter.h:229
_GstTensorFilterProperties::input_configured
int input_configured
Definition: nnstreamer_plugin_api_filter.h:119
ACCL_NPU
@ ACCL_NPU
Definition: nnstreamer_plugin_api_filter.h:95
nnstreamer_filter_probe
int nnstreamer_filter_probe(GstTensorFilterFramework *tfsp)
Filter's sub-plugin should call this function to register itself.
Definition: tensor_filter_common.c:611
_GstTensorFilterFrameworkInfo::accl_default
accl_hw accl_default
Definition: nnstreamer_plugin_api_filter.h:168
_GstTensorFilterFrameworkInfo::hw_list
const accl_hw * hw_list
Definition: nnstreamer_plugin_api_filter.h:165
parse_accl_args::in_accl
const char * in_accl
Definition: nnstreamer_plugin_api_filter.h:524
_GstTensorFilterFrameworkInfo::num_hw
int num_hw
Definition: nnstreamer_plugin_api_filter.h:166
_GstTensorFilterFramework::reloadModel
int(* reloadModel)(const GstTensorFilterProperties *prop, void **private_data)
Definition: nnstreamer_plugin_api_filter.h:353
_GstTensorFilterProperties::fwname
const char * fwname
Definition: nnstreamer_plugin_api_filter.h:114
GstTensorFilterFrameworkInfo
struct _GstTensorFilterFrameworkInfo GstTensorFilterFrameworkInfo
Tensor_Filter Subplugin framework related information.
_GstTensorFilterProperties
GstTensorFilter's properties for NN framework (internal data structure)
Definition: nnstreamer_plugin_api_filter.h:112
parse_accl_hw_fill
accl_hw parse_accl_hw_fill(parse_accl_args accl_args)
parse user given string to extract accelerator based on given regex filling in optional arguments
Definition: tensor_filter_common.c:2833
_GstTensorFilterProperties::output_meta
GstTensorsInfo output_meta
Definition: nnstreamer_plugin_api_filter.h:125
ACCL_NPU_SRCN
@ ACCL_NPU_SRCN
Definition: nnstreamer_plugin_api_filter.h:99
ACCL_AUTO
@ ACCL_AUTO
Definition: nnstreamer_plugin_api_filter.h:86
_GstTensorFilterFrameworkInfo::run_without_model
int run_without_model
Definition: nnstreamer_plugin_api_filter.h:163
_GstTensorFilterProperties::input_meta
GstTensorsInfo input_meta
Definition: nnstreamer_plugin_api_filter.h:120
_GstTensorFilterFramework::setInputDimension
int(* setInputDimension)(const GstTensorFilterProperties *prop, void **private_data, const GstTensorsInfo *in_info, GstTensorsInfo *out_info)
Definition: nnstreamer_plugin_api_filter.h:327
_GstTensorFilterFramework::getModelInfo
int(* getModelInfo)(const GstTensorFilterFramework *self, const GstTensorFilterProperties *prop, void *private_data, model_info_ops ops, GstTensorsInfo *in_info, GstTensorsInfo *out_info)
Definition: nnstreamer_plugin_api_filter.h:420
_GstTensorFilterProperties::num_hw
int num_hw
Definition: nnstreamer_plugin_api_filter.h:131
_GstTensorFilterProperties::input_ranks
unsigned int input_ranks[NNS_TENSOR_SIZE_LIMIT]
Definition: nnstreamer_plugin_api_filter.h:122
_GstTensorFilterFramework::allocateInInvoke
int(* allocateInInvoke)(void **private_data)
Definition: nnstreamer_plugin_api_filter.h:378
SET_INPUT_INFO
@ SET_INPUT_INFO
Definition: nnstreamer_plugin_api_filter.h:194
_GstTensorFilterFramework::allow_in_place
int allow_in_place
Definition: nnstreamer_plugin_api_filter.h:285
_GstTensorFilterFrameworkEventData::custom
const char * custom
Definition: nnstreamer_plugin_api_filter.h:235
_GstTensorFilterProperties::output_ranks
unsigned int output_ranks[NNS_TENSOR_SIZE_LIMIT]
Definition: nnstreamer_plugin_api_filter.h:127
_GstTensorFilterFrameworkInfo::name
const char * name
Definition: nnstreamer_plugin_api_filter.h:160
_GstTensorFilterFramework::handleEvent
int(* handleEvent)(event_ops ops, GstTensorFilterFrameworkEventData *data)
Definition: nnstreamer_plugin_api_filter.h:361
_GstTensorFilterProperties::throughput
int throughput
Definition: nnstreamer_plugin_api_filter.h:136
_GstTensorFilterFramework::verify_model_path
int verify_model_path
Definition: nnstreamer_plugin_api_filter.h:288
GstTensorFilterFrameworkEventData
struct _GstTensorFilterFrameworkEventData GstTensorFilterFrameworkEventData
User data for the tensor_tilter subplugin related events.
_GstTensorFilterProperties::custom_properties
const char * custom_properties
Definition: nnstreamer_plugin_api_filter.h:129
ACCL_CPU_SIMD
@ ACCL_CPU_SIMD
Definition: nnstreamer_plugin_api_filter.h:91
ACCL_CPU_NEON
@ ACCL_CPU_NEON
Definition: nnstreamer_plugin_api_filter.h:92
_GstTensorFilterProperties::latency
int latency
Definition: nnstreamer_plugin_api_filter.h:135
GstTensorFilterFrameworkStatistics
struct _GstTensorFilterFrameworkStatistics GstTensorFilterFrameworkStatistics
Structure definition for tensor-filter framework statistics.
_GstTensorFilterFrameworkInfo::verify_model_path
int verify_model_path
Definition: nnstreamer_plugin_api_filter.h:164
_GstTensorFilterFramework::subplugin_data
void * subplugin_data
Definition: nnstreamer_plugin_api_filter.h:464
ACCL_NPU_SR
@ ACCL_NPU_SR
Definition: nnstreamer_plugin_api_filter.h:101
ACCL_NPU_SLSI
@ ACCL_NPU_SLSI
Definition: nnstreamer_plugin_api_filter.h:100
_GstTensorFilterProperties::hw_list
accl_hw * hw_list
Definition: nnstreamer_plugin_api_filter.h:130
get_accl_hw_type
accl_hw get_accl_hw_type(const char *str)
return accl_hw type from string
_GstTensorFilterFrameworkEventData::hw
accl_hw hw
Definition: nnstreamer_plugin_api_filter.h:234
_GstTensorFilterFrameworkInfo::allow_in_place
int allow_in_place
Definition: nnstreamer_plugin_api_filter.h:161
_GstTensorFilterFrameworkStatistics::total_overhead_latency
int64_t total_overhead_latency
Definition: nnstreamer_plugin_api_filter.h:149
nnstreamer_filter_shared_model_insert_and_get
void * nnstreamer_filter_shared_model_insert_and_get(void *instance, char *key, void *interpreter)
Insert the new shared model representation and get the value.
Definition: tensor_filter_common.c:3026
_GstTensorFilterFramework::getFrameworkInfo
int(* getFrameworkInfo)(const GstTensorFilterFramework *self, const GstTensorFilterProperties *prop, void *private_data, GstTensorFilterFrameworkInfo *fw_info)
Definition: nnstreamer_plugin_api_filter.h:407
ACCL_NPU_EDGE_TPU
@ ACCL_NPU_EDGE_TPU
Definition: nnstreamer_plugin_api_filter.h:97
_GstTensorFilterFrameworkEventData::info
const GstTensorsInfo * info
Definition: nnstreamer_plugin_api_filter.h:222
_GstTensorFilterProperties::invoke_dynamic
int invoke_dynamic
Definition: nnstreamer_plugin_api_filter.h:137
ACCL_DEFAULT
@ ACCL_DEFAULT
Definition: nnstreamer_plugin_api_filter.h:87
_GstTensorFilterFramework::close
void(* close)(const GstTensorFilterProperties *prop, void **private_data)
Definition: nnstreamer_plugin_api_filter.h:267
_GstTensorFilterProperties::output_layout
tensors_layout output_layout
Definition: nnstreamer_plugin_api_filter.h:126