Debian Codegraph @

gst-libs/gst/wayland/gstwloutput.h

raw
1 /* GStreamer Wayland Library
2 *
3 * Copyright (C) 2025 Collabora Ltd.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 */
20
21 #pragma once
22
23 #include <gst/wayland/wayland-prelude.h>
24
25 G_BEGIN_DECLS
26
27 #define GST_TYPE_WL_OUTPUT (gst_wl_output_get_type ())
28
29 G_DECLARE_FINAL_TYPE (GstWlOutput, gst_wl_output, GST, WL_OUTPUT, GObject);
30
31 GST_WL_API
32 struct wl_output * gst_wl_output_get_wl_output (GstWlOutput *self);
33
34 GST_WL_API
35 guint32 gst_wl_output_get_id (GstWlOutput *self);
36
37 GST_WL_API
38 const gchar * gst_wl_output_get_name (GstWlOutput *self);
39
40 GST_WL_API
41 void gst_wl_output_info (GstWlOutput *self);
42
43 GST_WL_API
44 const gchar * gst_wl_output_get_decscription (GstWlOutput *self);
45
46 GST_WL_API
47 const gchar * gst_wl_output_get_make (GstWlOutput *self);
48
49 GST_WL_API
50 const gchar * gst_wl_output_get_model (GstWlOutput *self);
51
52 GST_WL_API
53 gint gst_wl_output_get_scale (GstWlOutput * self);
54
55 GST_WL_API
56 gint gst_wl_output_get_x (GstWlOutput *self);
57
58 GST_WL_API
59 gint gst_wl_output_get_y (GstWlOutput *self);
60
61 GST_WL_API
62 gint gst_wl_output_get_physical_width (GstWlOutput *self);
63
64 GST_WL_API
65 gint gst_wl_output_get_physical_height (GstWlOutput *self);
66
67 GST_WL_API
68 enum wl_output_subpixel gst_wl_output_get_subpixel (GstWlOutput *self);
69
70 GST_WL_API
71 enum wl_output_transform gst_wl_output_get_transform (GstWlOutput *self);
72
73 GST_WL_API
74 guint gst_wl_output_get_mode_flags (GstWlOutput *self);
75
76 GST_WL_API
77 gint gst_wl_output_get_width (GstWlOutput *self);
78
79 GST_WL_API
80 gint gst_wl_output_get_height (GstWlOutput *self);
81
82 GST_WL_API
83 gint gst_wl_output_get_refresh (GstWlOutput *self);
84
85 G_END_DECLS