xine-lib
1.2.13-20230125hg15249
xine-lib-1.2.13
src
video_out
vaapi
xine_va_display.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 the xine project
3
* Copyright (C) 2022 Petri Hintukainen <phintuka@users.sourceforge.net>
4
*
5
* This file is part of xine, a free video player.
6
*
7
* xine is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* xine 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
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20
*
21
* xine_va_display.h: VAAPI display (plugin loader)
22
*
23
*/
24
25
#ifndef XINE_VAAPI_H_
26
#define XINE_VAAPI_H_
27
28
#include <
xine.h
>
29
30
typedef
struct
xine_va_display_t
xine_va_display_t
;
31
32
struct
xine_va_display_t
{
33
void
*
va_display
;
34
35
void (*
dispose
) (
xine_va_display_t
**);
36
};
37
38
/* flags */
39
#define XINE_VA_DISPLAY_GLX 0x0001
/* Require GLX interop (vaCopySurfaceGLX) */
40
#define XINE_VA_DISPLAY_X11 0x0002
/* Require X11 interop (vaPutSurface) */
41
42
xine_va_display_t
*
_x_va_display_open
(
xine_t
*xine,
unsigned
visual_type,
const
void
*visual,
unsigned
flags);
43
44
#endif
/* XINE_VAAPI_H_ */
xine_s
Definition
xine_internal.h:80
xine_va_display_t
Definition
xine_va_display.h:32
xine_va_display_t::va_display
void * va_display
Definition
xine_va_display.h:33
xine_va_display_t::dispose
void(* dispose)(xine_va_display_t **)
Definition
xine_va_display.h:35
xine.h
_x_va_display_open
xine_va_display_t * _x_va_display_open(xine_t *xine, unsigned visual_type, const void *visual, unsigned flags)
Definition
xine_va_display.c:56
Generated by
1.10.0