2 * Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
3 * Copyright (C) 2017 Xilinx, Inc.
4 * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>, Collabora Ltd.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation
9 * version 2.1 of the License.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef __GST_OMX_H265_ENC_H__
23 #define __GST_OMX_H265_ENC_H__
26 #include "gstomxvideoenc.h"
30 #define GST_TYPE_OMX_H265_ENC \
31 (gst_omx_h265_enc_get_type())
32 #define GST_OMX_H265_ENC(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_H265_ENC,GstOMXH265Enc))
34 #define GST_OMX_H265_ENC_CLASS(klass) \
35 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OMX_H265_ENC,GstOMXH265EncClass))
36 #define GST_OMX_H265_ENC_GET_CLASS(obj) \
37 (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_OMX_H265_ENC,GstOMXH265EncClass))
38 #define GST_IS_OMX_H265_ENC(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_H265_ENC))
40 #define GST_IS_OMX_H265_ENC_CLASS(obj) \
41 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OMX_H265_ENC))
43 typedef struct _GstOMXH265Enc GstOMXH265Enc;
44 typedef struct _GstOMXH265EncClass GstOMXH265EncClass;
48 GstOMXVideoEnc parent;
51 guint32 interval_intraframes;
52 #ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS
53 guint32 periodicity_idr;
55 gboolean constrained_intra_prediction;
56 guint32 loop_filter_mode;
62 struct _GstOMXH265EncClass
64 GstOMXVideoEncClass parent_class;
67 GType gst_omx_h265_enc_get_type (void);
71 #endif /* __GST_OMX_H265_ENC_H__ */