~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to gst/vaapi/gstvaapiencode_h264.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  gstvaapiencode_h264.h - VA-API H.264 encoder
 
3
 *
 
4
 *  Copyright (C) 2012-2014 Intel Corporation
 
5
 *    Author: Wind Yuan <feng.yuan@intel.com>
 
6
 *    Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
 
7
 *
 
8
 *  This library is free software; you can redistribute it and/or
 
9
 *  modify it under the terms of the GNU Lesser General Public License
 
10
 *  as published by the Free Software Foundation; either version 2.1
 
11
 *  of the License, or (at your option) any later version.
 
12
 *
 
13
 *  This library is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 *  Lesser General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU Lesser General Public
 
19
 *  License along with this library; if not, write to the Free
 
20
 *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
21
 *  Boston, MA 02110-1301 USA
 
22
 */
 
23
 
 
24
#ifndef GST_VAAPIENCODE_H264_H
 
25
#define GST_VAAPIENCODE_H264_H
 
26
 
 
27
#include <gst/gst.h>
 
28
#include "gstvaapiencode.h"
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
#define GST_TYPE_VAAPIENCODE_H264 \
 
33
    (gst_vaapiencode_h264_get_type ())
 
34
#define GST_VAAPIENCODE_H264_CAST(obj) \
 
35
  ((GstVaapiEncodeH264 *)(obj))
 
36
#define GST_VAAPIENCODE_H264(obj) \
 
37
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VAAPIENCODE_H264, \
 
38
      GstVaapiEncodeH264))
 
39
#define GST_VAAPIENCODE_H264_CLASS(klass) \
 
40
  (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_VAAPIENCODE_H264, \
 
41
      GstVaapiEncodeH264Class))
 
42
#define GST_VAAPIENCODE_H264_GET_CLASS(obj) \
 
43
  (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VAAPIENCODE_H264, \
 
44
      GstVaapiEncodeH264Class))
 
45
#define GST_IS_VAAPIENCODE_H264(obj) \
 
46
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VAAPIENCODE_H264))
 
47
#define GST_IS_VAAPIENCODE_H264_CLASS(klass) \
 
48
  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_VAAPIENCODE_H264))
 
49
 
 
50
typedef struct _GstVaapiEncodeH264 GstVaapiEncodeH264;
 
51
typedef struct _GstVaapiEncodeH264Class GstVaapiEncodeH264Class;
 
52
 
 
53
struct _GstVaapiEncodeH264
 
54
{
 
55
  /*< private >*/
 
56
  GstVaapiEncode parent_instance;
 
57
 
 
58
  guint is_avc:1; /* [FALSE]=byte-stream (default); [TRUE]=avcC */
 
59
};
 
60
 
 
61
struct _GstVaapiEncodeH264Class
 
62
{
 
63
  /*< private >*/
 
64
  GstVaapiEncodeClass parent_class;
 
65
};
 
66
 
 
67
GType
 
68
gst_vaapiencode_h264_get_type (void) G_GNUC_CONST;
 
69
 
 
70
G_END_DECLS
 
71
 
 
72
#endif /* GST_VAAPIENCODE_H264_H */