Custom tensor post-processing interface for NNStreamer suite between NN developer-plugins and NNstreamer. More...
#include <errno.h>
#include <glib.h>
#include <gmodule.h>
#include "tensor_filter_custom.h"
#include "nnstreamer_plugin_api_filter.h"
#include "nnstreamer_conf.h"
#include <nnstreamer_log.h>
Go to the source code of this file.
Classes | |
struct | _internal_data |
internal_data More... | |
Typedefs | |
typedef struct _internal_data | internal_data |
Functions | |
void | init_filter_custom (void) |
Initialize this object for tensor_filter subplugin runtime register. More... | |
static int | custom_loadlib (const GstTensorFilterProperties *prop, void **private_data) |
Load the custom library. Will skip loading if it's already loaded. More... | |
static int | custom_open (const GstTensorFilterProperties *prop, void **private_data) |
The open callback for GstTensorFilterFramework. Called before anything else. More... | |
static int | custom_invoke (const GstTensorFilterProperties *prop, void **private_data, const GstTensorMemory *input, GstTensorMemory *output) |
The mandatory callback for GstTensorFilterFramework. More... | |
static int | custom_getInputDim (const GstTensorFilterProperties *prop, void **private_data, GstTensorsInfo *info) |
The optional callback for GstTensorFilterFramework. More... | |
static int | custom_getOutputDim (const GstTensorFilterProperties *prop, void **private_data, GstTensorsInfo *info) |
The optional callback for GstTensorFilterFramework. More... | |
static int | custom_setInputDim (const GstTensorFilterProperties *prop, void **private_data, const GstTensorsInfo *in_info, GstTensorsInfo *out_info) |
The set-input-dim callback for GstTensorFilterFramework. More... | |
static void | custom_close (const GstTensorFilterProperties *prop, void **private_data) |
Free privateData and move on. More... | |
static void | custom_destroyNotify (void **private_data, void *data) |
The optional callback for GstTensorFilterFramework. More... | |
static int | custom_allocateInInvoke (void **private_data) |
The optional callback for GstTensorFilterFramework. More... | |
static int | custom_checkAvailability (accl_hw hw) |
Check support of the backend. More... | |
void | fini_filter_custom (void) |
Destruct the subplugin. More... | |
Variables | |
static gchar | filter_subplugin_custom [] = "custom" |
static GstTensorFilterFramework | NNS_support_custom |
Custom tensor post-processing interface for NNStreamer suite between NN developer-plugins and NNstreamer.
GStreamer Tensor_Filter Module Copyright (C) 2018 MyungJoo Ham myung joo. ham@s amsu ng.co m
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; version 2.1 of the License.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
This is the per-NN-framework plugin (custom) for tensor_filter. Fill in "GstTensorFilterFramework" for tensor_filter.h/c
Definition in file tensor_filter_custom.c.
typedef struct _internal_data internal_data |
Definition at line 57 of file tensor_filter_custom.c.
|
static |
The optional callback for GstTensorFilterFramework.
Definition at line 283 of file tensor_filter_custom.c.
|
static |
Check support of the backend.
Definition at line 298 of file tensor_filter_custom.c.
|
static |
Free privateData and move on.
Definition at line 252 of file tensor_filter_custom.c.
|
static |
The optional callback for GstTensorFilterFramework.
Definition at line 267 of file tensor_filter_custom.c.
|
static |
The optional callback for GstTensorFilterFramework.
Definition at line 193 of file tensor_filter_custom.c.
|
static |
The optional callback for GstTensorFilterFramework.
Definition at line 212 of file tensor_filter_custom.c.
|
static |
The mandatory callback for GstTensorFilterFramework.
prop | The properties of parent object | |
[in] | input | The array of input tensors |
[out] | output | The array of output tensors |
Definition at line 167 of file tensor_filter_custom.c.
|
static |
Load the custom library. Will skip loading if it's already loaded.
Definition at line 64 of file tensor_filter_custom.c.
|
static |
The open callback for GstTensorFilterFramework. Called before anything else.
Definition at line 138 of file tensor_filter_custom.c.
|
static |
The set-input-dim callback for GstTensorFilterFramework.
Definition at line 231 of file tensor_filter_custom.c.
void fini_filter_custom | ( | void | ) |
Destruct the subplugin.
Definition at line 335 of file tensor_filter_custom.c.
void init_filter_custom | ( | void | ) |
Initialize this object for tensor_filter subplugin runtime register.
Definition at line 38 of file tensor_filter_custom.c.
|
static |
Definition at line 306 of file tensor_filter_custom.c.
|
static |
Definition at line 308 of file tensor_filter_custom.c.