xine-lib  1.2.9
accel_vdpau.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2013 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine 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
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  *
21  * Common acceleration definitions for vdpau
22  *
23  *
24  */
25 
26 #ifndef HAVE_XINE_ACCEL_VDPAU_H
27 #define HAVE_XINE_ACCEL_VDPAU_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 #ifdef HAVE_CONFIG_H
34 #include "config.h"
35 #endif
36 
37 #include <vdpau/vdpau.h>
38 
39 
40 typedef struct {
42 
43  VdpDevice vdp_device;
44 
45  VdpGetErrorString *vdp_get_error_string;
46  VdpDecoderCreate *vdp_decoder_create;
47  VdpDecoderDestroy *vdp_decoder_destroy;
48  VdpDecoderRender *vdp_decoder_render;
49 
50  VdpVideoSurface surface;
51  VdpChromaType chroma;
52 
53  int vdp_runtime_nr; /* this is used to keep in sync on preemptions */
55 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif
63 
Definition: accel_vdpau.h:40
vo_frame_t * vo_frame
Definition: accel_vdpau.h:41
VdpChromaType chroma
Definition: accel_vdpau.h:51
VdpDecoderDestroy * vdp_decoder_destroy
Definition: accel_vdpau.h:47
VdpDecoderCreate * vdp_decoder_create
Definition: accel_vdpau.h:46
VdpVideoSurface surface
Definition: accel_vdpau.h:50
VdpDevice vdp_device
Definition: accel_vdpau.h:43
Definition: video_out.h:60
VdpDecoderRender * vdp_decoder_render
Definition: accel_vdpau.h:48
int vdp_runtime_nr
Definition: accel_vdpau.h:53
VdpGetErrorString * vdp_get_error_string
Definition: accel_vdpau.h:45
int * current_vdp_runtime_nr
Definition: accel_vdpau.h:54