xine-lib 1.2.11
x11osd.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2003-2009 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 * x11osd.h, use X11 Nonrectangular Window Shape Extension to draw xine OSD
21 *
22 * Nov 2003 - Miguel Freitas
23 *
24 * based on ideas and code of
25 * xosd Copyright (c) 2000 Andre Renaud (andre@ignavus.net)
26 */
27
28#ifndef X11OSD_H
29#define X11OSD_H
30
31#include <xine/vo_scale.h>
32
33typedef struct x11osd x11osd;
35
36x11osd *x11osd_create (xine_t *xine, Display *display, int screen, Window window, enum x11osd_mode mode);
37
38void x11osd_colorkey(x11osd * osd, uint32_t colorkey, vo_scale_t *scaling);
39
40void x11osd_destroy (x11osd * osd);
41
42void x11osd_expose (x11osd * osd);
43
44void x11osd_resize (x11osd * osd, int width, int height);
45
46void x11osd_drawable_changed (x11osd * osd, Window window);
47
48void x11osd_clear(x11osd *osd);
49
50void x11osd_blend(x11osd *osd, vo_overlay_t *overlay);
51
52#endif
unsigned int height
Definition: gfontrle.c:5
unsigned int width
Definition: gfontrle.c:4
Definition: video_out.h:472
Definition: vo_scale.h:39
Definition: x11osd.c:60
int screen
Definition: x11osd.c:62
uint32_t colorkey
Definition: x11osd.c:74
Window window
Definition: x11osd.c:67
Display * display
Definition: x11osd.c:61
xine_t * xine
Definition: x11osd.c:91
Definition: xine_internal.h:80
void x11osd_resize(x11osd *osd, int width, int height)
Definition: x11osd.c:129
x11osd_mode
Definition: x11osd.h:34
@ X11OSD_SHAPED
Definition: x11osd.h:34
@ X11OSD_COLORKEY
Definition: x11osd.h:34
void x11osd_drawable_changed(x11osd *osd, Window window)
Definition: x11osd.c:164
x11osd * x11osd_create(xine_t *xine, Display *display, int screen, Window window, enum x11osd_mode mode)
Definition: x11osd.c:244
void x11osd_blend(x11osd *osd, vo_overlay_t *overlay)
Definition: x11osd.c:445
void x11osd_destroy(x11osd *osd)
Definition: x11osd.c:388
void x11osd_colorkey(x11osd *osd, uint32_t colorkey, vo_scale_t *scaling)
Definition: x11osd.c:375
void x11osd_clear(x11osd *osd)
Definition: x11osd.c:406
void x11osd_expose(x11osd *osd)
Definition: x11osd.c:96
enable disable number of frames of telecine pattern sync required before mode change make frames evenly spaced for film mode(24 fps)" ) PARAM_ITEM( POST_PARAM_TYPE_BOOL