/src/vlc/include/vlc_window.h
Line | Count | Source |
1 | | /***************************************************************************** |
2 | | * vlc_window.h: vlc_window definitions |
3 | | ***************************************************************************** |
4 | | * Copyright (C) 2008 Rémi Denis-Courmont |
5 | | * Copyright (C) 2009 Laurent Aimar |
6 | | * |
7 | | * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org> |
8 | | * |
9 | | * This program is free software; you can redistribute it and/or modify it |
10 | | * under the terms of the GNU Lesser General Public License as published by |
11 | | * the Free Software Foundation; either version 2.1 of the License, or |
12 | | * (at your option) any later version. |
13 | | * |
14 | | * This program is distributed in the hope that it will be useful, |
15 | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | | * GNU Lesser General Public License for more details. |
18 | | * |
19 | | * You should have received a copy of the GNU Lesser General Public License |
20 | | * along with this program; if not, write to the Free Software Foundation, |
21 | | * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
22 | | *****************************************************************************/ |
23 | | |
24 | | #ifndef VLC_VOUT_WINDOW_H |
25 | | #define VLC_VOUT_WINDOW_H 1 |
26 | | |
27 | | #include <stdarg.h> |
28 | | #include <vlc_common.h> |
29 | | |
30 | | /** |
31 | | * \defgroup video_window Video window |
32 | | * \ingroup video_output |
33 | | * Window management |
34 | | * |
35 | | * Window management provides a partial abstraction for windowing systems and |
36 | | * rendering targets (i.e. "windows"). See \ref vlc_window_t. |
37 | | * |
38 | | * @{ |
39 | | * \file |
40 | | * Window modules interface |
41 | | */ |
42 | | |
43 | | struct vlc_window; |
44 | | struct wl_display; |
45 | | struct wl_surface; |
46 | | typedef struct vlc_icc_profile_t vlc_icc_profile_t; |
47 | | |
48 | | /** |
49 | | * Window handle type. |
50 | | * |
51 | | * The window handle type specifies the window system protocol that the |
52 | | * window was created with. It determines which members of the |
53 | | * vlc_window_t::handle and vlc_window_t::display unions are defined |
54 | | * for the given window. |
55 | | * |
56 | | * It also establishes some protocol-dependent semantics such as the exact |
57 | | * interpretation of the window state (\ref vlc_window_state) |
58 | | * and the window size. |
59 | | */ |
60 | | enum vlc_window_type { |
61 | | VLC_WINDOW_TYPE_DUMMY /**< Dummy window (not an actual window) */, |
62 | | VLC_WINDOW_TYPE_XID /**< X11 window */, |
63 | | VLC_WINDOW_TYPE_HWND /**< Win32 or OS/2 window */, |
64 | | VLC_WINDOW_TYPE_NSOBJECT /**< macOS/iOS view */, |
65 | | VLC_WINDOW_TYPE_ANDROID_NATIVE /**< Android native window */, |
66 | | VLC_WINDOW_TYPE_WAYLAND /**< Wayland surface */, |
67 | | VLC_WINDOW_TYPE_DCOMP /**< Win32 DirectComposition */, |
68 | | VLC_WINDOW_TYPE_KMS /**< DRM KMS CRTC */, |
69 | | VLC_WINDOW_TYPE_MMAL /**< MMAL window */, |
70 | | }; |
71 | | |
72 | | /** |
73 | | * Window states. |
74 | | * |
75 | | * Currently, this only handles different window stacking orders. |
76 | | * See also \ref vlc_window_SetState(). |
77 | | */ |
78 | | enum vlc_window_state { |
79 | | VLC_WINDOW_STATE_NORMAL /**< Normal stacking */, |
80 | | VLC_WINDOW_STATE_ABOVE /**< Stacking above (a.k.a. always on top) */, |
81 | | VLC_WINDOW_STATE_BELOW /**< Stacking below (a.k.a. wall paper mode) */, |
82 | | }; |
83 | | |
84 | | /** |
85 | | * Window mouse event types. |
86 | | * |
87 | | * This enumeration defines the possible event types |
88 | | * vlc_window_mouse_event_t::type. |
89 | | */ |
90 | | enum vlc_window_mouse_event_type { |
91 | | VLC_WINDOW_MOUSE_MOVED /**< Pointer position change */, |
92 | | VLC_WINDOW_MOUSE_PRESSED /**< Pointer button press or single click */, |
93 | | VLC_WINDOW_MOUSE_RELEASED /**< Pointer button release */, |
94 | | VLC_WINDOW_MOUSE_DOUBLE_CLICK /**< Double click */, |
95 | | }; |
96 | | |
97 | | /** |
98 | | * Window mouse event. |
99 | | * |
100 | | * This structure describes a pointer input event on a window. |
101 | | */ |
102 | | typedef struct vlc_window_mouse_event |
103 | | { |
104 | | enum vlc_window_mouse_event_type type; /**< Event type. */ |
105 | | |
106 | | /** |
107 | | * Pointer abscissa. |
108 | | * |
109 | | * The pointer abscissa is relative to the window and expressed in pixels. |
110 | | * Abscissa goes from left to right, such that the left-most column is at 0 |
111 | | * and the right-most column is at width minus one. |
112 | | * |
113 | | * A negative abscissa refers to pixels to the left of the window, and |
114 | | * an abscissa of width or larger refers to pixels to the right. |
115 | | * |
116 | | * This is only set if @c event equals \ref VLC_WINDOW_MOUSE_MOVED. |
117 | | */ |
118 | | int x; |
119 | | |
120 | | /** |
121 | | * Pointer ordinate. |
122 | | * |
123 | | * The pointer ordinate is relative to the window and expressed in pixels. |
124 | | * Ordinate goes from top to bottom, such that the top-most row is at 0 |
125 | | * and the bottom-most column is at height minus one. |
126 | | * |
127 | | * A negative ordinate refers to pixels above the window, and |
128 | | * an ordinate of height or larger refers to pixels below the window. |
129 | | * |
130 | | * This is only set if @c event equals \ref VLC_WINDOW_MOUSE_MOVED. |
131 | | */ |
132 | | int y; |
133 | | |
134 | | /** |
135 | | * Pressed button. |
136 | | * |
137 | | * See \ref vlc_mouse_button for possible values. |
138 | | * |
139 | | * This is set if @c event does not equal \ref VLC_WINDOW_MOUSE_MOVED. |
140 | | */ |
141 | | int button_mask; |
142 | | } vlc_window_mouse_event_t; |
143 | | |
144 | | /** |
145 | | * Window (desired) configuration. |
146 | | * |
147 | | * This structure describes the intended initial configuration |
148 | | * of a \ref vlc_window_t. |
149 | | */ |
150 | | typedef struct vlc_window_cfg { |
151 | | /** |
152 | | * Whether the window should be in full screen mode or not. |
153 | | */ |
154 | | bool is_fullscreen; |
155 | | |
156 | | /** |
157 | | * Whether the window should have decorations or not. |
158 | | */ |
159 | | bool is_decorated; |
160 | | |
161 | | #if defined(__APPLE__) || defined(_WIN32) |
162 | | /* Window position hint */ |
163 | | int x; |
164 | | int y; |
165 | | #endif |
166 | | |
167 | | /** |
168 | | * Intended pixel width of the window. |
169 | | */ |
170 | | unsigned width; |
171 | | |
172 | | /** |
173 | | * Intended pixel height of the window. |
174 | | */ |
175 | | unsigned height; |
176 | | |
177 | | } vlc_window_cfg_t; |
178 | | |
179 | | /** |
180 | | * Callback prototype for window event acknowledgement. |
181 | | * |
182 | | * @param width pixel width as supplied to vlc_window_callbacks::resized |
183 | | * @param height pixel height as supplied to vlc_window_callbacks::resized |
184 | | * @param data opaque pointer as supplied to vlc_window_callbacks::resized |
185 | | */ |
186 | | typedef void (*vlc_window_ack_cb)(struct vlc_window *, unsigned width, |
187 | | unsigned height, void *data); |
188 | | |
189 | | /** |
190 | | * Window event callbacks structure. |
191 | | * |
192 | | * This structure provided to vlc_window_New() conveys callbacks to handle |
193 | | * window events. |
194 | | * |
195 | | * As a general rule, the events can occur synchronously or asynchronously from |
196 | | * the time that the window is (successfully) being created by vlc_window_New() |
197 | | * until the time that the window has been deleted by vlc_window_Delete(). |
198 | | * |
199 | | * \warning |
200 | | * Also, a window object functions are not reentrant, so the callbacks must not |
201 | | * invoke the window object functions. |
202 | | * Otherwise a deadlock or infinite recursion may occur. |
203 | | */ |
204 | | struct vlc_window_callbacks { |
205 | | /** |
206 | | * Callback for window size changes. |
207 | | * |
208 | | * This callback function is invoked when the windowing |
209 | | * system changes the window size. |
210 | | * |
211 | | * This event may occur synchronously when the window is created or a size |
212 | | * change is requested. It may also occur asynchronously as a consequence |
213 | | * of external events from the windowing system, or deferred processing of |
214 | | * a size change request. |
215 | | * |
216 | | * If a non-NULL acknowledgement callback is specified, it is called |
217 | | * synchronously after the consumer of the window has been notified of the |
218 | | * size change, and before any further processing by the consumer. In other |
219 | | * words, the callback invocation is after all rendering operations using |
220 | | * the previous old window size, and before all rendering operations using |
221 | | * the new window size. |
222 | | * |
223 | | * \param cb optional acknowledgement callback function (NULL to ignore) |
224 | | * \param opaque opaque data pointer for the acknowledgement callback |
225 | | */ |
226 | | void (*resized)(struct vlc_window *, unsigned width, unsigned height, |
227 | | vlc_window_ack_cb cb, void *opaque); |
228 | | |
229 | | /** |
230 | | * Callback for window closing. |
231 | | * |
232 | | * This callback function (if non-NULL) is invoked upon an external request |
233 | | * to close the window. Not all windowing systems support this. |
234 | | * |
235 | | * Soon after this callback, the window should be disabled with |
236 | | * vlc_window_Disable(). |
237 | | * |
238 | | * \warning Do not disable the window within the callback. |
239 | | * That could lead to a dead lock. |
240 | | */ |
241 | | void (*closed)(struct vlc_window *); |
242 | | |
243 | | /** |
244 | | * Callback for window state change. |
245 | | * |
246 | | * This callback function (if non-NULL) is invoked when the window state |
247 | | * as changed, either as a consequence of vlc_window_SetSate() or external |
248 | | * events. |
249 | | * |
250 | | * \bug Many window back-ends fail to invoke this callback when due. |
251 | | * |
252 | | * \param state new window state (see \ref vlc_window_state). |
253 | | */ |
254 | | void (*state_changed)(struct vlc_window *, unsigned state); |
255 | | |
256 | | /** |
257 | | * Callback for windowed mode. |
258 | | * |
259 | | * This callback function (if non-NULL) is invoked when the window becomes |
260 | | * windowed. It might also occur spuriously if the window remains windowed. |
261 | | * |
262 | | * \bug Many window back-ends fail to invoke this callback when due. |
263 | | */ |
264 | | void (*windowed)(struct vlc_window *); |
265 | | |
266 | | /** |
267 | | * Callback for fullscreen mode. |
268 | | * |
269 | | * This callback function (if non-NULL) is invoked when the window becomes |
270 | | * fullscreen, when it changes to a different fullscreen output, or |
271 | | * spuriously when the window remains in fullscreen mode. |
272 | | * |
273 | | * \bug Many window back-ends fail to invoke this callback when due. |
274 | | * |
275 | | * \param id fullscreen output identifier (NULL if unspecified) |
276 | | */ |
277 | | void (*fullscreened)(struct vlc_window *, const char *id); |
278 | | |
279 | | /** |
280 | | * Callback for pointer input events. |
281 | | * |
282 | | * This callback function (if non-NULL) is invoked upon any pointer input |
283 | | * event on the window. See \ref vlc_window_mouse_event_t. |
284 | | * |
285 | | * \param mouse pointer to the input event. |
286 | | */ |
287 | | void (*mouse_event)(struct vlc_window *, |
288 | | const vlc_window_mouse_event_t *mouse); |
289 | | |
290 | | /** |
291 | | * Callback for keyboard input events. |
292 | | * |
293 | | * This callback function (if non-NULL) is invoked upon any keyboard key |
294 | | * press event, or repetition event, on the window. |
295 | | * |
296 | | * \note No events are delivered for keyboard key releases. |
297 | | * |
298 | | * \param key VLC key code |
299 | | */ |
300 | | void (*keyboard_event)(struct vlc_window *, unsigned key); |
301 | | |
302 | | /** |
303 | | * Callback for fullscreen output enumeration. |
304 | | * |
305 | | * This callback function (if non-NULL) indicates that a fullscreen output |
306 | | * becomes available, changes human-readable description, or becomes |
307 | | * unavailable. |
308 | | * |
309 | | * \param id nul-terminated id fullscreen output identifier |
310 | | * (cannot be NULL) |
311 | | * \param desc nul-terminated human-readable description, |
312 | | * or NULL if the output has become unavailable |
313 | | */ |
314 | | void (*output_event)(struct vlc_window *, |
315 | | const char *id, const char *desc); |
316 | | |
317 | | /** |
318 | | * Callback for ICC profile update. |
319 | | * |
320 | | * This can happen either because of the window being moved to a different |
321 | | * display, or because the ICC profile associated with a display is |
322 | | * updated. Memory transfers to the callee. |
323 | | * |
324 | | * \param profile ICC profile associated with the window, or NULL to |
325 | | * indicate absence of an ICC profile |
326 | | */ |
327 | | void (*icc_event)(struct vlc_window *, vlc_icc_profile_t *profile); |
328 | | }; |
329 | | |
330 | | /** |
331 | | * Window callbacks and opaque data. |
332 | | */ |
333 | | typedef struct vlc_window_owner { |
334 | | const struct vlc_window_callbacks *cbs; /**< Callbacks */ |
335 | | void *sys; /**< Opaque data / private pointer for callbacks */ |
336 | | } vlc_window_owner_t; |
337 | | |
338 | | /** |
339 | | * Window implementation callbacks. |
340 | | */ |
341 | | struct vlc_window_operations { |
342 | | int (*enable)(struct vlc_window *, const vlc_window_cfg_t *); |
343 | | void (*disable)(struct vlc_window *); |
344 | | void (*resize)(struct vlc_window *, unsigned width, unsigned height); |
345 | | |
346 | | /** |
347 | | * Destroy the window. |
348 | | * |
349 | | * Destroys the window and releases all associated resources. |
350 | | */ |
351 | | void (*destroy)(struct vlc_window *); |
352 | | |
353 | | void (*set_state)(struct vlc_window *, unsigned state); |
354 | | void (*unset_fullscreen)(struct vlc_window *); |
355 | | void (*set_fullscreen)(struct vlc_window *, const char *id); |
356 | | void (*set_title)(struct vlc_window *, const char *id); |
357 | | }; |
358 | | |
359 | | /** |
360 | | * Window object. |
361 | | * |
362 | | * This structure is an abstract interface to the windowing system. |
363 | | * The window is normally used to draw video (and subpictures) into, but it |
364 | | * can also be used for other purpose (e.g. OpenGL visualization). |
365 | | * |
366 | | * The window is responsible for providing a window handle, whose exact |
367 | | * meaning depends on the windowing system. It also must report some events |
368 | | * such as user input (keyboard, mouse) and window resize. |
369 | | * |
370 | | * Finally, it must support some control requests such as for fullscreen mode. |
371 | | */ |
372 | | typedef struct vlc_window { |
373 | | struct vlc_object_t obj; |
374 | | |
375 | | /** |
376 | | * Window handle type |
377 | | * |
378 | | * This identified the windowing system and protocol that the window |
379 | | * needs to use. This also selects which member of the \ref handle union |
380 | | * and the \ref display union are to be set. |
381 | | * |
382 | | * The possible values are defined in \ref vlc_window_type. |
383 | | */ |
384 | | unsigned type; |
385 | | |
386 | | /** |
387 | | * Window handle (mandatory) |
388 | | * |
389 | | * This must be filled by the plugin upon successful vlc_window_Enable(). |
390 | | * |
391 | | * Depending on the \ref type above, a different member of this union is |
392 | | * used. |
393 | | */ |
394 | | union { |
395 | | void *hwnd; /**< Win32 window handle */ |
396 | | uint32_t xid; /**< X11 windows ID */ |
397 | | void *nsobject; /**< macOS/iOS view object */ |
398 | | int android_id; /**< AWindow_ID */ |
399 | | struct wl_surface *wl; /**< Wayland surface (client pointer) */ |
400 | | void *dcomp_visual; /**< Win32 direct composition visual */ |
401 | | uint32_t crtc; /**< KMS CRTC identifier */ |
402 | | int display_id; /**< MMAL display ID */ |
403 | | } handle; |
404 | | |
405 | | /** Display server (mandatory) |
406 | | * |
407 | | * This must be filled by the plugin upon activation. |
408 | | * |
409 | | * The window handle is relative to the display server. The exact meaning |
410 | | * of the display server depends on the window handle type. Not all window |
411 | | * handle type provide a display server field. |
412 | | */ |
413 | | union { |
414 | | char *x11; /**< X11 display string (NULL = use default) */ |
415 | | struct wl_display *wl; /**< Wayland display (client pointer) */ |
416 | | void* dcomp_device; /**< DirectComposition device */ |
417 | | int drm_fd; /**< KMS DRM device */ |
418 | | void* anativewindow; /**< Android native window */ |
419 | | } display; |
420 | | |
421 | | const struct vlc_window_operations *ops; /**< operations handled by the |
422 | | window. Once this is set it MUST NOT be changed */ |
423 | | |
424 | | struct { |
425 | | bool has_double_click; /**< Whether double click events are sent, |
426 | | or need to be emulated */ |
427 | | } info; |
428 | | |
429 | | /* Private place holder for the vlc_window_t module (optional) |
430 | | * |
431 | | * A module is free to use it as it wishes. |
432 | | */ |
433 | | void *sys; |
434 | | |
435 | | vlc_window_owner_t owner; |
436 | | } vlc_window_t; |
437 | | |
438 | | /** |
439 | | * Creates a new window. |
440 | | * |
441 | | * This function creates a window, or some other kind of rectangle render |
442 | | * target. |
443 | | * |
444 | | * \param obj parent VLC object |
445 | | * \param module plugin name, NULL for default |
446 | | * \param owner callbacks and private data |
447 | | * \param cfg initial window configuration, NULL for defaults |
448 | | * \return a new window, or NULL on error. |
449 | | */ |
450 | | VLC_API vlc_window_t *vlc_window_New(vlc_object_t *obj, |
451 | | const char *module, |
452 | | const vlc_window_owner_t *owner, |
453 | | const vlc_window_cfg_t *cfg); |
454 | | |
455 | | /** |
456 | | * Deletes a window. |
457 | | * |
458 | | * This deletes a window created by vlc_window_New(). |
459 | | * |
460 | | * \param window window object to delete |
461 | | */ |
462 | | VLC_API void vlc_window_Delete(vlc_window_t *window); |
463 | | |
464 | | /** |
465 | | * Inhibits or deinhibits the screensaver. |
466 | | * |
467 | | * \param window window in respect to which the screensaver should be inhibited |
468 | | * or deinhibited |
469 | | * \param enabled true to inhibit, false to deinhibit |
470 | | */ |
471 | | void vlc_window_SetInhibition(vlc_window_t *window, bool enabled); |
472 | | |
473 | | /** |
474 | | * Requests a new window state. |
475 | | * |
476 | | * This requests a change of the state of a window from the windowing system. |
477 | | * See \ref vlc_window_state for possible states. |
478 | | * |
479 | | * @param window window whose state to change |
480 | | * @param state requested state |
481 | | */ |
482 | | static inline void vlc_window_SetState(vlc_window_t *window, unsigned state) |
483 | 0 | { |
484 | 0 | if (window->ops->set_state != NULL) |
485 | 0 | window->ops->set_state(window, state); |
486 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_SetState Unexecuted instantiation: es.c:vlc_window_SetState Unexecuted instantiation: flac.c:vlc_window_SetState Unexecuted instantiation: h26x.c:vlc_window_SetState Unexecuted instantiation: essetup.c:vlc_window_SetState Unexecuted instantiation: tta.c:vlc_window_SetState Unexecuted instantiation: encttml.c:vlc_window_SetState Unexecuted instantiation: substtml.c:vlc_window_SetState Unexecuted instantiation: ty.c:vlc_window_SetState Unexecuted instantiation: encvtt.c:vlc_window_SetState Unexecuted instantiation: webvtt.c:vlc_window_SetState Unexecuted instantiation: subsvtt.c:vlc_window_SetState Unexecuted instantiation: a52.c:vlc_window_SetState Unexecuted instantiation: copy.c:vlc_window_SetState Unexecuted instantiation: dts.c:vlc_window_SetState Unexecuted instantiation: h264.c:vlc_window_SetState Unexecuted instantiation: hxxx_common.c:vlc_window_SetState Unexecuted instantiation: hevc.c:vlc_window_SetState Unexecuted instantiation: mlp.c:vlc_window_SetState Unexecuted instantiation: mpeg4audio.c:vlc_window_SetState Unexecuted instantiation: mpeg4video.c:vlc_window_SetState Unexecuted instantiation: mpegaudio.c:vlc_window_SetState Unexecuted instantiation: mpegvideo.c:vlc_window_SetState Unexecuted instantiation: vc1.c:vlc_window_SetState Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_SetState(vlc_window*, unsigned int) Unexecuted instantiation: adpcm.c:vlc_window_SetState Unexecuted instantiation: aes3.c:vlc_window_SetState Unexecuted instantiation: araw.c:vlc_window_SetState Unexecuted instantiation: g711.c:vlc_window_SetState Unexecuted instantiation: lpcm.c:vlc_window_SetState Unexecuted instantiation: uleaddvaudio.c:vlc_window_SetState Unexecuted instantiation: rawvideo.c:vlc_window_SetState Unexecuted instantiation: cc.c:vlc_window_SetState Unexecuted instantiation: cea708.c:vlc_window_SetState Unexecuted instantiation: cvdsub.c:vlc_window_SetState Unexecuted instantiation: dvbsub.c:vlc_window_SetState Unexecuted instantiation: scte18.c:vlc_window_SetState Unexecuted instantiation: scte27.c:vlc_window_SetState Unexecuted instantiation: spudec.c:vlc_window_SetState Unexecuted instantiation: parse.c:vlc_window_SetState Unexecuted instantiation: stl.c:vlc_window_SetState Unexecuted instantiation: subsdec.c:vlc_window_SetState Unexecuted instantiation: subsusf.c:vlc_window_SetState Unexecuted instantiation: svcdsub.c:vlc_window_SetState Unexecuted instantiation: textst.c:vlc_window_SetState Unexecuted instantiation: substx3g.c:vlc_window_SetState Unexecuted instantiation: decoder_device.c:vlc_window_SetState Unexecuted instantiation: decoder_helpers.c:vlc_window_SetState Unexecuted instantiation: demux.c:vlc_window_SetState Unexecuted instantiation: input.c:vlc_window_SetState Unexecuted instantiation: player.c:vlc_window_SetState Unexecuted instantiation: aout.c:vlc_window_SetState Unexecuted instantiation: vout.c:vlc_window_SetState Unexecuted instantiation: osd.c:vlc_window_SetState Unexecuted instantiation: resource.c:vlc_window_SetState Unexecuted instantiation: common.c:vlc_window_SetState Unexecuted instantiation: dec.c:vlc_window_SetState Unexecuted instantiation: filters.c:vlc_window_SetState Unexecuted instantiation: meter.c:vlc_window_SetState Unexecuted instantiation: output.c:vlc_window_SetState Unexecuted instantiation: volume.c:vlc_window_SetState Unexecuted instantiation: video_output.c:vlc_window_SetState Unexecuted instantiation: video_text.c:vlc_window_SetState Unexecuted instantiation: video_widgets.c:vlc_window_SetState Unexecuted instantiation: vout_subpictures.c:vlc_window_SetState Unexecuted instantiation: video_window.c:vlc_window_SetState Unexecuted instantiation: window.c:vlc_window_SetState Unexecuted instantiation: vout_intf.c:vlc_window_SetState Unexecuted instantiation: vout_wrapper.c:vlc_window_SetState Unexecuted instantiation: image.c:vlc_window_SetState Unexecuted instantiation: objects.c:vlc_window_SetState Unexecuted instantiation: filter.c:vlc_window_SetState Unexecuted instantiation: filter_chain.c:vlc_window_SetState Unexecuted instantiation: subpicture.c:vlc_window_SetState Unexecuted instantiation: stream_output.c:vlc_window_SetState Unexecuted instantiation: libvlc-module.c:vlc_window_SetState Unexecuted instantiation: es_out.c:vlc_window_SetState Unexecuted instantiation: control.c:vlc_window_SetState Unexecuted instantiation: display.c:vlc_window_SetState Unexecuted instantiation: interlacing.c:vlc_window_SetState Unexecuted instantiation: snapshot.c:vlc_window_SetState |
487 | | |
488 | | /** |
489 | | * Requests a new window size. |
490 | | * |
491 | | * This requests a change of the window size. In general and unless otherwise |
492 | | * stated, the size is expressed in pixels. However, the exact interpretation |
493 | | * of the window size depends on the windowing system. |
494 | | * |
495 | | * There is no return value as the request may be processed asynchronously, |
496 | | * ignored and/or modified by the window system. The actual size of the window |
497 | | * is determined by the vlc_window_callbacks::resized callback function that |
498 | | * was supplied to vlc_window_New(). |
499 | | * |
500 | | * \note The size is expressed in terms of the "useful" area, |
501 | | * i.e. it excludes any side decoration added by the windowing system. |
502 | | * |
503 | | * \param window window whom a size change is requested for |
504 | | * \param width pixel width |
505 | | * \param height height width |
506 | | */ |
507 | | VLC_API void vlc_window_SetSize(vlc_window_t *window, |
508 | | unsigned width, unsigned height); |
509 | | |
510 | | /** |
511 | | * Requests fullscreen mode. |
512 | | * |
513 | | * \param window window to be brought to fullscreen mode. |
514 | | * \param id nul-terminated output identifier, NULL for default |
515 | | */ |
516 | | VLC_API void vlc_window_SetFullScreen(vlc_window_t *window, const char *id); |
517 | | |
518 | | /** |
519 | | * Requests windowed mode. |
520 | | * |
521 | | * \param window window to be brought into windowed mode. |
522 | | */ |
523 | | VLC_API void vlc_window_UnsetFullScreen(vlc_window_t *window); |
524 | | |
525 | | /** |
526 | | * Request a new window title. |
527 | | * |
528 | | * \param window window to change the title. |
529 | | * \param title window title to use. |
530 | | */ |
531 | | static inline void vlc_window_SetTitle(vlc_window_t *window, const char *title) |
532 | 0 | { |
533 | 0 | if (window->ops->set_title != NULL) |
534 | 0 | window->ops->set_title(window, title); |
535 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_SetTitle Unexecuted instantiation: es.c:vlc_window_SetTitle Unexecuted instantiation: flac.c:vlc_window_SetTitle Unexecuted instantiation: h26x.c:vlc_window_SetTitle Unexecuted instantiation: essetup.c:vlc_window_SetTitle Unexecuted instantiation: tta.c:vlc_window_SetTitle Unexecuted instantiation: encttml.c:vlc_window_SetTitle Unexecuted instantiation: substtml.c:vlc_window_SetTitle Unexecuted instantiation: ty.c:vlc_window_SetTitle Unexecuted instantiation: encvtt.c:vlc_window_SetTitle Unexecuted instantiation: webvtt.c:vlc_window_SetTitle Unexecuted instantiation: subsvtt.c:vlc_window_SetTitle Unexecuted instantiation: a52.c:vlc_window_SetTitle Unexecuted instantiation: copy.c:vlc_window_SetTitle Unexecuted instantiation: dts.c:vlc_window_SetTitle Unexecuted instantiation: h264.c:vlc_window_SetTitle Unexecuted instantiation: hxxx_common.c:vlc_window_SetTitle Unexecuted instantiation: hevc.c:vlc_window_SetTitle Unexecuted instantiation: mlp.c:vlc_window_SetTitle Unexecuted instantiation: mpeg4audio.c:vlc_window_SetTitle Unexecuted instantiation: mpeg4video.c:vlc_window_SetTitle Unexecuted instantiation: mpegaudio.c:vlc_window_SetTitle Unexecuted instantiation: mpegvideo.c:vlc_window_SetTitle Unexecuted instantiation: vc1.c:vlc_window_SetTitle Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_SetTitle(vlc_window*, char const*) Unexecuted instantiation: adpcm.c:vlc_window_SetTitle Unexecuted instantiation: aes3.c:vlc_window_SetTitle Unexecuted instantiation: araw.c:vlc_window_SetTitle Unexecuted instantiation: g711.c:vlc_window_SetTitle Unexecuted instantiation: lpcm.c:vlc_window_SetTitle Unexecuted instantiation: uleaddvaudio.c:vlc_window_SetTitle Unexecuted instantiation: rawvideo.c:vlc_window_SetTitle Unexecuted instantiation: cc.c:vlc_window_SetTitle Unexecuted instantiation: cea708.c:vlc_window_SetTitle Unexecuted instantiation: cvdsub.c:vlc_window_SetTitle Unexecuted instantiation: dvbsub.c:vlc_window_SetTitle Unexecuted instantiation: scte18.c:vlc_window_SetTitle Unexecuted instantiation: scte27.c:vlc_window_SetTitle Unexecuted instantiation: spudec.c:vlc_window_SetTitle Unexecuted instantiation: parse.c:vlc_window_SetTitle Unexecuted instantiation: stl.c:vlc_window_SetTitle Unexecuted instantiation: subsdec.c:vlc_window_SetTitle Unexecuted instantiation: subsusf.c:vlc_window_SetTitle Unexecuted instantiation: svcdsub.c:vlc_window_SetTitle Unexecuted instantiation: textst.c:vlc_window_SetTitle Unexecuted instantiation: substx3g.c:vlc_window_SetTitle Unexecuted instantiation: decoder_device.c:vlc_window_SetTitle Unexecuted instantiation: decoder_helpers.c:vlc_window_SetTitle Unexecuted instantiation: demux.c:vlc_window_SetTitle Unexecuted instantiation: input.c:vlc_window_SetTitle Unexecuted instantiation: player.c:vlc_window_SetTitle Unexecuted instantiation: aout.c:vlc_window_SetTitle Unexecuted instantiation: vout.c:vlc_window_SetTitle Unexecuted instantiation: osd.c:vlc_window_SetTitle Unexecuted instantiation: resource.c:vlc_window_SetTitle Unexecuted instantiation: common.c:vlc_window_SetTitle Unexecuted instantiation: dec.c:vlc_window_SetTitle Unexecuted instantiation: filters.c:vlc_window_SetTitle Unexecuted instantiation: meter.c:vlc_window_SetTitle Unexecuted instantiation: output.c:vlc_window_SetTitle Unexecuted instantiation: volume.c:vlc_window_SetTitle Unexecuted instantiation: video_output.c:vlc_window_SetTitle Unexecuted instantiation: video_text.c:vlc_window_SetTitle Unexecuted instantiation: video_widgets.c:vlc_window_SetTitle Unexecuted instantiation: vout_subpictures.c:vlc_window_SetTitle Unexecuted instantiation: video_window.c:vlc_window_SetTitle Unexecuted instantiation: window.c:vlc_window_SetTitle Unexecuted instantiation: vout_intf.c:vlc_window_SetTitle Unexecuted instantiation: vout_wrapper.c:vlc_window_SetTitle Unexecuted instantiation: image.c:vlc_window_SetTitle Unexecuted instantiation: objects.c:vlc_window_SetTitle Unexecuted instantiation: filter.c:vlc_window_SetTitle Unexecuted instantiation: filter_chain.c:vlc_window_SetTitle Unexecuted instantiation: subpicture.c:vlc_window_SetTitle Unexecuted instantiation: stream_output.c:vlc_window_SetTitle Unexecuted instantiation: libvlc-module.c:vlc_window_SetTitle Unexecuted instantiation: es_out.c:vlc_window_SetTitle Unexecuted instantiation: control.c:vlc_window_SetTitle Unexecuted instantiation: display.c:vlc_window_SetTitle Unexecuted instantiation: interlacing.c:vlc_window_SetTitle Unexecuted instantiation: snapshot.c:vlc_window_SetTitle |
536 | | |
537 | | /** |
538 | | * Enables a window. |
539 | | * |
540 | | * This informs the window provider that the window is about to be taken into |
541 | | * active use. A window is always initially disabled. This is so that the |
542 | | * window provider can provide a persistent connection to the display server, |
543 | | * and track any useful events, such as monitors hotplug. |
544 | | * |
545 | | * The window handle (vlc_window_t.handle) must remain valid and constant |
546 | | * while the window is enabled. |
547 | | * |
548 | | * \param window window to enable |
549 | | */ |
550 | | VLC_API |
551 | | int vlc_window_Enable(vlc_window_t *window); |
552 | | |
553 | | /** |
554 | | * Disables a window. |
555 | | * |
556 | | * This informs the window provider that the window is no longer needed. |
557 | | * |
558 | | * \note |
559 | | * The window may be re-enabled later by a call to vlc_window_Enable(). |
560 | | * |
561 | | * \param window window to disable |
562 | | */ |
563 | | VLC_API |
564 | | void vlc_window_Disable(vlc_window_t *window); |
565 | | |
566 | | /** |
567 | | * \defgroup video_window_reporting Window event reporting |
568 | | * Window provider event reporting |
569 | | * |
570 | | * The Window provider has to report some events to the core |
571 | | * so that it can react appropriately to these events, for |
572 | | * this the window provider calls the functions in this section |
573 | | * when appropriate. |
574 | | * |
575 | | * \note These functions may only be called by the window provider |
576 | | * implementation. |
577 | | * @{ |
578 | | */ |
579 | | |
580 | | /** |
581 | | * Reports the current window size. |
582 | | * |
583 | | * This function is called by the window implementation and notifies the owner |
584 | | * of the window what the pixel dimensions of the window are (or should be, |
585 | | * depending on the windowing system). |
586 | | * |
587 | | * \note This function is thread-safe. In case of concurrent call, it is |
588 | | * undefined which one is taken into account (but at least one is). |
589 | | * |
590 | | * \param window window implementation that reports the event |
591 | | * \param width width of the usable window area in pixels |
592 | | * \param height height of the usable window area in pixels |
593 | | */ |
594 | | static inline void vlc_window_ReportSize(vlc_window_t *window, |
595 | | unsigned width, unsigned height) |
596 | 0 | { |
597 | 0 | window->owner.cbs->resized(window, width, height, NULL, NULL); |
598 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportSize Unexecuted instantiation: es.c:vlc_window_ReportSize Unexecuted instantiation: flac.c:vlc_window_ReportSize Unexecuted instantiation: h26x.c:vlc_window_ReportSize Unexecuted instantiation: essetup.c:vlc_window_ReportSize Unexecuted instantiation: tta.c:vlc_window_ReportSize Unexecuted instantiation: encttml.c:vlc_window_ReportSize Unexecuted instantiation: substtml.c:vlc_window_ReportSize Unexecuted instantiation: ty.c:vlc_window_ReportSize Unexecuted instantiation: encvtt.c:vlc_window_ReportSize Unexecuted instantiation: webvtt.c:vlc_window_ReportSize Unexecuted instantiation: subsvtt.c:vlc_window_ReportSize Unexecuted instantiation: a52.c:vlc_window_ReportSize Unexecuted instantiation: copy.c:vlc_window_ReportSize Unexecuted instantiation: dts.c:vlc_window_ReportSize Unexecuted instantiation: h264.c:vlc_window_ReportSize Unexecuted instantiation: hxxx_common.c:vlc_window_ReportSize Unexecuted instantiation: hevc.c:vlc_window_ReportSize Unexecuted instantiation: mlp.c:vlc_window_ReportSize Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportSize Unexecuted instantiation: mpeg4video.c:vlc_window_ReportSize Unexecuted instantiation: mpegaudio.c:vlc_window_ReportSize Unexecuted instantiation: mpegvideo.c:vlc_window_ReportSize Unexecuted instantiation: vc1.c:vlc_window_ReportSize Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportSize(vlc_window*, unsigned int, unsigned int) Unexecuted instantiation: adpcm.c:vlc_window_ReportSize Unexecuted instantiation: aes3.c:vlc_window_ReportSize Unexecuted instantiation: araw.c:vlc_window_ReportSize Unexecuted instantiation: g711.c:vlc_window_ReportSize Unexecuted instantiation: lpcm.c:vlc_window_ReportSize Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportSize Unexecuted instantiation: rawvideo.c:vlc_window_ReportSize Unexecuted instantiation: cc.c:vlc_window_ReportSize Unexecuted instantiation: cea708.c:vlc_window_ReportSize Unexecuted instantiation: cvdsub.c:vlc_window_ReportSize Unexecuted instantiation: dvbsub.c:vlc_window_ReportSize Unexecuted instantiation: scte18.c:vlc_window_ReportSize Unexecuted instantiation: scte27.c:vlc_window_ReportSize Unexecuted instantiation: spudec.c:vlc_window_ReportSize Unexecuted instantiation: parse.c:vlc_window_ReportSize Unexecuted instantiation: stl.c:vlc_window_ReportSize Unexecuted instantiation: subsdec.c:vlc_window_ReportSize Unexecuted instantiation: subsusf.c:vlc_window_ReportSize Unexecuted instantiation: svcdsub.c:vlc_window_ReportSize Unexecuted instantiation: textst.c:vlc_window_ReportSize Unexecuted instantiation: substx3g.c:vlc_window_ReportSize Unexecuted instantiation: decoder_device.c:vlc_window_ReportSize Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportSize Unexecuted instantiation: demux.c:vlc_window_ReportSize Unexecuted instantiation: input.c:vlc_window_ReportSize Unexecuted instantiation: player.c:vlc_window_ReportSize Unexecuted instantiation: aout.c:vlc_window_ReportSize Unexecuted instantiation: vout.c:vlc_window_ReportSize Unexecuted instantiation: osd.c:vlc_window_ReportSize Unexecuted instantiation: resource.c:vlc_window_ReportSize Unexecuted instantiation: common.c:vlc_window_ReportSize Unexecuted instantiation: dec.c:vlc_window_ReportSize Unexecuted instantiation: filters.c:vlc_window_ReportSize Unexecuted instantiation: meter.c:vlc_window_ReportSize Unexecuted instantiation: output.c:vlc_window_ReportSize Unexecuted instantiation: volume.c:vlc_window_ReportSize Unexecuted instantiation: video_output.c:vlc_window_ReportSize Unexecuted instantiation: video_text.c:vlc_window_ReportSize Unexecuted instantiation: video_widgets.c:vlc_window_ReportSize Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportSize Unexecuted instantiation: video_window.c:vlc_window_ReportSize Unexecuted instantiation: window.c:vlc_window_ReportSize Unexecuted instantiation: vout_intf.c:vlc_window_ReportSize Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportSize Unexecuted instantiation: image.c:vlc_window_ReportSize Unexecuted instantiation: objects.c:vlc_window_ReportSize Unexecuted instantiation: filter.c:vlc_window_ReportSize Unexecuted instantiation: filter_chain.c:vlc_window_ReportSize Unexecuted instantiation: subpicture.c:vlc_window_ReportSize Unexecuted instantiation: stream_output.c:vlc_window_ReportSize Unexecuted instantiation: libvlc-module.c:vlc_window_ReportSize Unexecuted instantiation: es_out.c:vlc_window_ReportSize Unexecuted instantiation: control.c:vlc_window_ReportSize Unexecuted instantiation: display.c:vlc_window_ReportSize Unexecuted instantiation: interlacing.c:vlc_window_ReportSize Unexecuted instantiation: snapshot.c:vlc_window_ReportSize |
599 | | |
600 | | /** |
601 | | * Reports a request to close the window. |
602 | | * |
603 | | * This function is called by the window implementation to advise that the |
604 | | * window is being closed externally, and should be disabled by the owner. |
605 | | * |
606 | | * \param window window implementation that reports the event |
607 | | */ |
608 | | static inline void vlc_window_ReportClose(vlc_window_t *window) |
609 | 0 | { |
610 | 0 | if (window->owner.cbs->closed != NULL) |
611 | 0 | window->owner.cbs->closed(window); |
612 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportClose Unexecuted instantiation: es.c:vlc_window_ReportClose Unexecuted instantiation: flac.c:vlc_window_ReportClose Unexecuted instantiation: h26x.c:vlc_window_ReportClose Unexecuted instantiation: essetup.c:vlc_window_ReportClose Unexecuted instantiation: tta.c:vlc_window_ReportClose Unexecuted instantiation: encttml.c:vlc_window_ReportClose Unexecuted instantiation: substtml.c:vlc_window_ReportClose Unexecuted instantiation: ty.c:vlc_window_ReportClose Unexecuted instantiation: encvtt.c:vlc_window_ReportClose Unexecuted instantiation: webvtt.c:vlc_window_ReportClose Unexecuted instantiation: subsvtt.c:vlc_window_ReportClose Unexecuted instantiation: a52.c:vlc_window_ReportClose Unexecuted instantiation: copy.c:vlc_window_ReportClose Unexecuted instantiation: dts.c:vlc_window_ReportClose Unexecuted instantiation: h264.c:vlc_window_ReportClose Unexecuted instantiation: hxxx_common.c:vlc_window_ReportClose Unexecuted instantiation: hevc.c:vlc_window_ReportClose Unexecuted instantiation: mlp.c:vlc_window_ReportClose Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportClose Unexecuted instantiation: mpeg4video.c:vlc_window_ReportClose Unexecuted instantiation: mpegaudio.c:vlc_window_ReportClose Unexecuted instantiation: mpegvideo.c:vlc_window_ReportClose Unexecuted instantiation: vc1.c:vlc_window_ReportClose Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportClose(vlc_window*) Unexecuted instantiation: adpcm.c:vlc_window_ReportClose Unexecuted instantiation: aes3.c:vlc_window_ReportClose Unexecuted instantiation: araw.c:vlc_window_ReportClose Unexecuted instantiation: g711.c:vlc_window_ReportClose Unexecuted instantiation: lpcm.c:vlc_window_ReportClose Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportClose Unexecuted instantiation: rawvideo.c:vlc_window_ReportClose Unexecuted instantiation: cc.c:vlc_window_ReportClose Unexecuted instantiation: cea708.c:vlc_window_ReportClose Unexecuted instantiation: cvdsub.c:vlc_window_ReportClose Unexecuted instantiation: dvbsub.c:vlc_window_ReportClose Unexecuted instantiation: scte18.c:vlc_window_ReportClose Unexecuted instantiation: scte27.c:vlc_window_ReportClose Unexecuted instantiation: spudec.c:vlc_window_ReportClose Unexecuted instantiation: parse.c:vlc_window_ReportClose Unexecuted instantiation: stl.c:vlc_window_ReportClose Unexecuted instantiation: subsdec.c:vlc_window_ReportClose Unexecuted instantiation: subsusf.c:vlc_window_ReportClose Unexecuted instantiation: svcdsub.c:vlc_window_ReportClose Unexecuted instantiation: textst.c:vlc_window_ReportClose Unexecuted instantiation: substx3g.c:vlc_window_ReportClose Unexecuted instantiation: decoder_device.c:vlc_window_ReportClose Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportClose Unexecuted instantiation: demux.c:vlc_window_ReportClose Unexecuted instantiation: input.c:vlc_window_ReportClose Unexecuted instantiation: player.c:vlc_window_ReportClose Unexecuted instantiation: aout.c:vlc_window_ReportClose Unexecuted instantiation: vout.c:vlc_window_ReportClose Unexecuted instantiation: osd.c:vlc_window_ReportClose Unexecuted instantiation: resource.c:vlc_window_ReportClose Unexecuted instantiation: common.c:vlc_window_ReportClose Unexecuted instantiation: dec.c:vlc_window_ReportClose Unexecuted instantiation: filters.c:vlc_window_ReportClose Unexecuted instantiation: meter.c:vlc_window_ReportClose Unexecuted instantiation: output.c:vlc_window_ReportClose Unexecuted instantiation: volume.c:vlc_window_ReportClose Unexecuted instantiation: video_output.c:vlc_window_ReportClose Unexecuted instantiation: video_text.c:vlc_window_ReportClose Unexecuted instantiation: video_widgets.c:vlc_window_ReportClose Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportClose Unexecuted instantiation: video_window.c:vlc_window_ReportClose Unexecuted instantiation: window.c:vlc_window_ReportClose Unexecuted instantiation: vout_intf.c:vlc_window_ReportClose Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportClose Unexecuted instantiation: image.c:vlc_window_ReportClose Unexecuted instantiation: objects.c:vlc_window_ReportClose Unexecuted instantiation: filter.c:vlc_window_ReportClose Unexecuted instantiation: filter_chain.c:vlc_window_ReportClose Unexecuted instantiation: subpicture.c:vlc_window_ReportClose Unexecuted instantiation: stream_output.c:vlc_window_ReportClose Unexecuted instantiation: libvlc-module.c:vlc_window_ReportClose Unexecuted instantiation: es_out.c:vlc_window_ReportClose Unexecuted instantiation: control.c:vlc_window_ReportClose Unexecuted instantiation: display.c:vlc_window_ReportClose Unexecuted instantiation: interlacing.c:vlc_window_ReportClose Unexecuted instantiation: snapshot.c:vlc_window_ReportClose |
613 | | |
614 | | /** |
615 | | * Reports the current window state. |
616 | | * |
617 | | * This function is called by the window implementation to notify the owner of |
618 | | * the window that the state of the window changed. |
619 | | * |
620 | | * \param window the window reporting the state change |
621 | | * \param state \see vlc_window_state |
622 | | */ |
623 | | static inline void vlc_window_ReportState(vlc_window_t *window, |
624 | | unsigned state) |
625 | 0 | { |
626 | 0 | if (window->owner.cbs->state_changed != NULL) |
627 | 0 | window->owner.cbs->state_changed(window, state); |
628 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportState Unexecuted instantiation: es.c:vlc_window_ReportState Unexecuted instantiation: flac.c:vlc_window_ReportState Unexecuted instantiation: h26x.c:vlc_window_ReportState Unexecuted instantiation: essetup.c:vlc_window_ReportState Unexecuted instantiation: tta.c:vlc_window_ReportState Unexecuted instantiation: encttml.c:vlc_window_ReportState Unexecuted instantiation: substtml.c:vlc_window_ReportState Unexecuted instantiation: ty.c:vlc_window_ReportState Unexecuted instantiation: encvtt.c:vlc_window_ReportState Unexecuted instantiation: webvtt.c:vlc_window_ReportState Unexecuted instantiation: subsvtt.c:vlc_window_ReportState Unexecuted instantiation: a52.c:vlc_window_ReportState Unexecuted instantiation: copy.c:vlc_window_ReportState Unexecuted instantiation: dts.c:vlc_window_ReportState Unexecuted instantiation: h264.c:vlc_window_ReportState Unexecuted instantiation: hxxx_common.c:vlc_window_ReportState Unexecuted instantiation: hevc.c:vlc_window_ReportState Unexecuted instantiation: mlp.c:vlc_window_ReportState Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportState Unexecuted instantiation: mpeg4video.c:vlc_window_ReportState Unexecuted instantiation: mpegaudio.c:vlc_window_ReportState Unexecuted instantiation: mpegvideo.c:vlc_window_ReportState Unexecuted instantiation: vc1.c:vlc_window_ReportState Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportState(vlc_window*, unsigned int) Unexecuted instantiation: adpcm.c:vlc_window_ReportState Unexecuted instantiation: aes3.c:vlc_window_ReportState Unexecuted instantiation: araw.c:vlc_window_ReportState Unexecuted instantiation: g711.c:vlc_window_ReportState Unexecuted instantiation: lpcm.c:vlc_window_ReportState Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportState Unexecuted instantiation: rawvideo.c:vlc_window_ReportState Unexecuted instantiation: cc.c:vlc_window_ReportState Unexecuted instantiation: cea708.c:vlc_window_ReportState Unexecuted instantiation: cvdsub.c:vlc_window_ReportState Unexecuted instantiation: dvbsub.c:vlc_window_ReportState Unexecuted instantiation: scte18.c:vlc_window_ReportState Unexecuted instantiation: scte27.c:vlc_window_ReportState Unexecuted instantiation: spudec.c:vlc_window_ReportState Unexecuted instantiation: parse.c:vlc_window_ReportState Unexecuted instantiation: stl.c:vlc_window_ReportState Unexecuted instantiation: subsdec.c:vlc_window_ReportState Unexecuted instantiation: subsusf.c:vlc_window_ReportState Unexecuted instantiation: svcdsub.c:vlc_window_ReportState Unexecuted instantiation: textst.c:vlc_window_ReportState Unexecuted instantiation: substx3g.c:vlc_window_ReportState Unexecuted instantiation: decoder_device.c:vlc_window_ReportState Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportState Unexecuted instantiation: demux.c:vlc_window_ReportState Unexecuted instantiation: input.c:vlc_window_ReportState Unexecuted instantiation: player.c:vlc_window_ReportState Unexecuted instantiation: aout.c:vlc_window_ReportState Unexecuted instantiation: vout.c:vlc_window_ReportState Unexecuted instantiation: osd.c:vlc_window_ReportState Unexecuted instantiation: resource.c:vlc_window_ReportState Unexecuted instantiation: common.c:vlc_window_ReportState Unexecuted instantiation: dec.c:vlc_window_ReportState Unexecuted instantiation: filters.c:vlc_window_ReportState Unexecuted instantiation: meter.c:vlc_window_ReportState Unexecuted instantiation: output.c:vlc_window_ReportState Unexecuted instantiation: volume.c:vlc_window_ReportState Unexecuted instantiation: video_output.c:vlc_window_ReportState Unexecuted instantiation: video_text.c:vlc_window_ReportState Unexecuted instantiation: video_widgets.c:vlc_window_ReportState Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportState Unexecuted instantiation: video_window.c:vlc_window_ReportState Unexecuted instantiation: window.c:vlc_window_ReportState Unexecuted instantiation: vout_intf.c:vlc_window_ReportState Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportState Unexecuted instantiation: image.c:vlc_window_ReportState Unexecuted instantiation: objects.c:vlc_window_ReportState Unexecuted instantiation: filter.c:vlc_window_ReportState Unexecuted instantiation: filter_chain.c:vlc_window_ReportState Unexecuted instantiation: subpicture.c:vlc_window_ReportState Unexecuted instantiation: stream_output.c:vlc_window_ReportState Unexecuted instantiation: libvlc-module.c:vlc_window_ReportState Unexecuted instantiation: es_out.c:vlc_window_ReportState Unexecuted instantiation: control.c:vlc_window_ReportState Unexecuted instantiation: display.c:vlc_window_ReportState Unexecuted instantiation: interlacing.c:vlc_window_ReportState Unexecuted instantiation: snapshot.c:vlc_window_ReportState |
629 | | |
630 | | /** |
631 | | * Reports that the window is not in full screen. |
632 | | * |
633 | | * This notifies the owner of the window that the window is windowed, i.e. not |
634 | | * in full screen mode. |
635 | | * |
636 | | * \param wnd window implementation that reports the event |
637 | | */ |
638 | | VLC_API void vlc_window_ReportWindowed(vlc_window_t *wnd); |
639 | | |
640 | | /** |
641 | | * Reports that the window is in full screen. |
642 | | * |
643 | | * \param wnd the window reporting the fullscreen state |
644 | | * \param id fullscreen output nul-terminated identifier, NULL for default |
645 | | */ |
646 | | VLC_API void vlc_window_ReportFullscreen(vlc_window_t *wnd, const char *id); |
647 | | |
648 | | static inline void vlc_window_SendMouseEvent(vlc_window_t *window, |
649 | | const vlc_window_mouse_event_t *mouse) |
650 | 0 | { |
651 | 0 | if (window->owner.cbs->mouse_event != NULL) |
652 | 0 | window->owner.cbs->mouse_event(window, mouse); |
653 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_SendMouseEvent Unexecuted instantiation: es.c:vlc_window_SendMouseEvent Unexecuted instantiation: flac.c:vlc_window_SendMouseEvent Unexecuted instantiation: h26x.c:vlc_window_SendMouseEvent Unexecuted instantiation: essetup.c:vlc_window_SendMouseEvent Unexecuted instantiation: tta.c:vlc_window_SendMouseEvent Unexecuted instantiation: encttml.c:vlc_window_SendMouseEvent Unexecuted instantiation: substtml.c:vlc_window_SendMouseEvent Unexecuted instantiation: ty.c:vlc_window_SendMouseEvent Unexecuted instantiation: encvtt.c:vlc_window_SendMouseEvent Unexecuted instantiation: webvtt.c:vlc_window_SendMouseEvent Unexecuted instantiation: subsvtt.c:vlc_window_SendMouseEvent Unexecuted instantiation: a52.c:vlc_window_SendMouseEvent Unexecuted instantiation: copy.c:vlc_window_SendMouseEvent Unexecuted instantiation: dts.c:vlc_window_SendMouseEvent Unexecuted instantiation: h264.c:vlc_window_SendMouseEvent Unexecuted instantiation: hxxx_common.c:vlc_window_SendMouseEvent Unexecuted instantiation: hevc.c:vlc_window_SendMouseEvent Unexecuted instantiation: mlp.c:vlc_window_SendMouseEvent Unexecuted instantiation: mpeg4audio.c:vlc_window_SendMouseEvent Unexecuted instantiation: mpeg4video.c:vlc_window_SendMouseEvent Unexecuted instantiation: mpegaudio.c:vlc_window_SendMouseEvent Unexecuted instantiation: mpegvideo.c:vlc_window_SendMouseEvent Unexecuted instantiation: vc1.c:vlc_window_SendMouseEvent Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_SendMouseEvent(vlc_window*, vlc_window_mouse_event const*) Unexecuted instantiation: adpcm.c:vlc_window_SendMouseEvent Unexecuted instantiation: aes3.c:vlc_window_SendMouseEvent Unexecuted instantiation: araw.c:vlc_window_SendMouseEvent Unexecuted instantiation: g711.c:vlc_window_SendMouseEvent Unexecuted instantiation: lpcm.c:vlc_window_SendMouseEvent Unexecuted instantiation: uleaddvaudio.c:vlc_window_SendMouseEvent Unexecuted instantiation: rawvideo.c:vlc_window_SendMouseEvent Unexecuted instantiation: cc.c:vlc_window_SendMouseEvent Unexecuted instantiation: cea708.c:vlc_window_SendMouseEvent Unexecuted instantiation: cvdsub.c:vlc_window_SendMouseEvent Unexecuted instantiation: dvbsub.c:vlc_window_SendMouseEvent Unexecuted instantiation: scte18.c:vlc_window_SendMouseEvent Unexecuted instantiation: scte27.c:vlc_window_SendMouseEvent Unexecuted instantiation: spudec.c:vlc_window_SendMouseEvent Unexecuted instantiation: parse.c:vlc_window_SendMouseEvent Unexecuted instantiation: stl.c:vlc_window_SendMouseEvent Unexecuted instantiation: subsdec.c:vlc_window_SendMouseEvent Unexecuted instantiation: subsusf.c:vlc_window_SendMouseEvent Unexecuted instantiation: svcdsub.c:vlc_window_SendMouseEvent Unexecuted instantiation: textst.c:vlc_window_SendMouseEvent Unexecuted instantiation: substx3g.c:vlc_window_SendMouseEvent Unexecuted instantiation: decoder_device.c:vlc_window_SendMouseEvent Unexecuted instantiation: decoder_helpers.c:vlc_window_SendMouseEvent Unexecuted instantiation: demux.c:vlc_window_SendMouseEvent Unexecuted instantiation: input.c:vlc_window_SendMouseEvent Unexecuted instantiation: player.c:vlc_window_SendMouseEvent Unexecuted instantiation: aout.c:vlc_window_SendMouseEvent Unexecuted instantiation: vout.c:vlc_window_SendMouseEvent Unexecuted instantiation: osd.c:vlc_window_SendMouseEvent Unexecuted instantiation: resource.c:vlc_window_SendMouseEvent Unexecuted instantiation: common.c:vlc_window_SendMouseEvent Unexecuted instantiation: dec.c:vlc_window_SendMouseEvent Unexecuted instantiation: filters.c:vlc_window_SendMouseEvent Unexecuted instantiation: meter.c:vlc_window_SendMouseEvent Unexecuted instantiation: output.c:vlc_window_SendMouseEvent Unexecuted instantiation: volume.c:vlc_window_SendMouseEvent Unexecuted instantiation: video_output.c:vlc_window_SendMouseEvent Unexecuted instantiation: video_text.c:vlc_window_SendMouseEvent Unexecuted instantiation: video_widgets.c:vlc_window_SendMouseEvent Unexecuted instantiation: vout_subpictures.c:vlc_window_SendMouseEvent Unexecuted instantiation: video_window.c:vlc_window_SendMouseEvent Unexecuted instantiation: window.c:vlc_window_SendMouseEvent Unexecuted instantiation: vout_intf.c:vlc_window_SendMouseEvent Unexecuted instantiation: vout_wrapper.c:vlc_window_SendMouseEvent Unexecuted instantiation: image.c:vlc_window_SendMouseEvent Unexecuted instantiation: objects.c:vlc_window_SendMouseEvent Unexecuted instantiation: filter.c:vlc_window_SendMouseEvent Unexecuted instantiation: filter_chain.c:vlc_window_SendMouseEvent Unexecuted instantiation: subpicture.c:vlc_window_SendMouseEvent Unexecuted instantiation: stream_output.c:vlc_window_SendMouseEvent Unexecuted instantiation: libvlc-module.c:vlc_window_SendMouseEvent Unexecuted instantiation: es_out.c:vlc_window_SendMouseEvent Unexecuted instantiation: control.c:vlc_window_SendMouseEvent Unexecuted instantiation: display.c:vlc_window_SendMouseEvent Unexecuted instantiation: interlacing.c:vlc_window_SendMouseEvent Unexecuted instantiation: snapshot.c:vlc_window_SendMouseEvent |
654 | | |
655 | | /** |
656 | | * Reports a pointer movement. |
657 | | * |
658 | | * The mouse position must be expressed in window pixel units. |
659 | | * See also \ref vlc_window_mouse_event_t. |
660 | | * |
661 | | * \param window window in focus |
662 | | * \param x abscissa |
663 | | * \param y ordinate |
664 | | */ |
665 | | static inline void vlc_window_ReportMouseMoved(vlc_window_t *window, |
666 | | int x, int y) |
667 | 0 | { |
668 | 0 | const vlc_window_mouse_event_t mouse = { |
669 | 0 | VLC_WINDOW_MOUSE_MOVED, x, y, 0 |
670 | 0 | }; |
671 | 0 | vlc_window_SendMouseEvent(window, &mouse); |
672 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportMouseMoved Unexecuted instantiation: es.c:vlc_window_ReportMouseMoved Unexecuted instantiation: flac.c:vlc_window_ReportMouseMoved Unexecuted instantiation: h26x.c:vlc_window_ReportMouseMoved Unexecuted instantiation: essetup.c:vlc_window_ReportMouseMoved Unexecuted instantiation: tta.c:vlc_window_ReportMouseMoved Unexecuted instantiation: encttml.c:vlc_window_ReportMouseMoved Unexecuted instantiation: substtml.c:vlc_window_ReportMouseMoved Unexecuted instantiation: ty.c:vlc_window_ReportMouseMoved Unexecuted instantiation: encvtt.c:vlc_window_ReportMouseMoved Unexecuted instantiation: webvtt.c:vlc_window_ReportMouseMoved Unexecuted instantiation: subsvtt.c:vlc_window_ReportMouseMoved Unexecuted instantiation: a52.c:vlc_window_ReportMouseMoved Unexecuted instantiation: copy.c:vlc_window_ReportMouseMoved Unexecuted instantiation: dts.c:vlc_window_ReportMouseMoved Unexecuted instantiation: h264.c:vlc_window_ReportMouseMoved Unexecuted instantiation: hxxx_common.c:vlc_window_ReportMouseMoved Unexecuted instantiation: hevc.c:vlc_window_ReportMouseMoved Unexecuted instantiation: mlp.c:vlc_window_ReportMouseMoved Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportMouseMoved Unexecuted instantiation: mpeg4video.c:vlc_window_ReportMouseMoved Unexecuted instantiation: mpegaudio.c:vlc_window_ReportMouseMoved Unexecuted instantiation: mpegvideo.c:vlc_window_ReportMouseMoved Unexecuted instantiation: vc1.c:vlc_window_ReportMouseMoved Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportMouseMoved(vlc_window*, int, int) Unexecuted instantiation: adpcm.c:vlc_window_ReportMouseMoved Unexecuted instantiation: aes3.c:vlc_window_ReportMouseMoved Unexecuted instantiation: araw.c:vlc_window_ReportMouseMoved Unexecuted instantiation: g711.c:vlc_window_ReportMouseMoved Unexecuted instantiation: lpcm.c:vlc_window_ReportMouseMoved Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportMouseMoved Unexecuted instantiation: rawvideo.c:vlc_window_ReportMouseMoved Unexecuted instantiation: cc.c:vlc_window_ReportMouseMoved Unexecuted instantiation: cea708.c:vlc_window_ReportMouseMoved Unexecuted instantiation: cvdsub.c:vlc_window_ReportMouseMoved Unexecuted instantiation: dvbsub.c:vlc_window_ReportMouseMoved Unexecuted instantiation: scte18.c:vlc_window_ReportMouseMoved Unexecuted instantiation: scte27.c:vlc_window_ReportMouseMoved Unexecuted instantiation: spudec.c:vlc_window_ReportMouseMoved Unexecuted instantiation: parse.c:vlc_window_ReportMouseMoved Unexecuted instantiation: stl.c:vlc_window_ReportMouseMoved Unexecuted instantiation: subsdec.c:vlc_window_ReportMouseMoved Unexecuted instantiation: subsusf.c:vlc_window_ReportMouseMoved Unexecuted instantiation: svcdsub.c:vlc_window_ReportMouseMoved Unexecuted instantiation: textst.c:vlc_window_ReportMouseMoved Unexecuted instantiation: substx3g.c:vlc_window_ReportMouseMoved Unexecuted instantiation: decoder_device.c:vlc_window_ReportMouseMoved Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportMouseMoved Unexecuted instantiation: demux.c:vlc_window_ReportMouseMoved Unexecuted instantiation: input.c:vlc_window_ReportMouseMoved Unexecuted instantiation: player.c:vlc_window_ReportMouseMoved Unexecuted instantiation: aout.c:vlc_window_ReportMouseMoved Unexecuted instantiation: vout.c:vlc_window_ReportMouseMoved Unexecuted instantiation: osd.c:vlc_window_ReportMouseMoved Unexecuted instantiation: resource.c:vlc_window_ReportMouseMoved Unexecuted instantiation: common.c:vlc_window_ReportMouseMoved Unexecuted instantiation: dec.c:vlc_window_ReportMouseMoved Unexecuted instantiation: filters.c:vlc_window_ReportMouseMoved Unexecuted instantiation: meter.c:vlc_window_ReportMouseMoved Unexecuted instantiation: output.c:vlc_window_ReportMouseMoved Unexecuted instantiation: volume.c:vlc_window_ReportMouseMoved Unexecuted instantiation: video_output.c:vlc_window_ReportMouseMoved Unexecuted instantiation: video_text.c:vlc_window_ReportMouseMoved Unexecuted instantiation: video_widgets.c:vlc_window_ReportMouseMoved Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportMouseMoved Unexecuted instantiation: video_window.c:vlc_window_ReportMouseMoved Unexecuted instantiation: window.c:vlc_window_ReportMouseMoved Unexecuted instantiation: vout_intf.c:vlc_window_ReportMouseMoved Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportMouseMoved Unexecuted instantiation: image.c:vlc_window_ReportMouseMoved Unexecuted instantiation: objects.c:vlc_window_ReportMouseMoved Unexecuted instantiation: filter.c:vlc_window_ReportMouseMoved Unexecuted instantiation: filter_chain.c:vlc_window_ReportMouseMoved Unexecuted instantiation: subpicture.c:vlc_window_ReportMouseMoved Unexecuted instantiation: stream_output.c:vlc_window_ReportMouseMoved Unexecuted instantiation: libvlc-module.c:vlc_window_ReportMouseMoved Unexecuted instantiation: es_out.c:vlc_window_ReportMouseMoved Unexecuted instantiation: control.c:vlc_window_ReportMouseMoved Unexecuted instantiation: display.c:vlc_window_ReportMouseMoved Unexecuted instantiation: interlacing.c:vlc_window_ReportMouseMoved Unexecuted instantiation: snapshot.c:vlc_window_ReportMouseMoved |
673 | | |
674 | | /** |
675 | | * Reports a mouse button press. |
676 | | * |
677 | | * \param window window in focus |
678 | | * \param button pressed button (see \ref vlc_mouse_button) |
679 | | */ |
680 | | static inline void vlc_window_ReportMousePressed(vlc_window_t *window, |
681 | | int button) |
682 | 0 | { |
683 | 0 | const vlc_window_mouse_event_t mouse = { |
684 | 0 | VLC_WINDOW_MOUSE_PRESSED, 0, 0, button, |
685 | 0 | }; |
686 | 0 | vlc_window_SendMouseEvent(window, &mouse); |
687 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportMousePressed Unexecuted instantiation: es.c:vlc_window_ReportMousePressed Unexecuted instantiation: flac.c:vlc_window_ReportMousePressed Unexecuted instantiation: h26x.c:vlc_window_ReportMousePressed Unexecuted instantiation: essetup.c:vlc_window_ReportMousePressed Unexecuted instantiation: tta.c:vlc_window_ReportMousePressed Unexecuted instantiation: encttml.c:vlc_window_ReportMousePressed Unexecuted instantiation: substtml.c:vlc_window_ReportMousePressed Unexecuted instantiation: ty.c:vlc_window_ReportMousePressed Unexecuted instantiation: encvtt.c:vlc_window_ReportMousePressed Unexecuted instantiation: webvtt.c:vlc_window_ReportMousePressed Unexecuted instantiation: subsvtt.c:vlc_window_ReportMousePressed Unexecuted instantiation: a52.c:vlc_window_ReportMousePressed Unexecuted instantiation: copy.c:vlc_window_ReportMousePressed Unexecuted instantiation: dts.c:vlc_window_ReportMousePressed Unexecuted instantiation: h264.c:vlc_window_ReportMousePressed Unexecuted instantiation: hxxx_common.c:vlc_window_ReportMousePressed Unexecuted instantiation: hevc.c:vlc_window_ReportMousePressed Unexecuted instantiation: mlp.c:vlc_window_ReportMousePressed Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportMousePressed Unexecuted instantiation: mpeg4video.c:vlc_window_ReportMousePressed Unexecuted instantiation: mpegaudio.c:vlc_window_ReportMousePressed Unexecuted instantiation: mpegvideo.c:vlc_window_ReportMousePressed Unexecuted instantiation: vc1.c:vlc_window_ReportMousePressed Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportMousePressed(vlc_window*, int) Unexecuted instantiation: adpcm.c:vlc_window_ReportMousePressed Unexecuted instantiation: aes3.c:vlc_window_ReportMousePressed Unexecuted instantiation: araw.c:vlc_window_ReportMousePressed Unexecuted instantiation: g711.c:vlc_window_ReportMousePressed Unexecuted instantiation: lpcm.c:vlc_window_ReportMousePressed Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportMousePressed Unexecuted instantiation: rawvideo.c:vlc_window_ReportMousePressed Unexecuted instantiation: cc.c:vlc_window_ReportMousePressed Unexecuted instantiation: cea708.c:vlc_window_ReportMousePressed Unexecuted instantiation: cvdsub.c:vlc_window_ReportMousePressed Unexecuted instantiation: dvbsub.c:vlc_window_ReportMousePressed Unexecuted instantiation: scte18.c:vlc_window_ReportMousePressed Unexecuted instantiation: scte27.c:vlc_window_ReportMousePressed Unexecuted instantiation: spudec.c:vlc_window_ReportMousePressed Unexecuted instantiation: parse.c:vlc_window_ReportMousePressed Unexecuted instantiation: stl.c:vlc_window_ReportMousePressed Unexecuted instantiation: subsdec.c:vlc_window_ReportMousePressed Unexecuted instantiation: subsusf.c:vlc_window_ReportMousePressed Unexecuted instantiation: svcdsub.c:vlc_window_ReportMousePressed Unexecuted instantiation: textst.c:vlc_window_ReportMousePressed Unexecuted instantiation: substx3g.c:vlc_window_ReportMousePressed Unexecuted instantiation: decoder_device.c:vlc_window_ReportMousePressed Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportMousePressed Unexecuted instantiation: demux.c:vlc_window_ReportMousePressed Unexecuted instantiation: input.c:vlc_window_ReportMousePressed Unexecuted instantiation: player.c:vlc_window_ReportMousePressed Unexecuted instantiation: aout.c:vlc_window_ReportMousePressed Unexecuted instantiation: vout.c:vlc_window_ReportMousePressed Unexecuted instantiation: osd.c:vlc_window_ReportMousePressed Unexecuted instantiation: resource.c:vlc_window_ReportMousePressed Unexecuted instantiation: common.c:vlc_window_ReportMousePressed Unexecuted instantiation: dec.c:vlc_window_ReportMousePressed Unexecuted instantiation: filters.c:vlc_window_ReportMousePressed Unexecuted instantiation: meter.c:vlc_window_ReportMousePressed Unexecuted instantiation: output.c:vlc_window_ReportMousePressed Unexecuted instantiation: volume.c:vlc_window_ReportMousePressed Unexecuted instantiation: video_output.c:vlc_window_ReportMousePressed Unexecuted instantiation: video_text.c:vlc_window_ReportMousePressed Unexecuted instantiation: video_widgets.c:vlc_window_ReportMousePressed Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportMousePressed Unexecuted instantiation: video_window.c:vlc_window_ReportMousePressed Unexecuted instantiation: window.c:vlc_window_ReportMousePressed Unexecuted instantiation: vout_intf.c:vlc_window_ReportMousePressed Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportMousePressed Unexecuted instantiation: image.c:vlc_window_ReportMousePressed Unexecuted instantiation: objects.c:vlc_window_ReportMousePressed Unexecuted instantiation: filter.c:vlc_window_ReportMousePressed Unexecuted instantiation: filter_chain.c:vlc_window_ReportMousePressed Unexecuted instantiation: subpicture.c:vlc_window_ReportMousePressed Unexecuted instantiation: stream_output.c:vlc_window_ReportMousePressed Unexecuted instantiation: libvlc-module.c:vlc_window_ReportMousePressed Unexecuted instantiation: es_out.c:vlc_window_ReportMousePressed Unexecuted instantiation: control.c:vlc_window_ReportMousePressed Unexecuted instantiation: display.c:vlc_window_ReportMousePressed Unexecuted instantiation: interlacing.c:vlc_window_ReportMousePressed Unexecuted instantiation: snapshot.c:vlc_window_ReportMousePressed |
688 | | |
689 | | /** |
690 | | * Reports a mouse button release. |
691 | | * |
692 | | * \param window window in focus |
693 | | * \param button released button (see \ref vlc_mouse_button) |
694 | | */ |
695 | | static inline void vlc_window_ReportMouseReleased(vlc_window_t *window, |
696 | | int button) |
697 | 0 | { |
698 | 0 | const vlc_window_mouse_event_t mouse = { |
699 | 0 | VLC_WINDOW_MOUSE_RELEASED, 0, 0, button, |
700 | 0 | }; |
701 | 0 | vlc_window_SendMouseEvent(window, &mouse); |
702 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportMouseReleased Unexecuted instantiation: es.c:vlc_window_ReportMouseReleased Unexecuted instantiation: flac.c:vlc_window_ReportMouseReleased Unexecuted instantiation: h26x.c:vlc_window_ReportMouseReleased Unexecuted instantiation: essetup.c:vlc_window_ReportMouseReleased Unexecuted instantiation: tta.c:vlc_window_ReportMouseReleased Unexecuted instantiation: encttml.c:vlc_window_ReportMouseReleased Unexecuted instantiation: substtml.c:vlc_window_ReportMouseReleased Unexecuted instantiation: ty.c:vlc_window_ReportMouseReleased Unexecuted instantiation: encvtt.c:vlc_window_ReportMouseReleased Unexecuted instantiation: webvtt.c:vlc_window_ReportMouseReleased Unexecuted instantiation: subsvtt.c:vlc_window_ReportMouseReleased Unexecuted instantiation: a52.c:vlc_window_ReportMouseReleased Unexecuted instantiation: copy.c:vlc_window_ReportMouseReleased Unexecuted instantiation: dts.c:vlc_window_ReportMouseReleased Unexecuted instantiation: h264.c:vlc_window_ReportMouseReleased Unexecuted instantiation: hxxx_common.c:vlc_window_ReportMouseReleased Unexecuted instantiation: hevc.c:vlc_window_ReportMouseReleased Unexecuted instantiation: mlp.c:vlc_window_ReportMouseReleased Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportMouseReleased Unexecuted instantiation: mpeg4video.c:vlc_window_ReportMouseReleased Unexecuted instantiation: mpegaudio.c:vlc_window_ReportMouseReleased Unexecuted instantiation: mpegvideo.c:vlc_window_ReportMouseReleased Unexecuted instantiation: vc1.c:vlc_window_ReportMouseReleased Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportMouseReleased(vlc_window*, int) Unexecuted instantiation: adpcm.c:vlc_window_ReportMouseReleased Unexecuted instantiation: aes3.c:vlc_window_ReportMouseReleased Unexecuted instantiation: araw.c:vlc_window_ReportMouseReleased Unexecuted instantiation: g711.c:vlc_window_ReportMouseReleased Unexecuted instantiation: lpcm.c:vlc_window_ReportMouseReleased Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportMouseReleased Unexecuted instantiation: rawvideo.c:vlc_window_ReportMouseReleased Unexecuted instantiation: cc.c:vlc_window_ReportMouseReleased Unexecuted instantiation: cea708.c:vlc_window_ReportMouseReleased Unexecuted instantiation: cvdsub.c:vlc_window_ReportMouseReleased Unexecuted instantiation: dvbsub.c:vlc_window_ReportMouseReleased Unexecuted instantiation: scte18.c:vlc_window_ReportMouseReleased Unexecuted instantiation: scte27.c:vlc_window_ReportMouseReleased Unexecuted instantiation: spudec.c:vlc_window_ReportMouseReleased Unexecuted instantiation: parse.c:vlc_window_ReportMouseReleased Unexecuted instantiation: stl.c:vlc_window_ReportMouseReleased Unexecuted instantiation: subsdec.c:vlc_window_ReportMouseReleased Unexecuted instantiation: subsusf.c:vlc_window_ReportMouseReleased Unexecuted instantiation: svcdsub.c:vlc_window_ReportMouseReleased Unexecuted instantiation: textst.c:vlc_window_ReportMouseReleased Unexecuted instantiation: substx3g.c:vlc_window_ReportMouseReleased Unexecuted instantiation: decoder_device.c:vlc_window_ReportMouseReleased Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportMouseReleased Unexecuted instantiation: demux.c:vlc_window_ReportMouseReleased Unexecuted instantiation: input.c:vlc_window_ReportMouseReleased Unexecuted instantiation: player.c:vlc_window_ReportMouseReleased Unexecuted instantiation: aout.c:vlc_window_ReportMouseReleased Unexecuted instantiation: vout.c:vlc_window_ReportMouseReleased Unexecuted instantiation: osd.c:vlc_window_ReportMouseReleased Unexecuted instantiation: resource.c:vlc_window_ReportMouseReleased Unexecuted instantiation: common.c:vlc_window_ReportMouseReleased Unexecuted instantiation: dec.c:vlc_window_ReportMouseReleased Unexecuted instantiation: filters.c:vlc_window_ReportMouseReleased Unexecuted instantiation: meter.c:vlc_window_ReportMouseReleased Unexecuted instantiation: output.c:vlc_window_ReportMouseReleased Unexecuted instantiation: volume.c:vlc_window_ReportMouseReleased Unexecuted instantiation: video_output.c:vlc_window_ReportMouseReleased Unexecuted instantiation: video_text.c:vlc_window_ReportMouseReleased Unexecuted instantiation: video_widgets.c:vlc_window_ReportMouseReleased Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportMouseReleased Unexecuted instantiation: video_window.c:vlc_window_ReportMouseReleased Unexecuted instantiation: window.c:vlc_window_ReportMouseReleased Unexecuted instantiation: vout_intf.c:vlc_window_ReportMouseReleased Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportMouseReleased Unexecuted instantiation: image.c:vlc_window_ReportMouseReleased Unexecuted instantiation: objects.c:vlc_window_ReportMouseReleased Unexecuted instantiation: filter.c:vlc_window_ReportMouseReleased Unexecuted instantiation: filter_chain.c:vlc_window_ReportMouseReleased Unexecuted instantiation: subpicture.c:vlc_window_ReportMouseReleased Unexecuted instantiation: stream_output.c:vlc_window_ReportMouseReleased Unexecuted instantiation: libvlc-module.c:vlc_window_ReportMouseReleased Unexecuted instantiation: es_out.c:vlc_window_ReportMouseReleased Unexecuted instantiation: control.c:vlc_window_ReportMouseReleased Unexecuted instantiation: display.c:vlc_window_ReportMouseReleased Unexecuted instantiation: interlacing.c:vlc_window_ReportMouseReleased Unexecuted instantiation: snapshot.c:vlc_window_ReportMouseReleased |
703 | | |
704 | | /** |
705 | | * Reports a mouse double-click. |
706 | | * |
707 | | * \param window window in focus |
708 | | * \param button double-clicked button (see \ref vlc_mouse_button) |
709 | | */ |
710 | | static inline void vlc_window_ReportMouseDoubleClick(vlc_window_t *window, |
711 | | int button) |
712 | 0 | { |
713 | 0 | const vlc_window_mouse_event_t mouse = { |
714 | 0 | VLC_WINDOW_MOUSE_DOUBLE_CLICK, 0, 0, button, |
715 | 0 | }; |
716 | 0 | vlc_window_SendMouseEvent(window, &mouse); |
717 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: es.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: flac.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: h26x.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: essetup.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: tta.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: encttml.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: substtml.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: ty.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: encvtt.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: webvtt.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: subsvtt.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: a52.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: copy.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: dts.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: h264.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: hxxx_common.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: hevc.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: mlp.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: mpeg4video.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: mpegaudio.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: mpegvideo.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: vc1.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportMouseDoubleClick(vlc_window*, int) Unexecuted instantiation: adpcm.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: aes3.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: araw.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: g711.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: lpcm.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: rawvideo.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: cc.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: cea708.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: cvdsub.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: dvbsub.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: scte18.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: scte27.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: spudec.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: parse.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: stl.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: subsdec.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: subsusf.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: svcdsub.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: textst.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: substx3g.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: decoder_device.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: demux.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: input.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: player.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: aout.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: vout.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: osd.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: resource.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: common.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: dec.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: filters.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: meter.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: output.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: volume.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: video_output.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: video_text.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: video_widgets.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: video_window.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: window.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: vout_intf.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: image.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: objects.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: filter.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: filter_chain.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: subpicture.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: stream_output.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: libvlc-module.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: es_out.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: control.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: display.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: interlacing.c:vlc_window_ReportMouseDoubleClick Unexecuted instantiation: snapshot.c:vlc_window_ReportMouseDoubleClick |
718 | | |
719 | | /** |
720 | | * Reports a keyboard key press. |
721 | | * |
722 | | * \param window window in focus |
723 | | * \param key VLC key code |
724 | | */ |
725 | | static inline void vlc_window_ReportKeyPress(vlc_window_t *window, int key) |
726 | 0 | { |
727 | 0 | if (window->owner.cbs->keyboard_event != NULL) |
728 | 0 | window->owner.cbs->keyboard_event(window, key); |
729 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportKeyPress Unexecuted instantiation: es.c:vlc_window_ReportKeyPress Unexecuted instantiation: flac.c:vlc_window_ReportKeyPress Unexecuted instantiation: h26x.c:vlc_window_ReportKeyPress Unexecuted instantiation: essetup.c:vlc_window_ReportKeyPress Unexecuted instantiation: tta.c:vlc_window_ReportKeyPress Unexecuted instantiation: encttml.c:vlc_window_ReportKeyPress Unexecuted instantiation: substtml.c:vlc_window_ReportKeyPress Unexecuted instantiation: ty.c:vlc_window_ReportKeyPress Unexecuted instantiation: encvtt.c:vlc_window_ReportKeyPress Unexecuted instantiation: webvtt.c:vlc_window_ReportKeyPress Unexecuted instantiation: subsvtt.c:vlc_window_ReportKeyPress Unexecuted instantiation: a52.c:vlc_window_ReportKeyPress Unexecuted instantiation: copy.c:vlc_window_ReportKeyPress Unexecuted instantiation: dts.c:vlc_window_ReportKeyPress Unexecuted instantiation: h264.c:vlc_window_ReportKeyPress Unexecuted instantiation: hxxx_common.c:vlc_window_ReportKeyPress Unexecuted instantiation: hevc.c:vlc_window_ReportKeyPress Unexecuted instantiation: mlp.c:vlc_window_ReportKeyPress Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportKeyPress Unexecuted instantiation: mpeg4video.c:vlc_window_ReportKeyPress Unexecuted instantiation: mpegaudio.c:vlc_window_ReportKeyPress Unexecuted instantiation: mpegvideo.c:vlc_window_ReportKeyPress Unexecuted instantiation: vc1.c:vlc_window_ReportKeyPress Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportKeyPress(vlc_window*, int) Unexecuted instantiation: adpcm.c:vlc_window_ReportKeyPress Unexecuted instantiation: aes3.c:vlc_window_ReportKeyPress Unexecuted instantiation: araw.c:vlc_window_ReportKeyPress Unexecuted instantiation: g711.c:vlc_window_ReportKeyPress Unexecuted instantiation: lpcm.c:vlc_window_ReportKeyPress Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportKeyPress Unexecuted instantiation: rawvideo.c:vlc_window_ReportKeyPress Unexecuted instantiation: cc.c:vlc_window_ReportKeyPress Unexecuted instantiation: cea708.c:vlc_window_ReportKeyPress Unexecuted instantiation: cvdsub.c:vlc_window_ReportKeyPress Unexecuted instantiation: dvbsub.c:vlc_window_ReportKeyPress Unexecuted instantiation: scte18.c:vlc_window_ReportKeyPress Unexecuted instantiation: scte27.c:vlc_window_ReportKeyPress Unexecuted instantiation: spudec.c:vlc_window_ReportKeyPress Unexecuted instantiation: parse.c:vlc_window_ReportKeyPress Unexecuted instantiation: stl.c:vlc_window_ReportKeyPress Unexecuted instantiation: subsdec.c:vlc_window_ReportKeyPress Unexecuted instantiation: subsusf.c:vlc_window_ReportKeyPress Unexecuted instantiation: svcdsub.c:vlc_window_ReportKeyPress Unexecuted instantiation: textst.c:vlc_window_ReportKeyPress Unexecuted instantiation: substx3g.c:vlc_window_ReportKeyPress Unexecuted instantiation: decoder_device.c:vlc_window_ReportKeyPress Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportKeyPress Unexecuted instantiation: demux.c:vlc_window_ReportKeyPress Unexecuted instantiation: input.c:vlc_window_ReportKeyPress Unexecuted instantiation: player.c:vlc_window_ReportKeyPress Unexecuted instantiation: aout.c:vlc_window_ReportKeyPress Unexecuted instantiation: vout.c:vlc_window_ReportKeyPress Unexecuted instantiation: osd.c:vlc_window_ReportKeyPress Unexecuted instantiation: resource.c:vlc_window_ReportKeyPress Unexecuted instantiation: common.c:vlc_window_ReportKeyPress Unexecuted instantiation: dec.c:vlc_window_ReportKeyPress Unexecuted instantiation: filters.c:vlc_window_ReportKeyPress Unexecuted instantiation: meter.c:vlc_window_ReportKeyPress Unexecuted instantiation: output.c:vlc_window_ReportKeyPress Unexecuted instantiation: volume.c:vlc_window_ReportKeyPress Unexecuted instantiation: video_output.c:vlc_window_ReportKeyPress Unexecuted instantiation: video_text.c:vlc_window_ReportKeyPress Unexecuted instantiation: video_widgets.c:vlc_window_ReportKeyPress Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportKeyPress Unexecuted instantiation: video_window.c:vlc_window_ReportKeyPress Unexecuted instantiation: window.c:vlc_window_ReportKeyPress Unexecuted instantiation: vout_intf.c:vlc_window_ReportKeyPress Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportKeyPress Unexecuted instantiation: image.c:vlc_window_ReportKeyPress Unexecuted instantiation: objects.c:vlc_window_ReportKeyPress Unexecuted instantiation: filter.c:vlc_window_ReportKeyPress Unexecuted instantiation: filter_chain.c:vlc_window_ReportKeyPress Unexecuted instantiation: subpicture.c:vlc_window_ReportKeyPress Unexecuted instantiation: stream_output.c:vlc_window_ReportKeyPress Unexecuted instantiation: libvlc-module.c:vlc_window_ReportKeyPress Unexecuted instantiation: es_out.c:vlc_window_ReportKeyPress Unexecuted instantiation: control.c:vlc_window_ReportKeyPress Unexecuted instantiation: display.c:vlc_window_ReportKeyPress Unexecuted instantiation: interlacing.c:vlc_window_ReportKeyPress Unexecuted instantiation: snapshot.c:vlc_window_ReportKeyPress |
730 | | |
731 | | /** |
732 | | * Adds/removes a fullscreen output. |
733 | | * |
734 | | * This notifies the owner of the window that a usable fullscreen output has |
735 | | * been added, changed or removed. |
736 | | * |
737 | | * If an output with the same identifier is already known, its name will be |
738 | | * updated. Otherwise it will be added. |
739 | | * If the name parameter is NULL, the output will be removed. |
740 | | * |
741 | | * \param window the window reporting the output device |
742 | | * \param id unique nul-terminated identifier for the output |
743 | | * \param name human-readable name |
744 | | */ |
745 | | static inline void vlc_window_ReportOutputDevice(vlc_window_t *window, |
746 | | const char *id, |
747 | | const char *name) |
748 | 0 | { |
749 | 0 | if (window->owner.cbs->output_event != NULL) |
750 | 0 | window->owner.cbs->output_event(window, id, name); |
751 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportOutputDevice Unexecuted instantiation: es.c:vlc_window_ReportOutputDevice Unexecuted instantiation: flac.c:vlc_window_ReportOutputDevice Unexecuted instantiation: h26x.c:vlc_window_ReportOutputDevice Unexecuted instantiation: essetup.c:vlc_window_ReportOutputDevice Unexecuted instantiation: tta.c:vlc_window_ReportOutputDevice Unexecuted instantiation: encttml.c:vlc_window_ReportOutputDevice Unexecuted instantiation: substtml.c:vlc_window_ReportOutputDevice Unexecuted instantiation: ty.c:vlc_window_ReportOutputDevice Unexecuted instantiation: encvtt.c:vlc_window_ReportOutputDevice Unexecuted instantiation: webvtt.c:vlc_window_ReportOutputDevice Unexecuted instantiation: subsvtt.c:vlc_window_ReportOutputDevice Unexecuted instantiation: a52.c:vlc_window_ReportOutputDevice Unexecuted instantiation: copy.c:vlc_window_ReportOutputDevice Unexecuted instantiation: dts.c:vlc_window_ReportOutputDevice Unexecuted instantiation: h264.c:vlc_window_ReportOutputDevice Unexecuted instantiation: hxxx_common.c:vlc_window_ReportOutputDevice Unexecuted instantiation: hevc.c:vlc_window_ReportOutputDevice Unexecuted instantiation: mlp.c:vlc_window_ReportOutputDevice Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportOutputDevice Unexecuted instantiation: mpeg4video.c:vlc_window_ReportOutputDevice Unexecuted instantiation: mpegaudio.c:vlc_window_ReportOutputDevice Unexecuted instantiation: mpegvideo.c:vlc_window_ReportOutputDevice Unexecuted instantiation: vc1.c:vlc_window_ReportOutputDevice Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportOutputDevice(vlc_window*, char const*, char const*) Unexecuted instantiation: adpcm.c:vlc_window_ReportOutputDevice Unexecuted instantiation: aes3.c:vlc_window_ReportOutputDevice Unexecuted instantiation: araw.c:vlc_window_ReportOutputDevice Unexecuted instantiation: g711.c:vlc_window_ReportOutputDevice Unexecuted instantiation: lpcm.c:vlc_window_ReportOutputDevice Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportOutputDevice Unexecuted instantiation: rawvideo.c:vlc_window_ReportOutputDevice Unexecuted instantiation: cc.c:vlc_window_ReportOutputDevice Unexecuted instantiation: cea708.c:vlc_window_ReportOutputDevice Unexecuted instantiation: cvdsub.c:vlc_window_ReportOutputDevice Unexecuted instantiation: dvbsub.c:vlc_window_ReportOutputDevice Unexecuted instantiation: scte18.c:vlc_window_ReportOutputDevice Unexecuted instantiation: scte27.c:vlc_window_ReportOutputDevice Unexecuted instantiation: spudec.c:vlc_window_ReportOutputDevice Unexecuted instantiation: parse.c:vlc_window_ReportOutputDevice Unexecuted instantiation: stl.c:vlc_window_ReportOutputDevice Unexecuted instantiation: subsdec.c:vlc_window_ReportOutputDevice Unexecuted instantiation: subsusf.c:vlc_window_ReportOutputDevice Unexecuted instantiation: svcdsub.c:vlc_window_ReportOutputDevice Unexecuted instantiation: textst.c:vlc_window_ReportOutputDevice Unexecuted instantiation: substx3g.c:vlc_window_ReportOutputDevice Unexecuted instantiation: decoder_device.c:vlc_window_ReportOutputDevice Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportOutputDevice Unexecuted instantiation: demux.c:vlc_window_ReportOutputDevice Unexecuted instantiation: input.c:vlc_window_ReportOutputDevice Unexecuted instantiation: player.c:vlc_window_ReportOutputDevice Unexecuted instantiation: aout.c:vlc_window_ReportOutputDevice Unexecuted instantiation: vout.c:vlc_window_ReportOutputDevice Unexecuted instantiation: osd.c:vlc_window_ReportOutputDevice Unexecuted instantiation: resource.c:vlc_window_ReportOutputDevice Unexecuted instantiation: common.c:vlc_window_ReportOutputDevice Unexecuted instantiation: dec.c:vlc_window_ReportOutputDevice Unexecuted instantiation: filters.c:vlc_window_ReportOutputDevice Unexecuted instantiation: meter.c:vlc_window_ReportOutputDevice Unexecuted instantiation: output.c:vlc_window_ReportOutputDevice Unexecuted instantiation: volume.c:vlc_window_ReportOutputDevice Unexecuted instantiation: video_output.c:vlc_window_ReportOutputDevice Unexecuted instantiation: video_text.c:vlc_window_ReportOutputDevice Unexecuted instantiation: video_widgets.c:vlc_window_ReportOutputDevice Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportOutputDevice Unexecuted instantiation: video_window.c:vlc_window_ReportOutputDevice Unexecuted instantiation: window.c:vlc_window_ReportOutputDevice Unexecuted instantiation: vout_intf.c:vlc_window_ReportOutputDevice Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportOutputDevice Unexecuted instantiation: image.c:vlc_window_ReportOutputDevice Unexecuted instantiation: objects.c:vlc_window_ReportOutputDevice Unexecuted instantiation: filter.c:vlc_window_ReportOutputDevice Unexecuted instantiation: filter_chain.c:vlc_window_ReportOutputDevice Unexecuted instantiation: subpicture.c:vlc_window_ReportOutputDevice Unexecuted instantiation: stream_output.c:vlc_window_ReportOutputDevice Unexecuted instantiation: libvlc-module.c:vlc_window_ReportOutputDevice Unexecuted instantiation: es_out.c:vlc_window_ReportOutputDevice Unexecuted instantiation: control.c:vlc_window_ReportOutputDevice Unexecuted instantiation: display.c:vlc_window_ReportOutputDevice Unexecuted instantiation: interlacing.c:vlc_window_ReportOutputDevice Unexecuted instantiation: snapshot.c:vlc_window_ReportOutputDevice |
752 | | |
753 | | /** |
754 | | * Reports a change to the currently active ICC profile. |
755 | | * |
756 | | * \param window the window reporting the ICC profile |
757 | | * \param prof the profile data, or NULL. Ownership transfers to callee |
758 | | */ |
759 | | static inline void vlc_window_ReportICCProfile(vlc_window_t *window, |
760 | | vlc_icc_profile_t *prof) |
761 | 0 | { |
762 | 0 | if (window->owner.cbs->icc_event != NULL) { |
763 | 0 | window->owner.cbs->icc_event(window, prof); |
764 | 0 | } else { |
765 | 0 | free(prof); |
766 | 0 | } |
767 | 0 | } Unexecuted instantiation: decoder.c:vlc_window_ReportICCProfile Unexecuted instantiation: es.c:vlc_window_ReportICCProfile Unexecuted instantiation: flac.c:vlc_window_ReportICCProfile Unexecuted instantiation: h26x.c:vlc_window_ReportICCProfile Unexecuted instantiation: essetup.c:vlc_window_ReportICCProfile Unexecuted instantiation: tta.c:vlc_window_ReportICCProfile Unexecuted instantiation: encttml.c:vlc_window_ReportICCProfile Unexecuted instantiation: substtml.c:vlc_window_ReportICCProfile Unexecuted instantiation: ty.c:vlc_window_ReportICCProfile Unexecuted instantiation: encvtt.c:vlc_window_ReportICCProfile Unexecuted instantiation: webvtt.c:vlc_window_ReportICCProfile Unexecuted instantiation: subsvtt.c:vlc_window_ReportICCProfile Unexecuted instantiation: a52.c:vlc_window_ReportICCProfile Unexecuted instantiation: copy.c:vlc_window_ReportICCProfile Unexecuted instantiation: dts.c:vlc_window_ReportICCProfile Unexecuted instantiation: h264.c:vlc_window_ReportICCProfile Unexecuted instantiation: hxxx_common.c:vlc_window_ReportICCProfile Unexecuted instantiation: hevc.c:vlc_window_ReportICCProfile Unexecuted instantiation: mlp.c:vlc_window_ReportICCProfile Unexecuted instantiation: mpeg4audio.c:vlc_window_ReportICCProfile Unexecuted instantiation: mpeg4video.c:vlc_window_ReportICCProfile Unexecuted instantiation: mpegaudio.c:vlc_window_ReportICCProfile Unexecuted instantiation: mpegvideo.c:vlc_window_ReportICCProfile Unexecuted instantiation: vc1.c:vlc_window_ReportICCProfile Unexecuted instantiation: chapter_command_dvd.cpp:vlc_window_ReportICCProfile(vlc_window*, vlc_icc_profile_t*) Unexecuted instantiation: adpcm.c:vlc_window_ReportICCProfile Unexecuted instantiation: aes3.c:vlc_window_ReportICCProfile Unexecuted instantiation: araw.c:vlc_window_ReportICCProfile Unexecuted instantiation: g711.c:vlc_window_ReportICCProfile Unexecuted instantiation: lpcm.c:vlc_window_ReportICCProfile Unexecuted instantiation: uleaddvaudio.c:vlc_window_ReportICCProfile Unexecuted instantiation: rawvideo.c:vlc_window_ReportICCProfile Unexecuted instantiation: cc.c:vlc_window_ReportICCProfile Unexecuted instantiation: cea708.c:vlc_window_ReportICCProfile Unexecuted instantiation: cvdsub.c:vlc_window_ReportICCProfile Unexecuted instantiation: dvbsub.c:vlc_window_ReportICCProfile Unexecuted instantiation: scte18.c:vlc_window_ReportICCProfile Unexecuted instantiation: scte27.c:vlc_window_ReportICCProfile Unexecuted instantiation: spudec.c:vlc_window_ReportICCProfile Unexecuted instantiation: parse.c:vlc_window_ReportICCProfile Unexecuted instantiation: stl.c:vlc_window_ReportICCProfile Unexecuted instantiation: subsdec.c:vlc_window_ReportICCProfile Unexecuted instantiation: subsusf.c:vlc_window_ReportICCProfile Unexecuted instantiation: svcdsub.c:vlc_window_ReportICCProfile Unexecuted instantiation: textst.c:vlc_window_ReportICCProfile Unexecuted instantiation: substx3g.c:vlc_window_ReportICCProfile Unexecuted instantiation: decoder_device.c:vlc_window_ReportICCProfile Unexecuted instantiation: decoder_helpers.c:vlc_window_ReportICCProfile Unexecuted instantiation: demux.c:vlc_window_ReportICCProfile Unexecuted instantiation: input.c:vlc_window_ReportICCProfile Unexecuted instantiation: player.c:vlc_window_ReportICCProfile Unexecuted instantiation: aout.c:vlc_window_ReportICCProfile Unexecuted instantiation: vout.c:vlc_window_ReportICCProfile Unexecuted instantiation: osd.c:vlc_window_ReportICCProfile Unexecuted instantiation: resource.c:vlc_window_ReportICCProfile Unexecuted instantiation: common.c:vlc_window_ReportICCProfile Unexecuted instantiation: dec.c:vlc_window_ReportICCProfile Unexecuted instantiation: filters.c:vlc_window_ReportICCProfile Unexecuted instantiation: meter.c:vlc_window_ReportICCProfile Unexecuted instantiation: output.c:vlc_window_ReportICCProfile Unexecuted instantiation: volume.c:vlc_window_ReportICCProfile Unexecuted instantiation: video_output.c:vlc_window_ReportICCProfile Unexecuted instantiation: video_text.c:vlc_window_ReportICCProfile Unexecuted instantiation: video_widgets.c:vlc_window_ReportICCProfile Unexecuted instantiation: vout_subpictures.c:vlc_window_ReportICCProfile Unexecuted instantiation: video_window.c:vlc_window_ReportICCProfile Unexecuted instantiation: window.c:vlc_window_ReportICCProfile Unexecuted instantiation: vout_intf.c:vlc_window_ReportICCProfile Unexecuted instantiation: vout_wrapper.c:vlc_window_ReportICCProfile Unexecuted instantiation: image.c:vlc_window_ReportICCProfile Unexecuted instantiation: objects.c:vlc_window_ReportICCProfile Unexecuted instantiation: filter.c:vlc_window_ReportICCProfile Unexecuted instantiation: filter_chain.c:vlc_window_ReportICCProfile Unexecuted instantiation: subpicture.c:vlc_window_ReportICCProfile Unexecuted instantiation: stream_output.c:vlc_window_ReportICCProfile Unexecuted instantiation: libvlc-module.c:vlc_window_ReportICCProfile Unexecuted instantiation: es_out.c:vlc_window_ReportICCProfile Unexecuted instantiation: control.c:vlc_window_ReportICCProfile Unexecuted instantiation: display.c:vlc_window_ReportICCProfile Unexecuted instantiation: interlacing.c:vlc_window_ReportICCProfile Unexecuted instantiation: snapshot.c:vlc_window_ReportICCProfile |
768 | | |
769 | | /** @} */ |
770 | | /** @} */ |
771 | | #endif /* VLC_WINDOW_H */ |