2 * gstvaapiutils_x11.h - X11 utilties
4 * Copyright (C) 2010-2011 Splitted-Desktop Systems
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation; either version 2.1
9 * of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free
18 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef GST_VAAPI_UTILS_X11_H
23 #define GST_VAAPI_UTILS_X11_H
31 x11_trap_errors(void);
35 x11_untrap_errors(void);
39 x11_create_window(Display *dpy, guint w, guint h, Visual *vis, Colormap cmap);
52 #endif /* GST_VAAPI_UTILS_X11_H */