Doxygen Book
nnstreamer_plugin_api_converter.h File Reference

Mandatory APIs for NNStreamer Converter sub-plugins (Need Gst Devel) More...

#include "tensor_typedef.h"
#include <gst/gst.h>
Include dependency graph for nnstreamer_plugin_api_converter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NNStreamerExternalConverter
 Converter's subplugin implementation. More...
 

Typedefs

typedef struct _NNStreamerExternalConverter NNStreamerExternalConverter
 Converter's subplugin implementation. More...
 

Functions

const NNStreamerExternalConverternnstreamer_converter_find (const char *name)
 Find converter sub-plugin with the name. More...
 
int registerExternalConverter (NNStreamerExternalConverter *ex)
 Converter's sub-plugin should call this function to register itself. More...
 
void unregisterExternalConverter (const char *prefix)
 Converter's sub-plugin may call this to unregister itself. More...
 
void nnstreamer_converter_set_custom_property_desc (const char *name, const char *prop,...)
 set custom property description for tensor converter sub-plugin More...
 

Detailed Description

Mandatory APIs for NNStreamer Converter sub-plugins (Need Gst Devel)

NNStreamer API for Tensor_Converter Sub-Plugins Copyright (C) 2019 MyungJoo Ham myung.nosp@m.joo..nosp@m.ham@s.nosp@m.amsu.nosp@m.ng.co.nosp@m.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.

Date
09 Dec 2019
See also
https://github.com/nnstreamer/nnstreamer
Author
MyungJoo Ham myung.nosp@m.joo..nosp@m.ham@s.nosp@m.amsu.nosp@m.ng.co.nosp@m.m
Bug:
No known bugs except for NYI items

Definition in file nnstreamer_plugin_api_converter.h.

Typedef Documentation

◆ NNStreamerExternalConverter

Converter's subplugin implementation.

Function Documentation

◆ nnstreamer_converter_find()

const NNStreamerExternalConverter* nnstreamer_converter_find ( const char *  name)

Find converter sub-plugin with the name.

Parameters
[in]nameThe name of converter sub-plugin.
Returns
NNStreamerExternalConverter if subplugin is found. NULL if not found or the sub-plugin object has an error.
Parameters
[in]nameThe name of converter sub-plugin.
Returns
NULL if not found or the sub-plugin object has an error.

Definition at line 2360 of file gsttensor_converter.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nnstreamer_converter_set_custom_property_desc()

void nnstreamer_converter_set_custom_property_desc ( const char *  name,
const char *  prop,
  ... 
)

set custom property description for tensor converter sub-plugin

Definition at line 2457 of file gsttensor_converter.c.

Here is the call graph for this function:

◆ registerExternalConverter()

int registerExternalConverter ( NNStreamerExternalConverter ex)

Converter's sub-plugin should call this function to register itself.

Parameters
[in]exConverter sub-plugin to be registered.
Returns
TRUE if registered. FALSE is failed or duplicated.

Converter's sub-plugin should call this function to register itself.

Definition at line 2389 of file gsttensor_converter.c.

Here is the call graph for this function:

◆ unregisterExternalConverter()

void unregisterExternalConverter ( const char *  name)

Converter's sub-plugin may call this to unregister itself.

Parameters
[in]prefixThe name of converter sub-plugin.

Converter's sub-plugin may call this to unregister itself.

Definition at line 2399 of file gsttensor_converter.c.

Here is the call graph for this function: