Doxygen Book
gsttensor_repo.h File Reference

tensor repo header file for NNStreamer, the GStreamer plugin for neural networks More...

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

Go to the source code of this file.

Classes

struct  GstTensorRepoData
 GstTensorRepo internal data structure. More...
 
struct  GstTensorRepo
 GstTensorRepo data structure. More...
 

Functions

GstTensorRepoDatagst_tensor_repo_get_repodata (guint nth)
 Getter to get nth GstTensorRepoData. More...
 
gboolean gst_tensor_repo_add_repodata (guint myid, gboolean is_sink)
 Add GstTensorRepoData into repo. More...
 
gboolean gst_tensor_repo_set_buffer (guint nth, GstBuffer *buffer, GstCaps *caps)
 Push GstBuffer into repo. More...
 
gboolean gst_tensor_repo_check_eos (guint nth)
 Check EOS (End-of-Stream) of slot. More...
 
gboolean gst_tensor_repo_set_eos (guint nth)
 Set EOS (End-of-Stream) of slot. More...
 
gboolean gst_tensor_repo_set_changed (guint o_nth, guint nth, gboolean is_sink)
 Set the changing status of repo. More...
 
GstBuffer * gst_tensor_repo_get_buffer (guint nth, gboolean *eos, guint *newid, GstCaps **caps)
 Get GstTensorRepoData from repo. More...
 
gboolean gst_tensor_repo_check_changed (guint nth, guint *newid, gboolean is_sink)
 Check repo data is changed. More...
 
gboolean gst_tensor_repo_remove_repodata (guint nth)
 Remove nth GstTensorRepoData from GstTensorRepo. More...
 
void gst_tensor_repo_init (void)
 GstTensorRepo initialization. More...
 
gboolean gst_tensor_repo_wait (void)
 Wait for the repo initialization. More...
 

Detailed Description

tensor repo header file for NNStreamer, the GStreamer plugin for neural networks

NNStreamer Tensor Repo Header Copyright (C) 2018 Jijoong Moon jijoo.nosp@m.ng.m.nosp@m.oon@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
17 Nov 2018
See also
https://github.com/nnstreamer/nnstreamer
Author
Jijoong Moon jijoo.nosp@m.ng.m.nosp@m.oon@s.nosp@m.amsu.nosp@m.ng.co.nosp@m.m
Bug:
No known bugs except for NYI items

Definition in file gsttensor_repo.h.

Function Documentation

◆ gst_tensor_repo_add_repodata()

gboolean gst_tensor_repo_add_repodata ( guint  myid,
gboolean  is_sink 
)

Add GstTensorRepoData into repo.

Definition at line 129 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_check_changed()

gboolean gst_tensor_repo_check_changed ( guint  nth,
guint *  newid,
gboolean  is_sink 
)

Check repo data is changed.

Definition at line 255 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_check_eos()

gboolean gst_tensor_repo_check_eos ( guint  nth)

Check EOS (End-of-Stream) of slot.

Definition at line 236 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_get_buffer()

GstBuffer* gst_tensor_repo_get_buffer ( guint  nth,
gboolean *  eos,
guint *  newid,
GstCaps **  caps 
)

Get GstTensorRepoData from repo.

Definition at line 309 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_get_repodata()

GstTensorRepoData* gst_tensor_repo_get_repodata ( guint  nth)

Getter to get nth GstTensorRepoData.

Definition at line 74 of file gsttensor_repo.c.

Here is the caller graph for this function:

◆ gst_tensor_repo_init()

void gst_tensor_repo_init ( void  )

GstTensorRepo initialization.

Definition at line 386 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_remove_repodata()

gboolean gst_tensor_repo_remove_repodata ( guint  nth)

Remove nth GstTensorRepoData from GstTensorRepo.

Definition at line 357 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_set_buffer()

gboolean gst_tensor_repo_set_buffer ( guint  nth,
GstBuffer *  buffer,
GstCaps *  caps 
)

Push GstBuffer into repo.

Definition at line 193 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_set_changed()

gboolean gst_tensor_repo_set_changed ( guint  o_nth,
guint  nth,
gboolean  is_sink 
)

Set the changing status of repo.

Definition at line 91 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_set_eos()

gboolean gst_tensor_repo_set_eos ( guint  nth)

Set EOS (End-of-Stream) of slot.

Definition at line 287 of file gsttensor_repo.c.

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

◆ gst_tensor_repo_wait()

gboolean gst_tensor_repo_wait ( void  )

Wait for the repo initialization.

Wait for the repo initialization.

Definition at line 406 of file gsttensor_repo.c.

Here is the caller graph for this function: