#include <vlc/vlc.h>
#include <vlc/input.h>
#include "vlc_video.h"
#include "video_output.h"
#include "vlc_spu.h"
#include "audio_output.h"
#include "aout_internal.h"
#include "stream_output.h"
#include "vlc_playlist.h"
#include "vlc_interface.h"
#include "vlc_codec.h"
#include "vlc_filter.h"
#include "vlc_httpd.h"
#include "vlc_vlm.h"
#include "vlc_vod.h"
#include "vlc_tls.h"
#include "vlc_xml.h"
#include "vlc_osd.h"
Go to the source code of this file.
Functions | |
void * | __vlc_object_create (vlc_object_t *p_this, int i_type) |
void | __vlc_object_destroy (vlc_object_t *p_this) |
void * | __vlc_object_get (vlc_object_t *p_this, int i_id) |
void * | __vlc_object_find (vlc_object_t *p_this, int i_type, int i_mode) |
void | __vlc_object_yield (vlc_object_t *p_this) |
void | __vlc_object_release (vlc_object_t *p_this) |
void | __vlc_object_attach (vlc_object_t *p_this, vlc_object_t *p_parent) |
void | __vlc_object_detach (vlc_object_t *p_this) |
vlc_list_t * | __vlc_list_find (vlc_object_t *p_this, int i_type, int i_mode) |
Definition in file objects.c.
|
find a list typed objects and increment their refcount This function recursively looks for a given object type. i_mode can be one of FIND_PARENT, FIND_CHILD or FIND_ANYWHERE. Definition at line 610 of file objects.c. References vlc_list_t::i_count. |
|
attach object to a parent object This function sets p_this as a child of p_parent, and p_parent as a parent of p_this. This link can be undone using vlc_object_detach. |
|
Initialize a vlc object This function allocates memory for a vlc object and initializes it. If i_type is not a known value such as VLC_OBJECT_ROOT, VLC_OBJECT_VOUT and so on, vlc_object_create will use its value for the object size. Definition at line 99 of file objects.c. References var_AddCallback, and var_Create. |
|
Destroy a vlc object This function destroys an object that has been previously allocated with vlc_object_create. The object's refcount must be zero and it must not be attached to other objects in any way. Definition at line 325 of file objects.c. References var_Destroy. |
|
detach object from its parent This function removes all links between an object and its parent. |
|
find a typed object and increment its refcount This function recursively looks for a given object type. i_mode can be one of FIND_PARENT, FIND_CHILD or FIND_ANYWHERE. |
|
find an object given its ID This function looks for the object whose i_object_id field is i_id. We use a dichotomy so that lookups are in log2(n). |
|
decrement an object refcount |
|
increment an object refcount |