mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gstreamer: Fix code style by running clang-format
This commit is contained in:
parent
7652026f0d
commit
80e364876b
2 changed files with 648 additions and 685 deletions
File diff suppressed because it is too large
Load diff
|
@ -14,44 +14,37 @@
|
||||||
#include <EbSvtAv1.h>
|
#include <EbSvtAv1.h>
|
||||||
#include <EbSvtAv1Enc.h>
|
#include <EbSvtAv1Enc.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
#define GST_TYPE_SVTAV1ENC \
|
#define GST_TYPE_SVTAV1ENC (gst_svtav1enc_get_type())
|
||||||
(gst_svtav1enc_get_type())
|
#define GST_SVTAV1ENC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_SVTAV1ENC, GstSvtAv1Enc))
|
||||||
#define GST_SVTAV1ENC(obj) \
|
|
||||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SVTAV1ENC,GstSvtAv1Enc))
|
|
||||||
#define GST_SVTAV1ENC_CLASS(klass) \
|
#define GST_SVTAV1ENC_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SVTAV1ENC,GstSvtHevcEncClass))
|
(G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_SVTAV1ENC, GstSvtHevcEncClass))
|
||||||
#define GST_IS_SVTAV1ENC(obj) \
|
#define GST_IS_SVTAV1ENC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_SVTAV1ENC))
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SVTAV1ENC))
|
#define GST_IS_SVTAV1ENC_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_SVTAV1ENC))
|
||||||
#define GST_IS_SVTAV1ENC_CLASS(obj) \
|
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SVTAV1ENC))
|
|
||||||
|
|
||||||
typedef struct _GstSvtAv1Enc
|
typedef struct _GstSvtAv1Enc {
|
||||||
{
|
GstVideoEncoder video_encoder;
|
||||||
GstVideoEncoder video_encoder;
|
|
||||||
|
|
||||||
/* SVT-AV1 Encoder Handle */
|
/* SVT-AV1 Encoder Handle */
|
||||||
EbComponentType *svt_encoder;
|
EbComponentType *svt_encoder;
|
||||||
|
|
||||||
/* GStreamer Codec state */
|
/* GStreamer Codec state */
|
||||||
GstVideoCodecState *state;
|
GstVideoCodecState *state;
|
||||||
|
|
||||||
/* SVT-AV1 configuration */
|
/* SVT-AV1 configuration */
|
||||||
EbSvtAv1EncConfiguration *svt_config;
|
EbSvtAv1EncConfiguration *svt_config;
|
||||||
|
|
||||||
EbBufferHeaderType *input_buf;
|
EbBufferHeaderType *input_buf;
|
||||||
|
|
||||||
long long int frame_count;
|
long long int frame_count;
|
||||||
int dts_offset;
|
int dts_offset;
|
||||||
} GstSvtAv1Enc;
|
} GstSvtAv1Enc;
|
||||||
|
|
||||||
typedef struct _GstSvtAv1EncClass
|
typedef struct _GstSvtAv1EncClass {
|
||||||
{
|
GstVideoEncoderClass video_encoder_class;
|
||||||
GstVideoEncoderClass video_encoder_class;
|
|
||||||
} GstSvtAv1EncClass;
|
} GstSvtAv1EncClass;
|
||||||
|
|
||||||
GType gst_svtav1enc_get_type (void);
|
GType gst_svtav1enc_get_type(void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue