mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +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 <EbSvtAv1Enc.h>
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
#define GST_TYPE_SVTAV1ENC \
|
||||
(gst_svtav1enc_get_type())
|
||||
#define GST_SVTAV1ENC(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SVTAV1ENC,GstSvtAv1Enc))
|
||||
#define GST_TYPE_SVTAV1ENC (gst_svtav1enc_get_type())
|
||||
#define GST_SVTAV1ENC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_SVTAV1ENC, GstSvtAv1Enc))
|
||||
#define GST_SVTAV1ENC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SVTAV1ENC,GstSvtHevcEncClass))
|
||||
#define GST_IS_SVTAV1ENC(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SVTAV1ENC))
|
||||
#define GST_IS_SVTAV1ENC_CLASS(obj) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SVTAV1ENC))
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_SVTAV1ENC, GstSvtHevcEncClass))
|
||||
#define GST_IS_SVTAV1ENC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_SVTAV1ENC))
|
||||
#define GST_IS_SVTAV1ENC_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_SVTAV1ENC))
|
||||
|
||||
typedef struct _GstSvtAv1Enc
|
||||
{
|
||||
GstVideoEncoder video_encoder;
|
||||
typedef struct _GstSvtAv1Enc {
|
||||
GstVideoEncoder video_encoder;
|
||||
|
||||
/* SVT-AV1 Encoder Handle */
|
||||
EbComponentType *svt_encoder;
|
||||
/* SVT-AV1 Encoder Handle */
|
||||
EbComponentType *svt_encoder;
|
||||
|
||||
/* GStreamer Codec state */
|
||||
GstVideoCodecState *state;
|
||||
/* GStreamer Codec state */
|
||||
GstVideoCodecState *state;
|
||||
|
||||
/* SVT-AV1 configuration */
|
||||
EbSvtAv1EncConfiguration *svt_config;
|
||||
/* SVT-AV1 configuration */
|
||||
EbSvtAv1EncConfiguration *svt_config;
|
||||
|
||||
EbBufferHeaderType *input_buf;
|
||||
EbBufferHeaderType *input_buf;
|
||||
|
||||
long long int frame_count;
|
||||
int dts_offset;
|
||||
long long int frame_count;
|
||||
int dts_offset;
|
||||
} GstSvtAv1Enc;
|
||||
|
||||
typedef struct _GstSvtAv1EncClass
|
||||
{
|
||||
GstVideoEncoderClass video_encoder_class;
|
||||
typedef struct _GstSvtAv1EncClass {
|
||||
GstVideoEncoderClass video_encoder_class;
|
||||
} GstSvtAv1EncClass;
|
||||
|
||||
GType gst_svtav1enc_get_type (void);
|
||||
GType gst_svtav1enc_get_type(void);
|
||||
|
||||
G_END_DECLS
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue