VLC  4.0.0-dev
snapshot.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * snapshot.h : vout internal snapshot
3  *****************************************************************************
4  * Copyright (C) 2009 Laurent Aimar
5  *
6  * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
7  *
8  * This program is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21  *****************************************************************************/
22 
23 #ifndef LIBVLC_VOUT_INTERNAL_SNAPSHOT_H
24 #define LIBVLC_VOUT_INTERNAL_SNAPSHOT_H
25 
26 #include <vlc_picture.h>
27 
29 
30 /* */
33 
35 
36 /* */
38 
39 /**
40  * It tells if they are pending snapshot request
41  */
43 
44 /**
45  * It set the picture used to create the snapshots.
46  *
47  * The given picture is cloned.
48  * If p_fmt is non NULL it will override the format of the p_picture (mainly
49  * used because of aspect/crop problems).
50  */
52 
53 /**
54  * This function will return the directory used for snapshots
55  */
56 char *vout_snapshot_GetDirectory(void);
57 
58 typedef struct {
60  int sequence;
61  char *path;
62  char *format;
63  char *prefix_fmt;
65 
66 /**
67  * This function will write an image to the disk an return the file name created.
68  */
69 int vout_snapshot_SaveImage(char **name, int *sequential,
70  const block_t *image,
71  vout_thread_t *p_vout,
72  const vout_snapshot_save_cfg_t *cfg);
73 
74 #endif
vlc_cond_broadcast
void vlc_cond_broadcast(vlc_cond_t *cond)
Wakes up all threads waiting on a condition variable.
Definition: threads.c:280
VLC_OPENGL
@ VLC_OPENGL
Definition: vlc_opengl.h:45
VLC_CODEC_UNKNOWN
#define VLC_CODEC_UNKNOWN
Definition: vlc_fourcc.h:27
vout_thread_private_t
Definition: vout_private.h:34
vlc_mutex_init
void vlc_mutex_init(vlc_mutex_t *mtx)
Initializes a fast mutex.
Definition: threads.c:123
vlc_gl_t::offscreen_vctx_out
struct vlc_video_context * offscreen_vctx_out
Definition: vlc_opengl.h:67
vlc_gl_surface::height
int height
Definition: opengl.c:182
vout_private.h
var_Create
int() var_Create(vlc_object_t *p_this, const char *psz_name, int i_type)
Creates a VLC object variable.
Definition: variables.c:291
vout_snapshot_GetDirectory
char * vout_snapshot_GetDirectory(void)
This function will return the directory used for snapshots.
Definition: snapshot.c:158
VLC_VAR_SETVALUE
#define VLC_VAR_SETVALUE
Set the value of this variable without triggering any callbacks.
Definition: vlc_variables.h:87
picture_t::format
video_frame_format_t format
The properties of the picture.
Definition: vlc_picture.h:125
picture_Clone
picture_t * picture_Clone(picture_t *picture)
Perform a shallow picture copy.
Definition: picture.c:453
config_FindConfig
module_config_t * config_FindConfig(const char *name)
Looks up a configuration item.
Definition: core.c:452
vout_snapshot_Destroy
void vout_snapshot_Destroy(vout_snapshot_t *snap)
Definition: snapshot.c:67
VLC_VAR_CLEARCHOICES
#define VLC_VAR_CLEARCHOICES
Definition: vlc_variables.h:98
vout_display_cfg::display
struct vout_display_cfg::@275 display
Display properties.
vlc_pic_chain
picture chaining helpers
Definition: vlc_picture.h:177
vout_window_t
Window object.
Definition: vlc_vout_window.h:353
vlc_stat
int vlc_stat(const char *filename, struct stat *buf)
Finds file/inode information - like stat().
Definition: filesystem.c:173
VLC_VAR_SETTEXT
#define VLC_VAR_SETTEXT
Definition: vlc_variables.h:89
str_format
static char * str_format(vlc_player_t *player, input_item_t *item, const char *fmt)
Definition: vlc_strings.h:229
unlikely
#define unlikely(p)
Predicted false condition.
Definition: vlc_common.h:227
vlc_common.h
vout_snapshot_SaveImage
int vout_snapshot_SaveImage(char **name, int *sequential, const block_t *image, vout_thread_t *p_vout, const vout_snapshot_save_cfg_t *cfg)
This function will write an image to the disk an return the file name created.
Definition: snapshot.c:163
vlc_gl_Create
vlc_gl_t * vlc_gl_Create(const struct vout_display_cfg *restrict cfg, unsigned flags, const char *name)
Definition: opengl.c:56
DIR_SEP
#define DIR_SEP
Definition: vlc_common.h:1221
VLC_VAR_DOINHERIT
#define VLC_VAR_DOINHERIT
Creation flag.
Definition: vlc_variables.h:69
module_config_t::list_text
const char ** list_text
Human-readable names for list values.
Definition: vlc_configuration.h:102
deinterlace_modes
static const char deinterlace_modes[][9]
Definition: interlacing.c:41
vlc_vout.h
VLC_OPENGL_ES2
@ VLC_OPENGL_ES2
Definition: vlc_opengl.h:46
vout_snapshot::request_count
int request_count
Definition: snapshot.c:69
block_t::i_buffer
size_t i_buffer
Payload length.
Definition: vlc_block.h:122
vlc_picture_chain_Append
static void vlc_picture_chain_Append(vlc_picture_chain_t *chain, picture_t *pic)
Append a picture to a picture chain.
Definition: vlc_picture.h:251
gmtime_r
struct tm * gmtime_r(const time_t *, struct tm *)
VLC_VAR_ADDCHOICE
#define VLC_VAR_ADDCHOICE
Definition: vlc_variables.h:96
vout_thread_private_t::has_deint
bool has_deint
Definition: vout_private.h:38
vout_window_t::owner
vout_window_owner_t owner
Definition: vlc_vout_window.h:412
module_config_t::i
const int * i
Table of possible integer choices.
Definition: vlc_configuration.h:100
vlc_module_load
#define vlc_module_load(ctx, cap, name, strict,...)
Definition: vlc_modules.h:99
vout_window_Delete
void vout_window_Delete(vout_window_t *window)
Deletes a window.
Definition: window.c:121
vlc_atomic_rc_dec
static bool vlc_atomic_rc_dec(vlc_atomic_rc_t *rc)
Decrement the RC and return true if it reaches 0.
Definition: vlc_atomic.h:61
module_config_t::orig
module_value_t orig
Default value.
Definition: vlc_configuration.h:91
vlc_gl_t::release_current
void(* release_current)(vlc_gl_t *)
Definition: vlc_opengl.h:75
picture_Release
static void picture_Release(picture_t *picture)
Decrements the picture reference count.
Definition: vlc_picture.h:368
vout_InitInterlacingSupport
void vout_InitInterlacingSupport(vout_thread_t *vout, vout_thread_private_t *sys)
Definition: interlacing.c:93
var_GetNonEmptyString
static char * var_GetNonEmptyString(vlc_object_t *p_obj, const char *psz_name)
Definition: vlc_variables.h:447
vlc_opengl.h
var_AddCallback
void() var_AddCallback(vlc_object_t *p_this, const char *psz_name, vlc_callback_t pf_callback, void *p_data)
Registers a callback for a variable.
Definition: variables.c:801
vout_snapshot_End
void vout_snapshot_End(vout_snapshot_t *)
Definition: snapshot.c:80
VLC_VAR_BOOL
#define VLC_VAR_BOOL
Definition: vlc_variables.h:49
video_format_t
video format description
Definition: vlc_es.h:350
vlc_gl_CreateOffscreen
vlc_gl_t * vlc_gl_CreateOffscreen(vlc_object_t *parent, struct vlc_decoder_device *device, unsigned width, unsigned height, unsigned flags, const char *name)
Definition: opengl.c:100
module_value_t::psz
char * psz
Definition: vlc_configuration.h:62
msg_Dbg
#define msg_Dbg(p_this,...)
Definition: vlc_messages.h:106
_
#define _(str)
Definition: vlc_fixups.h:374
vout_snapshot_save_cfg_t::prefix_fmt
char * prefix_fmt
Definition: snapshot.h:63
vout_snapshot_save_cfg_t::is_sequential
bool is_sequential
Definition: snapshot.h:59
var_InheritString
static char * var_InheritString(vlc_object_t *obj, const char *name)
Definition: vlc_variables.h:705
VLC_EGENERIC
#define VLC_EGENERIC
Unspecified error.
Definition: vlc_common.h:474
vlc_gl_Resize
static void vlc_gl_Resize(vlc_gl_t *gl, unsigned w, unsigned h)
Definition: vlc_opengl.h:139
ARRAY_SIZE
#define ARRAY_SIZE(x)
Definition: vlc_arrays.h:178
vlc_gl_surface::width
int width
Definition: opengl.c:181
VLC_VAR_INTEGER
#define VLC_VAR_INTEGER
Definition: vlc_variables.h:50
VLC_VAR_STRING
#define VLC_VAR_STRING
Definition: vlc_variables.h:51
vout_window_callbacks::resized
void(* resized)(struct vout_window_t *, unsigned width, unsigned height, vout_window_ack_cb cb, void *opaque)
Callback for window size changes.
Definition: vlc_vout_window.h:219
vout_ControlChangeInterlacing
void vout_ControlChangeInterlacing(vout_thread_t *vout, bool set)
Definition: video_output.c:684
vout_ReinitInterlacingSupport
void vout_ReinitInterlacingSupport(vout_thread_t *vout, vout_thread_private_t *sys)
Definition: interlacing.c:150
vlc_gettext
const char * vlc_gettext(const char *msgid)
In-tree plugins share their gettext domain with LibVLC.
Definition: textdomain.c:79
vlc_gl_surface_CheckSize
bool vlc_gl_surface_CheckSize(vlc_gl_t *gl, unsigned *restrict width, unsigned *restrict height)
Checks if the dimensions of the surface used by the OpenGL context have changed (since the previous c...
Definition: opengl.c:272
picture_t
Video picture.
Definition: vlc_picture.h:120
asprintf
int asprintf(char **, const char *,...)
vout_SetInterlacingState
void vout_SetInterlacingState(vout_thread_t *vout, vout_thread_private_t *sys, bool is_interlaced)
Definition: interlacing.c:156
var_Change
int() var_Change(vlc_object_t *p_this, const char *psz_name, int i_action,...)
Performs a special action on a variable.
Definition: variables.c:423
vlc_value_t::i_int
int64_t i_int
Definition: vlc_common.h:459
vout_snapshot_Set
void vout_snapshot_Set(vout_snapshot_t *, const video_format_t *, picture_t *)
It set the picture used to create the snapshots.
Definition: snapshot.c:133
vlc_mutex_t
Mutex.
Definition: vlc_threads.h:225
vout_snapshot_save_cfg_t
Definition: snapshot.h:58
timespec::tv_nsec
long tv_nsec
Definition: vlc_fixups.h:445
vlc_gl_t::swap_offscreen
picture_t *(* swap_offscreen)(vlc_gl_t *)
Definition: vlc_opengl.h:63
video_format_CopyCrop
void video_format_CopyCrop(video_format_t *p_dst, const video_format_t *p_src)
It will copy the crop properties from a video_format_t to another.
Definition: es_format.c:182
vout_thread_private_t::date
vlc_tick_t date
Definition: vout_private.h:39
vout_display_cfg::window
struct vout_window_t * window
Window.
Definition: vlc_vout_display.h:95
vlc_gl_start
static int vlc_gl_start(void *func, bool forced, va_list ap)
Definition: opengl.c:42
vlc_gl_t::swap
void(* swap)(vlc_gl_t *)
Definition: vlc_opengl.h:58
vlc_gl_surface_Create
vlc_gl_t * vlc_gl_surface_Create(vlc_object_t *obj, const vout_window_cfg_t *cfg, struct vout_window_t **restrict wp)
Definition: opengl.c:203
var_GetString
static char * var_GetString(vlc_object_t *p_obj, const char *psz_name)
Get a string value.
Definition: vlc_variables.h:437
vlc_fopen
FILE * vlc_fopen(const char *filename, const char *mode)
Opens a FILE pointer.
Definition: filesystem.c:49
config_GetUserDir
char * config_GetUserDir(vlc_userdir_t type)
Definition: specific.c:273
filename_sanitize
void filename_sanitize(char *str)
Sanitize a file name.
Definition: strings.c:915
vout_snapshot::lock
vlc_mutex_t lock
Definition: snapshot.c:65
vlc_gl_t::module
module_t * module
Definition: vlc_opengl.h:53
vout_snapshot_New
vout_snapshot_t * vout_snapshot_New(void)
Definition: snapshot.c:52
var_SetString
static int var_SetString(vlc_object_t *p_obj, const char *psz_name, const char *psz_string)
Set the value of a string variable.
Definition: vlc_variables.h:345
vlc_tick_now
vlc_tick_t vlc_tick_now(void)
Precision monotonic clock.
Definition: thread.c:261
vout_snapshot::pics
vlc_picture_chain_t pics
Definition: snapshot.c:70
timespec::tv_sec
time_t tv_sec
Definition: vlc_fixups.h:444
DeinterlaceCallback
static int DeinterlaceCallback(vlc_object_t *object, char const *cmd, vlc_value_t oldval, vlc_value_t newval, void *data)
Definition: interlacing.c:64
vout_window_Disable
void vout_window_Disable(vout_window_t *window)
Disables a window.
Definition: window.c:113
vout_thread_private_t::is_interlaced
bool is_interlaced
Definition: vout_private.h:37
vout_snapshot_IsRequested
bool vout_snapshot_IsRequested(vout_snapshot_t *)
It tells if they are pending snapshot request.
Definition: snapshot.c:120
vlc_atomic_rc_inc
static void vlc_atomic_rc_inc(vlc_atomic_rc_t *rc)
Increment the RC.
Definition: vlc_atomic.h:52
TIME_UTC
#define TIME_UTC
Definition: vlc_fixups.h:253
vlc_atomic.h
vlc_tick_t
int64_t vlc_tick_t
High precision date or time interval.
Definition: vlc_tick.h:45
VLC_PICTURES_DIR
@ VLC_PICTURES_DIR
Definition: vlc_configuration.h:318
vlc_gl_priv_t
Definition: opengl.c:36
vout_snapshot_save_cfg_t::format
char * format
Definition: snapshot.h:62
vlc_gl_priv_t::rc
vlc_atomic_rc_t rc
Definition: opengl.c:57
vout_display_cfg
User configuration for a video output display (vout_display_t)
Definition: vlc_vout_display.h:94
timespec_get
int timespec_get(struct timespec *, int)
vlc_strings.h
vlc_decoder_device
Decoder context struct.
Definition: vlc_codec.h:566
vout_snapshot_save_cfg_t::sequence
int sequence
Definition: snapshot.h:60
vlc_vout_display.h
vlc_objres_clear
void vlc_objres_clear(vlc_object_t *obj)
Releases all resources of an object.
Definition: objres.c:84
vlc_gl_t::offscreen_vflip
bool offscreen_vflip
Definition: vlc_opengl.h:70
vlc_gl_t::offscreen_chroma_out
vlc_fourcc_t offscreen_chroma_out
Definition: vlc_opengl.h:66
vout_snapshot_GetDirectory
char * vout_snapshot_GetDirectory(void)
This function will return the directory used for snapshots.
Definition: snapshot.c:158
vout_window_cfg_t::width
unsigned width
Intended pixel width of the window.
Definition: vlc_vout_window.h:168
var_SetBool
static int var_SetBool(vlc_object_t *p_obj, const char *psz_name, bool b)
Set the value of an boolean variable.
Definition: vlc_variables.h:308
var_CreateGetString
static char * var_CreateGetString(vlc_object_t *p_obj, const char *psz_name)
Create a string variable with inherit and get its value.
Definition: vlc_variables.h:562
vlc_gl_t
Definition: vlc_opengl.h:49
vout_display_cfg::height
unsigned height
Requested display pixel height (0 by default).
Definition: vlc_vout_display.h:100
vlc_value_t::psz_string
char * psz_string
Definition: vlc_common.h:462
vlc_gl_surface::lock
vlc_mutex_t lock
Definition: opengl.c:183
vlc_gl_t::device
struct vlc_decoder_device * device
Definition: vlc_opengl.h:65
vout_snapshot_End
void vout_snapshot_End(vout_snapshot_t *snap)
Definition: snapshot.c:80
vout_snapshot_Get
picture_t * vout_snapshot_Get(vout_snapshot_t *, vlc_tick_t timeout)
Definition: snapshot.c:94
vlc_gl_surface_t
struct vlc_gl_surface vlc_gl_surface_t
vout_thread_private_t::interlacing
struct vout_thread_private_t::@128 interlacing
vlc_fs.h
vlc_gl_t::destroy
void(* destroy)(vlc_gl_t *)
Definition: vlc_opengl.h:78
vlc_object_t
VLC object common members.
Definition: vlc_objects.h:43
vout_snapshot_IsRequested
bool vout_snapshot_IsRequested(vout_snapshot_t *snap)
It tells if they are pending snapshot request.
Definition: snapshot.c:120
module_config_t
Configuration item.
Definition: vlc_configuration.h:76
VLC_UNUSED
#define VLC_UNUSED(x)
Definition: vlc_common.h:1105
VLC_SUCCESS
#define VLC_SUCCESS
No error.
Definition: vlc_common.h:472
strdup
char * strdup(const char *)
vout_window_owner::cbs
const struct vout_window_callbacks * cbs
Callbacks.
Definition: vlc_vout_window.h:315
vout_window_New
vout_window_t * vout_window_New(vlc_object_t *obj, const char *module, const vout_window_owner_t *owner)
Creates a new window.
Definition: window.c:62
vlc_gl_surface
Definition: opengl.c:179
vlc_picture.h
vout_window_cfg_t
Window (desired) configuration.
Definition: vlc_vout_window.h:148
vlc_custom_create
#define vlc_custom_create(o, s, n)
Definition: libvlc.h:117
VLC_TICK_FROM_SEC
#define VLC_TICK_FROM_SEC(sec)
Definition: vlc_tick.h:52
var_GetBool
static bool var_GetBool(vlc_object_t *p_obj, const char *psz_name)
Get a boolean value.
Definition: vlc_variables.h:390
vlc_block.h
vlc_mutex_lock
void vlc_mutex_lock(vlc_mutex_t *mtx)
Acquires a mutex.
Definition: threads.c:158
vlc_decoder_device_Hold
vlc_decoder_device * vlc_decoder_device_Hold(vlc_decoder_device *device)
Hold a decoder device.
Definition: decoder_helpers.c:204
name
const char name[16]
Definition: httpd.c:1268
vout_window_Enable
int vout_window_Enable(vout_window_t *window, const vout_window_cfg_t *restrict cfg)
Definition: window.c:100
module_config_t::list
union module_config_t::@194 list
Possible choices.
vout_window_ack_cb
void(* vout_window_ack_cb)(struct vout_window_t *, void *)
Callback prototype for window event acknowledgement.
Definition: vlc_vout_window.h:180
vlc_gl_Release
void vlc_gl_Release(vlc_gl_t *gl)
Definition: opengl.c:165
vout_snapshot_Set
void vout_snapshot_Set(vout_snapshot_t *snap, const video_format_t *fmt, picture_t *picture)
It set the picture used to create the snapshots.
Definition: snapshot.c:133
vlc_cond_t
Condition variable.
Definition: vlc_threads.h:349
vout_snapshot::wait
vlc_cond_t wait
Definition: snapshot.c:66
snapshot.h
vout_snapshot_Get
picture_t * vout_snapshot_Get(vout_snapshot_t *snap, vlc_tick_t timeout)
Definition: snapshot.c:94
vlc_picture_chain_IsEmpty
static bool vlc_picture_chain_IsEmpty(const vlc_picture_chain_t *chain)
Check whether a picture chain holds pictures or not.
Definition: vlc_picture.h:198
var_SetInteger
static int var_SetInteger(vlc_object_t *p_obj, const char *psz_name, int64_t i)
Set the value of an integer variable.
Definition: vlc_variables.h:293
vlc_gl_t::get_proc_address
void *(* get_proc_address)(vlc_gl_t *, const char *)
Definition: vlc_opengl.h:77
vlc_gl_surface_Destroy
void vlc_gl_surface_Destroy(vlc_gl_t *gl)
Definition: opengl.c:294
vout_window_callbacks
Window event callbacks structure.
Definition: vlc_vout_window.h:197
var_GetInteger
static int64_t var_GetInteger(vlc_object_t *p_obj, const char *psz_name)
Get an integer value.
Definition: vlc_variables.h:374
module_config_t::list_count
uint16_t list_count
Choices count.
Definition: vlc_configuration.h:96
vlc_gl_api_type
vlc_gl_api_type
Definition: vlc_opengl.h:44
vout_snapshot_SaveImage
int vout_snapshot_SaveImage(char **name, int *sequential, const block_t *image, vout_thread_t *p_vout, const vout_snapshot_save_cfg_t *cfg)
This function will write an image to the disk an return the file name created.
Definition: snapshot.c:163
vout_window_owner
Window callbacks and opaque data.
Definition: vlc_vout_window.h:314
vlc_vout_window.h
module_config_t::psz
const char ** psz
Table of possible string choices.
Definition: vlc_configuration.h:99
vlc_gl_Hold
void vlc_gl_Hold(vlc_gl_t *gl)
Definition: opengl.c:159
localtime_r
struct tm * localtime_r(const time_t *, struct tm *)
libvlc.h
vlc_gl_surface_ResizeNotify
static void vlc_gl_surface_ResizeNotify(vout_window_t *surface, unsigned width, unsigned height, vout_window_ack_cb cb, void *opaque)
Definition: opengl.c:186
vlc_object_delete
#define vlc_object_delete(obj)
Definition: vlc_objects.h:136
vout_snapshot::is_available
bool is_available
Definition: snapshot.c:68
likely
#define likely(p)
Predicted true condition.
Definition: vlc_common.h:218
vout_snapshot_save_cfg_t::path
char * path
Definition: snapshot.h:61
DeinterlaceIsModeValid
static bool DeinterlaceIsModeValid(const char *mode)
Definition: interlacing.c:55
timespec
Definition: vlc_fixups.h:443
block_t::p_buffer
uint8_t * p_buffer
Payload start.
Definition: vlc_block.h:121
VLC_OBJECT
#define VLC_OBJECT(x)
Type-safe vlc_object_t cast.
Definition: vlc_objects.h:70
vlc_mutex_trylock
int vlc_mutex_trylock(vlc_mutex_t *mtx)
Tries to acquire a mutex.
Definition: threads.c:178
vlc_codec.h
vout_thread_t
Video output thread descriptor.
Definition: vlc_vout.h:55
vlc_cond_init
void vlc_cond_init(vlc_cond_t *cond)
Initializes a condition variable.
Definition: threads.c:234
vlc_gl_t::make_current
int(* make_current)(vlc_gl_t *)
Definition: vlc_opengl.h:74
vout_internal.h
vlc_cond_timedwait
int vlc_cond_timedwait(vlc_cond_t *cond, vlc_mutex_t *mutex, vlc_tick_t deadline)
Waits on a condition variable up to a certain date.
Definition: threads.c:349
vlc_atomic_rc_init
static void vlc_atomic_rc_init(vlc_atomic_rc_t *rc)
Init the RC to 1.
Definition: vlc_atomic.h:46
vout_snapshot
Definition: snapshot.c:43
vout_snapshot_New
vout_snapshot_t * vout_snapshot_New(void)
Definition: snapshot.c:52
vlc_picture_chain_PopFront
static picture_t * vlc_picture_chain_PopFront(vlc_picture_chain_t *chain)
Pop the front of a picture chain.
Definition: vlc_picture.h:218
vlc_value_t
VLC value structure.
Definition: vlc_common.h:457
vlc_mutex_unlock
void vlc_mutex_unlock(vlc_mutex_t *mtx)
Releases a mutex.
Definition: threads.c:209
vout_window_cfg_t::height
unsigned height
Intended pixel height of the window.
Definition: vlc_vout_window.h:173
vout_window_t::display
union vout_window_t::@279 display
Display server (mandatory)
vlc_atomic_rc_t
Definition: vlc_atomic.h:41
block_t
Definition: vlc_block.h:117
msg_Err
#define msg_Err(p_this,...)
Definition: vlc_messages.h:102
vlc_gl_t::api_type
enum vlc_gl_api_type api_type
Definition: vlc_opengl.h:106
vout_snapshot_Destroy
void vout_snapshot_Destroy(vout_snapshot_t *)
Definition: snapshot.c:67
vout_window_owner::sys
void * sys
Opaque data / private pointer for callbacks.
Definition: vlc_vout_window.h:316
vlc_gl_t::surface
struct vout_window_t * surface
Definition: vlc_opengl.h:60
vout_display_cfg::width
unsigned width
Requested display pixel width (0 by default).
Definition: vlc_vout_display.h:99
vlc_modules.h
vlc_gl_priv_t::gl
vlc_gl_t gl
Definition: opengl.c:56
vlc_picture_chain_Init
static void vlc_picture_chain_Init(vlc_picture_chain_t *chain)
Initializes or reset a picture chain.
Definition: vlc_picture.h:187