xine-lib 1.2.11
xcbosd.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 * xcbosd.h, use X11 Nonrectangular Window Shape Extension to draw xine OSD
21 *
22 * Nov 2003 - Miguel Freitas
23 * Feb 2007 - ported to xcb by Christoph Pfister
24 *
25 * based on ideas and code of
26 * xosd Copyright (c) 2000 Andre Renaud (andre@ignavus.net)
27 */
28
29#ifndef XCBOSD_H
30#define XCBOSD_H
31
32#include <xine/vo_scale.h>
33
34typedef struct xcbosd xcbosd;
36
37xcbosd *xcbosd_create(xine_t *xine, xcb_connection_t *connection, xcb_screen_t *screen, xcb_window_t window, enum xcbosd_mode mode);
38
39void xcbosd_colorkey(xcbosd *osd, uint32_t colorkey, vo_scale_t *scaling);
40
41void xcbosd_destroy(xcbosd *osd);
42
43void xcbosd_expose(xcbosd *osd);
44
45void xcbosd_resize(xcbosd *osd, int width, int height);
46
47void xcbosd_drawable_changed(xcbosd *osd, xcb_window_t window);
48
49void xcbosd_clear(xcbosd *osd);
50
51void xcbosd_blend(xcbosd *osd, vo_overlay_t *overlay);
52
53#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: xcbosd.c:60
xine_t * xine
Definition: xcbosd.c:91
uint32_t colorkey
Definition: xcbosd.c:74
xcb_window_t window
Definition: xcbosd.c:67
xcb_connection_t * connection
Definition: xcbosd.c:61
xcb_screen_t * screen
Definition: xcbosd.c:62
Definition: xine_internal.h:80
void xcbosd_destroy(xcbosd *osd)
Definition: xcbosd.c:368
void xcbosd_colorkey(xcbosd *osd, uint32_t colorkey, vo_scale_t *scaling)
Definition: xcbosd.c:356
xcbosd_mode
Definition: xcbosd.h:35
@ XCBOSD_COLORKEY
Definition: xcbosd.h:35
@ XCBOSD_SHAPED
Definition: xcbosd.h:35
void xcbosd_blend(xcbosd *osd, vo_overlay_t *overlay)
Definition: xcbosd.c:435
xcbosd * xcbosd_create(xine_t *xine, xcb_connection_t *connection, xcb_screen_t *screen, xcb_window_t window, enum xcbosd_mode mode)
Definition: xcbosd.c:235
void xcbosd_resize(xcbosd *osd, int width, int height)
Definition: xcbosd.c:130
void xcbosd_clear(xcbosd *osd)
Definition: xcbosd.c:386
void xcbosd_drawable_changed(xcbosd *osd, xcb_window_t window)
Definition: xcbosd.c:163
void xcbosd_expose(xcbosd *osd)
Definition: xcbosd.c:95
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