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

xine-lib 1.2.12

xine_hw_frame_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 * Plugin interface for HW decoder
22 *
23 */
24
25#ifndef XINE_HW_FRAME_PLUGIN_H_
26#define XINE_HW_FRAME_PLUGIN_H_
27
28#include <sys/types.h>
29
30#include <xine.h>
31#include <xine/xine_module.h>
32
33#include "hw_frame.h"
34
35#define HW_FRAME_PLUGIN_TYPE "hw_frame_v1"
36
37 typedef struct xine_hw_frame_plugin_s xine_hw_frame_plugin_t;
38
39 struct xine_hw_frame_plugin_s {
40 xine_module_t module;
41 xine_hwdec_t api;
42 xine_t *xine;
43};
44
45 typedef struct {
46 xine_t *xine;
47 unsigned visual_type;
48 const void *visual;
49 unsigned flags;
50 vo_driver_t *vo_driver;
51} hw_frame_plugin_params_t;
52
53#endif /* XINE_HW_FRAME_PLUGIN_H_ */
hw_frame.h
hw_frame_plugin_params_t
Definition: xine_hw_frame_plugin.h:45
hw_frame_plugin_params_t::vo_driver
vo_driver_t * vo_driver
Definition: xine_hw_frame_plugin.h:50
hw_frame_plugin_params_t::flags
unsigned flags
Definition: xine_hw_frame_plugin.h:49
hw_frame_plugin_params_t::visual
const void * visual
Definition: xine_hw_frame_plugin.h:48
hw_frame_plugin_params_t::xine
xine_t * xine
Definition: xine_hw_frame_plugin.h:46
hw_frame_plugin_params_t::visual_type
unsigned visual_type
Definition: xine_hw_frame_plugin.h:47
vo_driver_t
Definition: video_out.h:50
xine_hw_frame_plugin_s
Definition: xine_hw_frame_plugin.h:39
xine_hw_frame_plugin_s::xine
xine_t * xine
Definition: xine_hw_frame_plugin.h:42
xine_hw_frame_plugin_s::module
xine_module_t module
Definition: xine_hw_frame_plugin.h:40
xine_hw_frame_plugin_s::api
xine_hwdec_t api
Definition: xine_hw_frame_plugin.h:41
xine_hwdec_t
Definition: hw_frame.h:43
xine_module_s
Definition: xine_module.h:62
xine_s
Definition: xine_internal.h:80
xine.h
xine_module.h