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

« back to all changes in this revision

Viewing changes to gst-libs/gst/vaapi/gstvaapidisplay_drm.h

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2014-02-20 19:38:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140220193829-j0i1n457xrnwiy16
Tags: 0.5.7-0ubuntu1
Sync from Debian NEW.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  gstvaapidisplay_drm.h - VA/DRM display abstraction
 
3
 *
 
4
 *  Copyright (C) 2012-2013 Intel Corporation
 
5
 *    Author: Gwenole Beauchesne <gwenole.beauchesne@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_DISPLAY_DRM_H
 
24
#define GST_VAAPI_DISPLAY_DRM_H
 
25
 
 
26
#include <gst/vaapi/gstvaapidisplay.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define GST_VAAPI_DISPLAY_DRM(obj) \
 
31
    ((GstVaapiDisplayDRM *)(obj))
 
32
 
 
33
typedef struct _GstVaapiDisplayDRM              GstVaapiDisplayDRM;
 
34
 
 
35
GstVaapiDisplay *
 
36
gst_vaapi_display_drm_new(const gchar *device_path);
 
37
 
 
38
GstVaapiDisplay *
 
39
gst_vaapi_display_drm_new_with_device(gint device);
 
40
 
 
41
gint
 
42
gst_vaapi_display_drm_get_device(GstVaapiDisplayDRM *display);
 
43
 
 
44
const gchar *
 
45
gst_vaapi_display_drm_get_device_path(GstVaapiDisplayDRM *display);
 
46
 
 
47
G_END_DECLS
 
48
 
 
49
#endif /* GST_VAAPI_DISPLAY_DRM_H */