Doxygen Book
gsttensor_rate.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
15
#ifndef __GST_TENSOR_RATE_H__
16
#define __GST_TENSOR_RATE_H__
17
18
#include <gst/gst.h>
19
#include <gst/base/gstbasetransform.h>
20
21
#include <
tensor_common.h
>
22
23
G_BEGIN_DECLS
24
#define GST_TYPE_TENSOR_RATE (gst_tensor_rate_get_type ())
25
#define GST_TENSOR_RATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TENSOR_RATE, GstTensorRate))
26
#define GST_TENSOR_RATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TENSOR_RATE, GstTensorRateClass))
27
#define GST_TENSOR_RATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TENSOR_RATE, GstTensorRateClass))
28
#define GST_IS_TENSOR_RATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_RATE))
29
#define GST_IS_TENSOR_RATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_RATE))
30
#define GST_TENSOR_RATE_CAST(obj)((GstTensorRate*)(obj))
31
typedef
struct
_GstTensorRate
GstTensorRate
;
32
typedef
struct
_GstTensorRateClass
GstTensorRateClass
;
33
37
struct
_GstTensorRate
38
{
39
GstBaseTransform
element
;
41
GstBuffer *
prevbuf
;
42
GstSegment
segment
;
43
guint64
out_frame_count
;
45
gboolean
sent_qos_on_passthrough
;
48
gint
from_rate_numerator
;
49
gint
from_rate_denominator
;
51
gint
to_rate_numerator
;
52
gint
to_rate_denominator
;
55
guint64
base_ts
;
56
guint64
prev_ts
;
57
guint64
next_ts
;
58
guint64
last_ts
;
61
guint64
in
,
out
,
dup
,
drop
;
62
gint
rate_n
,
rate_d
;
63
gboolean
silent
;
64
gboolean
throttle
;
65
};
66
70
struct
_GstTensorRateClass
71
{
72
GstBaseTransformClass
parent_class
;
73
};
74
78
GType
gst_tensor_rate_get_type
(
void
);
79
80
G_END_DECLS
81
#endif
/* __GST_TENSOR_RATE_H__ */
_GstTensorRate::in
guint64 in
Definition:
gsttensor_rate.h:61
_GstTensorRate::rate_n
gint rate_n
Definition:
gsttensor_rate.h:62
_GstTensorRate::dup
guint64 dup
Definition:
gsttensor_rate.h:61
_GstTensorRate::prevbuf
GstBuffer * prevbuf
Definition:
gsttensor_rate.h:41
_GstTensorRate::to_rate_numerator
gint to_rate_numerator
Definition:
gsttensor_rate.h:51
_GstTensorRate::base_ts
guint64 base_ts
Definition:
gsttensor_rate.h:55
_GstTensorRate
Tensor Rate data structure.
Definition:
gsttensor_rate.h:37
_GstTensorRate::segment
GstSegment segment
Definition:
gsttensor_rate.h:42
_GstTensorRate::out
guint64 out
Definition:
gsttensor_rate.h:61
_GstTensorRate::element
GstBaseTransform element
Definition:
gsttensor_rate.h:39
_GstTensorRateClass
GstTensorRateClass inherits GstElementClass.
Definition:
gsttensor_rate.h:70
_GstTensorRate::rate_d
gint rate_d
Definition:
gsttensor_rate.h:62
_GstTensorRate::prev_ts
guint64 prev_ts
Definition:
gsttensor_rate.h:56
_GstTensorRate::drop
guint64 drop
Definition:
gsttensor_rate.h:61
_GstTensorRate::throttle
gboolean throttle
Definition:
gsttensor_rate.h:64
_GstTensorRate::from_rate_numerator
gint from_rate_numerator
Definition:
gsttensor_rate.h:48
_GstTensorRate::sent_qos_on_passthrough
gboolean sent_qos_on_passthrough
Definition:
gsttensor_rate.h:45
_GstTensorRate::out_frame_count
guint64 out_frame_count
Definition:
gsttensor_rate.h:43
_GstTensorRate::last_ts
guint64 last_ts
Definition:
gsttensor_rate.h:58
gst_tensor_rate_get_type
GType gst_tensor_rate_get_type(void)
Get Type function required for gst elements.
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorRate::from_rate_denominator
gint from_rate_denominator
Definition:
gsttensor_rate.h:49
_GstTensorRateClass::parent_class
GstBaseTransformClass parent_class
Definition:
gsttensor_rate.h:72
_GstTensorRate::to_rate_denominator
gint to_rate_denominator
Definition:
gsttensor_rate.h:52
_GstTensorRate::silent
gboolean silent
Definition:
gsttensor_rate.h:63
_GstTensorRate::next_ts
guint64 next_ts
Definition:
gsttensor_rate.h:57
nnstreamer
elements
gsttensor_rate.h
Generated on Fri Nov 15 2024 12:16:02 for Doxygen Book by
1.8.17