6459c01b33131d691f8122f3e6b64ca8995f1e8c
[platform/upstream/gstreamer.git] / subprojects / gstreamer-vaapi / gst-libs / gst / vaapi / gstvaapiencoder_vp9.h
1 /*
2  *  gstvaapiencoder_vp9.h VP9 encoder
3  *
4  *  Copyright (C) 2016 Intel Corporation
5  *    Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
6  *
7  *  This library is free software; you can redistribute it and/or
8  *  modify it under the terms of the GNU Lesser General Public License
9  *  as published by the Free Software Foundation; either version 2.1
10  *  of the License, or (at your option) any later version.
11  *
12  *  This library is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  *  Lesser General Public License for more details.
16  *
17  *  You should have received a copy of the GNU Lesser General Public
18  *  License along with this library; if not, write to the Free
19  *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  *  Boston, MA 02110-1301 USA
21  */
22
23 #ifndef GST_VAAPI_ENCODER_VP9_H
24 #define GST_VAAPI_ENCODER_VP9_H
25
26 #include <gst/vaapi/gstvaapiencoder.h>
27
28 G_BEGIN_DECLS
29
30 #define GST_TYPE_VAAPI_ENCODER_VP9 \
31     (gst_vaapi_encoder_vp9_get_type ())
32 #define GST_VAAPI_ENCODER_VP9(encoder) \
33     (G_TYPE_CHECK_INSTANCE_CAST ((encoder), GST_TYPE_VAAPI_ENCODER_VP9, GstVaapiEncoderVP9))
34 #define GST_IS_VAAPI_ENCODER_VP9(encoder) \
35     (G_TYPE_CHECK_INSTANCE_TYPE ((encoder), GST_TYPE_VAAPI_ENCODER_VP9))
36
37 typedef struct _GstVaapiEncoderVP9 GstVaapiEncoderVP9;
38 typedef struct _GstVaapiEncoderVP9Class GstVaapiEncoderVP9Class;
39
40 GType
41 gst_vaapi_encoder_vp9_get_type (void) G_GNUC_CONST;
42
43 GstVaapiEncoder *
44 gst_vaapi_encoder_vp9_new (GstVaapiDisplay * display);
45
46 gboolean
47 gst_vaapi_encoder_vp9_set_allowed_profiles (GstVaapiEncoderVP9 * encoder,
48     GArray * profiles);
49
50 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVaapiEncoderVP9, gst_object_unref)
51
52 G_END_DECLS
53 #endif /*GST_VAAPI_ENCODER_VP9_H */