• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef GST_VENC_MPEG4_H
17 #define GST_VENC_MPEG4_H
18 
19 #ifndef GST_API_EXPORT
20 #define GST_API_EXPORT __attribute__((visibility("default")))
21 #endif
22 
23 #include "gst_venc_base.h"
24 
25 G_BEGIN_DECLS
26 
27 #define GST_TYPE_VENC_Mpeg4 \
28     (gst_venc_mpeg4_get_type())
29 #define GST_VENC_Mpeg4(obj) \
30     (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_VENC_Mpeg4, GstVencMpeg4))
31 #define GST_VENC_Mpeg4_CLASS(klass) \
32     (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_VENC_Mpeg4, GstVencMpeg4Class))
33 #define GST_VENC_Mpeg4_GET_CLASS(obj) \
34     (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_VENC_Mpeg4, GstVencMpeg4Class))
35 #define GST_IS_VENC_Mpeg4(obj) \
36     (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_VENC_Mpeg4))
37 #define GST_IS_VENC_Mpeg4_CLASS(obj) \
38     (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_VENC_Mpeg4))
39 
40 typedef struct _GstVencMpeg4 GstVencMpeg4;
41 typedef struct _GstVencMpeg4Class GstVencMpeg4Class;
42 
43 struct _GstVencMpeg4 {
44     GstVencBase parent;
45 };
46 
47 struct _GstVencMpeg4Class {
48     GstVencBaseClass parent_class;
49 };
50 
51 GST_API_EXPORT GType gst_venc_mpeg4_get_type(void);
52 
53 G_END_DECLS
54 
55 #endif /* GST_VENC_MPEG4_H */
56