xine-lib  1.2.10
group_vdpau.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2018 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  * A group of video stream parsers using the VDPAU hardware decoder.
21  *
22  */
23 
24 #ifndef GROUP_VDPAU_H
25 #define GROUP_VDPAU_H 1
26 
27 #include <xine/xine_internal.h>
28 
29 /* TJ. My vdpau.h says
30 
31  typedef void * VdpPictureInfo;
32 
33  then defines arg #3 of VdpDecoderRender () as
34 
35  VdpPictureInfo const * picture_info
36 
37  This is obviously wrong. If this should have
38  been fixed in the meantime, change the following
39  define to 0.
40 */
41 
42 #if 1
43 # define CAST_VdpPictureInfo_PTR (void *)
44 #else
45 # define CAST_VdpPictureInfo_PTR (VdpPictureInfo *)
46 #endif
47 
48 void *h264_alter_init_plugin (xine_t *xine, const void *data);
49 void *h264_init_plugin (xine_t *xine, const void *data);
50 void *vc1_init_plugin (xine_t *xine, const void *data);
51 void *mpeg12_init_plugin (xine_t *xine, const void *data);
52 void *mpeg4_init_plugin (xine_t *xine, const void *data);
53 
54 #endif
xine_s
Definition: xine_internal.h:80
vc1_init_plugin
void * vc1_init_plugin(xine_t *xine, const void *data)
Definition: vdpau_vc1.c:1163
video_types_vc1
static const uint32_t video_types_vc1[]
Definition: group_vdpau.c:37
BUF_VIDEO_WMV9
#define BUF_VIDEO_WMV9
Definition: buffer.h:144
dec_info_video_mpeg12
static const decoder_info_t dec_info_video_mpeg12
Definition: group_vdpau.c:50
video_types_h264
static const uint32_t video_types_h264[]
Definition: group_vdpau.c:36
video_types_mpeg4
static const uint32_t video_types_mpeg4[]
Definition: group_vdpau.c:39
EXPORTED
const plugin_info_t xine_plugin_info[] EXPORTED
Definition: group_vdpau.c:57
dec_info_video_h264
static const decoder_info_t dec_info_video_h264
Definition: group_vdpau.c:48
NULL
NULL
Definition: xine_plugin.c:78
group_vdpau.h
BUF_VIDEO_XVID
#define BUF_VIDEO_XVID
Definition: buffer.h:118
decoder_info_t
Definition: xine_plugin.h:77
XINE_VERSION_CODE
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
dec_info_video_alterh264
static const decoder_info_t dec_info_video_alterh264
Definition: group_vdpau.c:47
decoder_info_t::supported_types
const uint32_t * supported_types
Definition: xine_plugin.h:78
video_types_mpeg12
static const uint32_t video_types_mpeg12[]
Definition: group_vdpau.c:38
PLUGIN_VIDEO_DECODER
#define PLUGIN_VIDEO_DECODER
Definition: xine_plugin.h:33
h264_init_plugin
void * h264_init_plugin(xine_t *xine, const void *data)
Definition: vdpau_h264.c:4390
BUF_VIDEO_DIVX5
#define BUF_VIDEO_DIVX5
Definition: buffer.h:117
BUF_VIDEO_VC1
#define BUF_VIDEO_VC1
Definition: buffer.h:190
BUF_VIDEO_3IVX
#define BUF_VIDEO_3IVX
Definition: buffer.h:115
BUF_VIDEO_H264
#define BUF_VIDEO_H264
Definition: buffer.h:166
BUF_VIDEO_MPEG
#define BUF_VIDEO_MPEG
Definition: buffer.h:90
mpeg4_init_plugin
void * mpeg4_init_plugin(xine_t *xine, const void *data)
Definition: vdpau_mpeg4.c:1162
PLUGIN_NONE
#define PLUGIN_NONE
Definition: xine_plugin.h:29
xine_internal.h
h264_alter_init_plugin
void * h264_alter_init_plugin(xine_t *xine, const void *data)
Definition: alterh264_decode.c:2479
config.h
dec_info_video_vc1
static const decoder_info_t dec_info_video_vc1
Definition: group_vdpau.c:49
mpeg12_init_plugin
void * mpeg12_init_plugin(xine_t *xine, const void *data)
Definition: vdpau_mpeg12.c:1106
h264_alter_init_plugin
void * h264_alter_init_plugin(xine_t *xine, const void *data)
Definition: alterh264_decode.c:2479
plugin_info_t
Definition: xine_plugin.h:55
BUF_VIDEO_MPEG4
#define BUF_VIDEO_MPEG4
Definition: buffer.h:91
dec_info_video_mpeg4
static const decoder_info_t dec_info_video_mpeg4
Definition: group_vdpau.c:51