
Data Structures | |
| struct | device |
| struct | subsys |
| struct | services_discovery_sys_t |
Functions | |
| static int | OpenV4L (vlc_object_t *) |
| static int | OpenALSA (vlc_object_t *) |
| static int | OpenDisc (vlc_object_t *) |
| static void | Close (vlc_object_t *obj) |
| Releases resources. | |
| static int | vlc_sd_probe_Open (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | cmpdev (const void *a, const void *b) |
| Compares two devices (to support binary search). | |
| static void | DestroyDevice (void *data) |
| static char * | decode_property (struct udev_device *, const char *) |
| static int | AddDevice (services_discovery_t *sd, struct udev_device *dev) |
| Adds a udev device. | |
| static void | RemoveDevice (services_discovery_t *sd, struct udev_device *dev) |
| Removes a udev device (if present). | |
| static void * | Run (void *) |
| static int | Open (vlc_object_t *obj, const struct subsys *subsys) |
| Probes and initializes. | |
| static int | hex (char c) |
| Converts an hexadecimal digit to an integer. | |
| static char * | decode (const char *enc) |
| Decodes a udev hexadecimal-encoded property. | |
| static bool | is_v4l_legacy (struct udev_device *dev) |
| static char * | v4l_get_mrl (struct udev_device *dev) |
| static char * | v4l_get_name (struct udev_device *dev) |
| static char * | v4l_get_cat (struct udev_device *dev) |
| static int | alsa_get_device (struct udev_device *dev, unsigned *restrict pcard, unsigned *restrict pdevice) |
| static char * | alsa_get_mrl (struct udev_device *dev) |
| static char * | alsa_get_name (struct udev_device *dev) |
| static char * | alsa_get_cat (struct udev_device *dev) |
| static char * | disc_get_mrl (struct udev_device *dev) |
| static char * | disc_get_name (struct udev_device *dev) |
| static char * | disc_get_cat (struct udev_device *dev) |
| static int AddDevice | ( | services_discovery_t * | sd, | |
| struct udev_device * | dev | |||
| ) | [static] |
Adds a udev device.
References cmpdev(), DestroyDevice(), device::devnum, subsys::get_cat, subsys::get_mrl, subsys::get_name, input_item_NewWithType(), device::item, subsys::item_type, msg_Dbg, name, services_discovery_t::p_sys, p_sys, services_discovery_sys_t::root, device::sd, services_discovery_AddItem(), services_discovery_sys_t::subsys, vlc_gc_decref, and VLC_OBJECT.
| static char* alsa_get_cat | ( | struct udev_device * | dev | ) | [static] |
| static int alsa_get_device | ( | struct udev_device * | dev, | |
| unsigned *restrict | pcard, | |||
| unsigned *restrict | pdevice | |||
| ) | [static] |
Referenced by alsa_get_mrl(), and alsa_get_name().
| static char* alsa_get_mrl | ( | struct udev_device * | dev | ) | [static] |
| static char* alsa_get_name | ( | struct udev_device * | dev | ) | [static] |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int cmpdev | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
| static char* decode | ( | const char * | enc | ) | [static] |
| static char * decode_property | ( | struct udev_device * | dev, | |
| const char * | name | |||
| ) | [static] |
| static void DestroyDevice | ( | void * | data | ) | [static] |
References device::item, device::sd, services_discovery_RemoveItem(), and vlc_gc_decref.
Referenced by AddDevice(), and RemoveDevice().
| static char* disc_get_cat | ( | struct udev_device * | dev | ) | [static] |
| static char* disc_get_mrl | ( | struct udev_device * | dev | ) | [static] |
| static char* disc_get_name | ( | struct udev_device * | dev | ) | [static] |
| static int hex | ( | char | c | ) | [static] |
Converts an hexadecimal digit to an integer.
Referenced by ASF_ReadObject_extended_content_description(), decode(), decode_URI(), encode_URI_bytes(), and sprintf_hexa().
| static bool is_v4l_legacy | ( | struct udev_device * | dev | ) | [static] |
Referenced by v4l_get_mrl().
| static int Open | ( | vlc_object_t * | obj, | |
| const struct subsys * | subsys | |||
| ) | [static] |
Probes and initializes.
References AddDevice(), services_discovery_sys_t::monitor, subsys::name, services_discovery_t::p_sys, p_sys, services_discovery_sys_t::root, Run(), device::sd, services_discovery_sys_t::subsys, services_discovery_sys_t::thread, vlc_clone(), VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and VLC_THREAD_PRIORITY_LOW.
| int OpenALSA | ( | vlc_object_t * | obj | ) | [static] |
References alsa_get_cat(), alsa_get_mrl(), alsa_get_name(), ITEM_TYPE_CARD, and Open().
| int OpenDisc | ( | vlc_object_t * | obj | ) | [static] |
References disc_get_cat(), disc_get_mrl(), disc_get_name(), ITEM_TYPE_DISC, and Open().
| int OpenV4L | ( | vlc_object_t * | obj | ) | [static] |
References ITEM_TYPE_CARD, Open(), v4l_get_cat(), v4l_get_mrl(), and v4l_get_name().
| static void RemoveDevice | ( | services_discovery_t * | sd, | |
| struct udev_device * | dev | |||
| ) | [static] |
Removes a udev device (if present).
References cmpdev(), DestroyDevice(), services_discovery_t::p_sys, p_sys, and services_discovery_sys_t::root.
Referenced by Run().
| static void * Run | ( | void * | data | ) | [static] |
| static char* v4l_get_cat | ( | struct udev_device * | dev | ) | [static] |
| static char* v4l_get_mrl | ( | struct udev_device * | dev | ) | [static] |
| static char* v4l_get_name | ( | struct udev_device * | dev | ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| static int vlc_sd_probe_Open | ( | vlc_object_t * | obj | ) | [static] |
References N_, SD_CAT_DEVICES, VLC_PROBE_CONTINUE, and vlc_sd_probe_Add().
1.5.6