xine-lib: xine-lib-1.2.12/src/video_out/vaapi/xine_va_display_plugin.h Source File

xine-lib 1.2.12

xine_va_display_plugin.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2022 the xine project
3 * Copyright (C) 2018-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 VAAPI display interface plugin
22 * interface between VAAPI and native windowing system (X11/GLX/EGL/Wayland/...)
23 *
24 */
25
26#ifndef XINE_VA_DISPLAY_PLUGIN_H_
27#define XINE_VA_DISPLAY_PLUGIN_H_
28
29#include <sys/types.h>
30
31#include <xine.h>
32#include <xine/xine_module.h>
33
34#include "xine_va_display.h"
35
36#define VA_DISPLAY_PLUGIN_TYPE "va_display_v1"
37
38 typedef struct xine_va_display_plugin_s xine_va_display_plugin_t;
39
40 struct xine_va_display_plugin_s {
41 xine_module_t module;
42 xine_va_display_t display;
43 xine_t *xine;
44};
45
46 typedef struct {
47 xine_t *xine;
48 unsigned visual_type;
49 const void *visual;
50 unsigned flags;
51} va_display_plugin_params_t;
52
53#endif /* XINE_VA_DISPLAY_PLUGIN_H_ */
va_display_plugin_params_t
Definition: xine_va_display_plugin.h:46
va_display_plugin_params_t::xine
xine_t * xine
Definition: xine_va_display_plugin.h:47
va_display_plugin_params_t::flags
unsigned flags
Definition: xine_va_display_plugin.h:50
va_display_plugin_params_t::visual
const void * visual
Definition: xine_va_display_plugin.h:49
va_display_plugin_params_t::visual_type
unsigned visual_type
Definition: xine_va_display_plugin.h:48
xine_module_s
Definition: xine_module.h:62
xine_s
Definition: xine_internal.h:80
xine_va_display_plugin_s
Definition: xine_va_display_plugin.h:40
xine_va_display_plugin_s::xine
xine_t * xine
Definition: xine_va_display_plugin.h:43
xine_va_display_plugin_s::display
xine_va_display_t display
Definition: xine_va_display_plugin.h:42
xine_va_display_plugin_s::module
xine_module_t module
Definition: xine_va_display_plugin.h:41
xine_va_display_t
Definition: xine_va_display.h:32
xine.h
xine_module.h
xine_va_display.h