Debian Codegraph @

gst-libs/gst/wayland/gstwlshmallocator.h

raw
1 /* GStreamer Wayland Library
2 *
3 * Copyright (C) 2012 Intel Corporation
4 * Copyright (C) 2012 Sreerenj Balachandran <[email protected]>
5 * Copyright (C) 2014 Collabora Ltd.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library 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 GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #pragma once
24
25 #include <gst/wayland/wayland.h>
26
27 #include <gst/allocators/allocators.h>
28 #include <gst/video/video.h>
29
30 G_BEGIN_DECLS
31
32 GST_WL_API
33 void gst_wl_shm_init_once (void);
34
35 GST_WL_API
36 struct wl_buffer * gst_wl_shm_memory_construct_wl_buffer (GstMemory * mem,
37 GstWlDisplay * display, const GstVideoInfo * info);
38
39 G_END_DECLS