Debian Codegraph @

gst-libs/gst/wayland/gstwllinuxdmabuf.h

raw symbols SCIP
1 /* GStreamer Wayland Library
2 *
3 * Copyright (C) 2016 STMicroelectronics SA
4 * Copyright (C) 2016 Fabien Dessenne <[email protected]>
5 * Copyright (C) 2022 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 Free
19 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301 USA.
21 */
22
23 #pragma once
24
25 #include <gst/wayland/wayland.h>
26
27 #include <gst/video/video.h>
28
29 G_BEGIN_DECLS
30
31 #ifndef GST_CAPS_FEATURE_MEMORY_DMABUF
32 #define GST_CAPS_FEATURE_MEMORY_DMABUF "memory:DMABuf"
33 #endif
34
35 GST_WL_API
36 void gst_wl_linux_dmabuf_init_once (void);
37
38 GST_WL_API
39 struct wl_buffer *gst_wl_linux_dmabuf_construct_wl_buffer (GstBuffer * buf,
40 GstWlDisplay * display, const GstVideoInfoDmaDrm * drm_info);
41
42 G_END_DECLS