VDPAU
Main Page
Modules
Data Structures
Files
File List
Globals
vdpau
vdpau_x11.h
Go to the documentation of this file.
1
/*
2
* This source file is documented using Doxygen markup.
3
* See http://www.stack.nl/~dimitri/doxygen/
4
*/
5
6
/*
7
* This copyright notice applies to this header file:
8
*
9
* Copyright (c) 2008-2009 NVIDIA Corporation
10
*
11
* Permission is hereby granted, free of charge, to any person
12
* obtaining a copy of this software and associated documentation
13
* files (the "Software"), to deal in the Software without
14
* restriction, including without limitation the rights to use,
15
* copy, modify, merge, publish, distribute, sublicense, and/or sell
16
* copies of the Software, and to permit persons to whom the
17
* Software is furnished to do so, subject to the following
18
* conditions:
19
*
20
* The above copyright notice and this permission notice shall be
21
* included in all copies or substantial portions of the Software.
22
*
23
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
25
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
30
* OTHER DEALINGS IN THE SOFTWARE.
31
*/
32
41
#ifndef _VDPAU_X11_H
42
#define _VDPAU_X11_H
43
44
#include <X11/Xlib.h>
45
#include "
vdpau.h
"
46
47
#ifdef __cplusplus
48
extern
"C"
{
49
#endif
50
123
typedef
VdpStatus
VdpDeviceCreateX11
(
124
Display * display,
125
int
screen,
126
/* output parameters follow */
127
VdpDevice
* device,
128
VdpGetProcAddress
* * get_proc_address
129
);
130
136
VdpDeviceCreateX11
vdp_device_create_x11
;
137
158
typedef
VdpStatus
VdpPresentationQueueTargetCreateX11
(
159
VdpDevice
device,
160
Drawable drawable,
161
/* output parameters follow */
162
VdpPresentationQueueTarget
* target
163
);
164
166
#define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11 (VdpFuncId)(VDP_FUNC_ID_BASE_WINSYS + 0)
167
170
171
#ifdef __cplusplus
172
}
173
#endif
174
175
#endif
176
Generated by
1.8.3.1