Doxygen Book
gsttensor_srciio.h File Reference

GStreamer plugin to support linux IIO as tensor(s) More...

#include <gst/gst.h>
#include <gst/base/gstbasesrc.h>
#include <glib/gprintf.h>
#include <tensor_common.h>
#include <poll.h>
Include dependency graph for gsttensor_srciio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GstTensorSrcIIODeviceProperties
 GstTensorSrcIIO devices's properties (internal data structure) More...
 
struct  _GstTensorSrcIIOChannelProperties
 GstTensorSrcIIO channel's properties (internal data structure) More...
 
struct  _GstTensorSrcIIO
 GstTensorSrcIIO data structure. More...
 
struct  _GstTensorSrcIIOClass
 GstTensorSrcIIOClass data structure. More...
 

Macros

#define GST_TYPE_TENSOR_SRC_IIO   (gst_tensor_src_iio_get_type())
 
#define GST_TENSOR_SRC_IIO(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_SRC_IIO,GstTensorSrcIIO))
 
#define GST_TENSOR_SRC_IIO_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_SRC_IIO,GstTensorSrcIIOClass))
 
#define GST_IS_TENSOR_SRC_IIO(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_SRC_IIO))
 
#define GST_IS_TENSOR_SRC_IIO_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_SRC_IIO))
 
#define GST_TENSOR_SRC_IIO_CAST(obj)   ((GstTensorSrcIIO *)(obj))
 

Typedefs

typedef struct _GstTensorSrcIIO GstTensorSrcIIO
 
typedef struct _GstTensorSrcIIOClass GstTensorSrcIIOClass
 
typedef struct _GstTensorSrcIIODeviceProperties GstTensorSrcIIODeviceProperties
 GstTensorSrcIIO devices's properties (internal data structure) More...
 
typedef struct _GstTensorSrcIIOChannelProperties GstTensorSrcIIOChannelProperties
 GstTensorSrcIIO channel's properties (internal data structure) More...
 

Enumerations

enum  channels_enabled_options { CHANNELS_ENABLED_ALL, CHANNELS_ENABLED_AUTO, CHANNELS_ENABLED_CUSTOM }
 iio device channel enabled mode More...
 

Functions

GType gst_tensor_src_iio_get_type (void)
 Function to get type of tensor_src_iio. More...
 

Detailed Description

GStreamer plugin to support linux IIO as tensor(s)

GStreamer Tensor_Src_IIO Copyright (C) 2005 Thomas Vander Stichele thoma.nosp@m.s@ap.nosp@m.estaa.nosp@m.rt.o.nosp@m.rg Copyright (C) 2005 Ronald S. Bultje rbult.nosp@m.je@r.nosp@m.onald.nosp@m..bit.nosp@m.freak.nosp@m..net Copyright (C) 2019 Parichay Kapoor pk.ka.nosp@m.poor.nosp@m.@sams.nosp@m.ung..nosp@m.com

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
26 Feb 2019
See also
https://github.com/nnstreamer/nnstreamer
Author
Parichay Kapoor pk.ka.nosp@m.poor.nosp@m.@sams.nosp@m.ung..nosp@m.com
Bug:
No known bugs except for NYI items

Definition in file gsttensor_srciio.h.

Macro Definition Documentation

◆ GST_IS_TENSOR_SRC_IIO

#define GST_IS_TENSOR_SRC_IIO (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_SRC_IIO))

Definition at line 43 of file gsttensor_srciio.h.

◆ GST_IS_TENSOR_SRC_IIO_CLASS

#define GST_IS_TENSOR_SRC_IIO_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_SRC_IIO))

Definition at line 45 of file gsttensor_srciio.h.

◆ GST_TENSOR_SRC_IIO

#define GST_TENSOR_SRC_IIO (   obj)    (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_SRC_IIO,GstTensorSrcIIO))

Definition at line 39 of file gsttensor_srciio.h.

◆ GST_TENSOR_SRC_IIO_CAST

#define GST_TENSOR_SRC_IIO_CAST (   obj)    ((GstTensorSrcIIO *)(obj))

Definition at line 47 of file gsttensor_srciio.h.

◆ GST_TENSOR_SRC_IIO_CLASS

#define GST_TENSOR_SRC_IIO_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_SRC_IIO,GstTensorSrcIIOClass))

Definition at line 41 of file gsttensor_srciio.h.

◆ GST_TYPE_TENSOR_SRC_IIO

#define GST_TYPE_TENSOR_SRC_IIO   (gst_tensor_src_iio_get_type())

Definition at line 37 of file gsttensor_srciio.h.

Typedef Documentation

◆ GstTensorSrcIIO

Definition at line 48 of file gsttensor_srciio.h.

◆ GstTensorSrcIIOChannelProperties

GstTensorSrcIIO channel's properties (internal data structure)

◆ GstTensorSrcIIOClass

Definition at line 49 of file gsttensor_srciio.h.

◆ GstTensorSrcIIODeviceProperties

GstTensorSrcIIO devices's properties (internal data structure)

This data structure is used for both device/triggers, as triggers are also iio devices

Enumeration Type Documentation

◆ channels_enabled_options

iio device channel enabled mode

Enumerator
CHANNELS_ENABLED_ALL 
CHANNELS_ENABLED_AUTO 
CHANNELS_ENABLED_CUSTOM 

Definition at line 54 of file gsttensor_srciio.h.

Function Documentation

◆ gst_tensor_src_iio_get_type()

GType gst_tensor_src_iio_get_type ( void  )

Function to get type of tensor_src_iio.