xine-lib 1.2.11
combined_vdr.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2000-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
21#ifndef __COMBINED_VDR_H
22#define __COMBINED_VDR_H
23
24
25
27 int32_t x;
28 int32_t y;
29 int32_t w;
30 int32_t h;
31 int32_t w_ref;
32 int32_t h_ref;
33
35
36
37
39 int32_t x;
40 int32_t y;
41 int32_t w;
42 int32_t h;
43 double r;
44
46
47
48
50 uint8_t channels;
51
53
54
55
56inline static int vdr_is_vdr_stream(xine_stream_t *stream)
57{
58 if (!stream
59 || !stream->input_plugin
60 || !stream->input_plugin->input_class)
61 {
62 return 0;
63 }
64
65 if (stream->input_plugin->input_class->identifier &&
66 0 == strcmp(stream->input_plugin->input_class->identifier, "VDR"))
67 return 1;
68
69 return 0;
70}
71
72
73
74/* plugin class initialization function */
75void *vdr_input_init_plugin(xine_t *xine, const void *data);
76void *vdr_video_init_plugin(xine_t *xine, const void *data);
77void *vdr_audio_init_plugin(xine_t *xine, const void *data);
78
79
80
81#endif /* __COMBINED_VDR_H */
82
static int vdr_is_vdr_stream(xine_stream_t *stream)
Definition: combined_vdr.h:56
struct vdr_set_video_window_data_s vdr_set_video_window_data_t
struct vdr_frame_size_changed_data_s vdr_frame_size_changed_data_t
void * vdr_video_init_plugin(xine_t *xine, const void *data)
Definition: post_vdr_video.c:99
void * vdr_audio_init_plugin(xine_t *xine, const void *data)
Definition: post_vdr_audio.c:76
struct vdr_select_audio_data_s vdr_select_audio_data_t
void * vdr_input_init_plugin(xine_t *xine, const void *data)
Definition: input_vdr.c:2789
const char * identifier
short human readable identifier for this plugin class
Definition: input_plugin.h:49
input_class_t * input_class
Definition: input_plugin.h:225
Definition: combined_vdr.h:38
int32_t x
Definition: combined_vdr.h:39
double r
Definition: combined_vdr.h:43
int32_t w
Definition: combined_vdr.h:41
int32_t h
Definition: combined_vdr.h:42
int32_t y
Definition: combined_vdr.h:40
Definition: combined_vdr.h:49
uint8_t channels
Definition: combined_vdr.h:50
Definition: combined_vdr.h:26
int32_t h_ref
Definition: combined_vdr.h:32
int32_t w_ref
Definition: combined_vdr.h:31
int32_t h
Definition: combined_vdr.h:30
int32_t x
Definition: combined_vdr.h:27
int32_t y
Definition: combined_vdr.h:28
int32_t w
Definition: combined_vdr.h:29
Definition: xine_internal.h:80
Definition: xine_internal.h:123
input_plugin_t * input_plugin
Definition: xine_internal.h:132