Doxygen Book
nnstreamer_plugin_api_decoder.h File Reference

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

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

Go to the source code of this file.

Classes

struct  _GstTensorDecoderDef
 Decoder definitions for different semantics of tensors This allows developers to create their own decoders. More...
 

Typedefs

typedef struct _GstTensorDecoderDef GstTensorDecoderDef
 Decoder definitions for different semantics of tensors This allows developers to create their own decoders. More...
 

Functions

int nnstreamer_decoder_probe (GstTensorDecoderDef *decoder)
 Decoder's sub-plugin should call this function to register itself. More...
 
void nnstreamer_decoder_exit (const char *name)
 Decoder's sub-plugin may call this to unregister itself. More...
 
const GstTensorDecoderDefnnstreamer_decoder_find (const char *name)
 Find decoder sub-plugin with the name. More...
 
void nnstreamer_decoder_set_custom_property_desc (const char *name, const char *prop,...)
 set custom property description for tensor decoder sub-plugin More...
 

Detailed Description

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

NNStreamer API for Tensor_Decoder 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
30 Jan 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_decoder.h.

Typedef Documentation

◆ GstTensorDecoderDef

Decoder definitions for different semantics of tensors This allows developers to create their own decoders.

Function Documentation

◆ nnstreamer_decoder_exit()

void nnstreamer_decoder_exit ( const char *  name)

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

Parameters
[in]nameThe name of decoder sub-plugin.

Definition at line 166 of file gsttensor_decoder.c.

Here is the call graph for this function:

◆ nnstreamer_decoder_find()

const GstTensorDecoderDef* nnstreamer_decoder_find ( const char *  name)

Find decoder sub-plugin with the name.

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

Definition at line 177 of file gsttensor_decoder.c.

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

◆ nnstreamer_decoder_probe()

int nnstreamer_decoder_probe ( GstTensorDecoderDef decoder)

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

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

Definition at line 155 of file gsttensor_decoder.c.

Here is the call graph for this function:

◆ nnstreamer_decoder_set_custom_property_desc()

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

set custom property description for tensor decoder sub-plugin

Definition at line 186 of file gsttensor_decoder.c.

Here is the call graph for this function: