GStreamer plugin to transform tensor dimension or type. More...
#include <gst/gst.h>
#include <gst/base/gstbasetransform.h>
#include <tensor_common.h>
#include <tensor_data.h>
Go to the source code of this file.
Classes | |
struct | _tensor_transform_dimchg |
Internal data structure for dimchg mode. More... | |
struct | _tensor_transform_typecast |
Internal data structure for typecast mode. More... | |
struct | tensor_transform_operator_s |
Internal data structure for operator of arithmetic mode. More... | |
struct | _tensor_transform_arithmetic |
Internal data structure for arithmetic mode. More... | |
struct | _tensor_transform_transpose |
Internal data structure for transpose mode. More... | |
struct | _tensor_transform_stand |
Internal data structure for stand mode. More... | |
struct | _tensor_transform_clamp |
Internal data structure for clamp mode. More... | |
struct | _tensor_transform_padding |
Internal data structure for padding mode. More... | |
struct | _GstTensorTransform |
Internal data structure for tensor_transform instances. More... | |
struct | _GstTensorTransformClass |
GstTensorTransformClass inherits GstBaseTransformClass. More... | |
Macros | |
#define | GST_TYPE_TENSOR_TRANSFORM (gst_tensor_transform_get_type()) |
#define | GST_TENSOR_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_TRANSFORM,GstTensorTransform)) |
#define | GST_TENSOR_TRANSFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_TRANSFORM,GstTensorTransformClass)) |
#define | GST_IS_TENSOR_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_TRANSFORM)) |
#define | GST_IS_TENSOR_TRANSFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_TRANSFORM)) |
#define | GST_TENSOR_TRANSFORM_CAST(obj) ((GstTensorTransform *)(obj)) |
Typedefs | |
typedef struct _GstTensorTransform | GstTensorTransform |
typedef struct _GstTensorTransformClass | GstTensorTransformClass |
typedef enum _tensor_transform_mode | tensor_transform_mode |
typedef struct _tensor_transform_dimchg | tensor_transform_dimchg |
Internal data structure for dimchg mode. More... | |
typedef struct _tensor_transform_typecast | tensor_transform_typecast |
Internal data structure for typecast mode. More... | |
typedef struct _tensor_transform_arithmetic | tensor_transform_arithmetic |
Internal data structure for arithmetic mode. More... | |
typedef struct _tensor_transform_transpose | tensor_transform_transpose |
Internal data structure for transpose mode. More... | |
typedef struct _tensor_transform_stand | tensor_transform_stand |
Internal data structure for stand mode. More... | |
typedef struct _tensor_transform_clamp | tensor_transform_clamp |
Internal data structure for clamp mode. More... | |
typedef struct _tensor_transform_padding | tensor_transform_padding |
Internal data structure for padding mode. More... | |
Enumerations | |
enum | _tensor_transform_mode { GTT_DIMCHG = 0, GTT_TYPECAST, GTT_ARITHMETIC, GTT_TRANSPOSE, GTT_STAND, GTT_CLAMP, GTT_PADDING, GTT_UNKNOWN = -1 } |
enum | tensor_transform_operator { GTT_OP_TYPECAST = 0, GTT_OP_ADD = 1, GTT_OP_MUL = 2, GTT_OP_DIV = 3, GTT_OP_UNKNOWN } |
enum | tensor_transform_stand_mode { STAND_DEFAULT = 0, STAND_DC_AVERAGE = 1, STAND_END } |
enum | tensor_transform_padding_axis { PADDING_LEFT = 0, PADDING_RIGHT = 1, PADDING_TOP = 2, PADDING_BOTTOM = 3, PADDING_FRONT = 4, PADDING_BACK = 5, PADDING_END } |
Functions | |
GType | gst_tensor_transform_get_type (void) |
Get Type function required for gst elements. More... | |
GStreamer plugin to transform tensor dimension or type.
GStreamer Copyright (C) 2005 Thomas Vander Stichele thoma Copyright (C) 2005 Ronald S. Bultje s@ap estaa rt.o rgrbult Copyright (C) 2018 MyungJoo Ham je@r onald .bit freak .netmyung 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.
Definition in file gsttensor_transform.h.
#define GST_IS_TENSOR_TRANSFORM | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_TRANSFORM)) |
Definition at line 48 of file gsttensor_transform.h.
#define GST_IS_TENSOR_TRANSFORM_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_TRANSFORM)) |
Definition at line 50 of file gsttensor_transform.h.
#define GST_TENSOR_TRANSFORM | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TENSOR_TRANSFORM,GstTensorTransform)) |
Definition at line 44 of file gsttensor_transform.h.
#define GST_TENSOR_TRANSFORM_CAST | ( | obj | ) | ((GstTensorTransform *)(obj)) |
Definition at line 52 of file gsttensor_transform.h.
#define GST_TENSOR_TRANSFORM_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TENSOR_TRANSFORM,GstTensorTransformClass)) |
Definition at line 46 of file gsttensor_transform.h.
#define GST_TYPE_TENSOR_TRANSFORM (gst_tensor_transform_get_type()) |
Definition at line 42 of file gsttensor_transform.h.
typedef struct _GstTensorTransform GstTensorTransform |
Definition at line 54 of file gsttensor_transform.h.
typedef struct _GstTensorTransformClass GstTensorTransformClass |
Definition at line 55 of file gsttensor_transform.h.
typedef struct _tensor_transform_arithmetic tensor_transform_arithmetic |
Internal data structure for arithmetic mode.
typedef struct _tensor_transform_clamp tensor_transform_clamp |
Internal data structure for clamp mode.
typedef struct _tensor_transform_dimchg tensor_transform_dimchg |
Internal data structure for dimchg mode.
typedef enum _tensor_transform_mode tensor_transform_mode |
typedef struct _tensor_transform_padding tensor_transform_padding |
Internal data structure for padding mode.
typedef struct _tensor_transform_stand tensor_transform_stand |
Internal data structure for stand mode.
typedef struct _tensor_transform_transpose tensor_transform_transpose |
Internal data structure for transpose mode.
typedef struct _tensor_transform_typecast tensor_transform_typecast |
Internal data structure for typecast mode.
Enumerator | |
---|---|
GTT_DIMCHG | |
GTT_TYPECAST | |
GTT_ARITHMETIC | |
GTT_TRANSPOSE | |
GTT_STAND | |
GTT_CLAMP | |
GTT_PADDING | |
GTT_UNKNOWN |
Definition at line 57 of file gsttensor_transform.h.
Enumerator | |
---|---|
GTT_OP_TYPECAST | |
GTT_OP_ADD | |
GTT_OP_MUL | |
GTT_OP_DIV | |
GTT_OP_UNKNOWN |
Definition at line 70 of file gsttensor_transform.h.
Enumerator | |
---|---|
PADDING_LEFT | |
PADDING_RIGHT | |
PADDING_TOP | |
PADDING_BOTTOM | |
PADDING_FRONT | |
PADDING_BACK | |
PADDING_END |
Definition at line 87 of file gsttensor_transform.h.
Enumerator | |
---|---|
STAND_DEFAULT | |
STAND_DC_AVERAGE | |
STAND_END |
Definition at line 80 of file gsttensor_transform.h.
GType gst_tensor_transform_get_type | ( | void | ) |
Get Type function required for gst elements.