VLC
3.0.21
|
Go to the source code of this file.
Macros | |
#define | CONFIG_HINT_CATEGORY 0x02 /* Start of new category */ |
#define | CONFIG_HINT_USAGE 0x05 /* Usage information */ |
#define | CONFIG_CATEGORY 0x06 /* Set category */ |
#define | CONFIG_SUBCATEGORY 0x07 /* Set subcategory */ |
#define | CONFIG_SECTION 0x08 /* Start of new section */ |
#define | CONFIG_ITEM_FLOAT 0x20 /* Float option */ |
#define | CONFIG_ITEM_INTEGER 0x40 /* Integer option */ |
#define | CONFIG_ITEM_RGB 0x41 /* RGB color option */ |
#define | CONFIG_ITEM_BOOL 0x60 /* Bool option */ |
#define | CONFIG_ITEM_STRING 0x80 /* String option */ |
#define | CONFIG_ITEM_PASSWORD 0x81 /* Password option (*) */ |
#define | CONFIG_ITEM_KEY 0x82 /* Hot key option */ |
#define | CONFIG_ITEM_MODULE 0x84 /* Module option */ |
#define | CONFIG_ITEM_MODULE_CAT 0x85 /* Module option */ |
#define | CONFIG_ITEM_MODULE_LIST 0x86 /* Module option */ |
#define | CONFIG_ITEM_MODULE_LIST_CAT 0x87 /* Module option */ |
#define | CONFIG_ITEM_LOADFILE 0x8C /* Read file option */ |
#define | CONFIG_ITEM_SAVEFILE 0x8D /* Written file option */ |
#define | CONFIG_ITEM_DIRECTORY 0x8E /* Directory option */ |
#define | CONFIG_ITEM_FONT 0x8F /* Font option */ |
#define | CONFIG_ITEM(x) (((x) & ~0xF) != 0) |
#define | CAT_INTERFACE 1 |
#define | SUBCAT_INTERFACE_GENERAL 101 |
#define | SUBCAT_INTERFACE_MAIN 102 |
#define | SUBCAT_INTERFACE_CONTROL 103 |
#define | SUBCAT_INTERFACE_HOTKEYS 104 |
#define | CAT_AUDIO 2 |
#define | SUBCAT_AUDIO_GENERAL 201 |
#define | SUBCAT_AUDIO_AOUT 202 |
#define | SUBCAT_AUDIO_AFILTER 203 |
#define | SUBCAT_AUDIO_VISUAL 204 |
#define | SUBCAT_AUDIO_MISC 205 |
#define | SUBCAT_AUDIO_RESAMPLER 206 |
#define | CAT_VIDEO 3 |
#define | SUBCAT_VIDEO_GENERAL 301 |
#define | SUBCAT_VIDEO_VOUT 302 |
#define | SUBCAT_VIDEO_VFILTER 303 |
#define | SUBCAT_VIDEO_SUBPIC 305 |
#define | SUBCAT_VIDEO_SPLITTER 306 |
#define | CAT_INPUT 4 |
#define | SUBCAT_INPUT_GENERAL 401 |
#define | SUBCAT_INPUT_ACCESS 402 |
#define | SUBCAT_INPUT_DEMUX 403 |
#define | SUBCAT_INPUT_VCODEC 404 |
#define | SUBCAT_INPUT_ACODEC 405 |
#define | SUBCAT_INPUT_SCODEC 406 |
#define | SUBCAT_INPUT_STREAM_FILTER 407 |
#define | CAT_SOUT 5 |
#define | SUBCAT_SOUT_GENERAL 501 |
#define | SUBCAT_SOUT_STREAM 502 |
#define | SUBCAT_SOUT_MUX 503 |
#define | SUBCAT_SOUT_ACO 504 |
#define | SUBCAT_SOUT_PACKETIZER 505 |
#define | SUBCAT_SOUT_VOD 507 |
#define | SUBCAT_SOUT_RENDERER 508 |
#define | CAT_ADVANCED 6 |
#define | SUBCAT_ADVANCED_MISC 602 |
#define | SUBCAT_ADVANCED_NETWORK 603 |
#define | CAT_PLAYLIST 7 |
#define | SUBCAT_PLAYLIST_GENERAL 701 |
#define | SUBCAT_PLAYLIST_SD 702 |
#define | SUBCAT_PLAYLIST_EXPORT 703 |
#define | MODULE_SYMBOL 3_0_0f |
Current plugin ABI version. More... | |
#define | MODULE_SUFFIX "__3_0_0f" |
#define | CONCATENATE(y, z) CRUDE_HACK( y, z ) |
#define | CRUDE_HACK(y, z) y##__##z |
#define | __VLC_SYMBOL(symbol) CONCATENATE( symbol, MODULE_NAME ) |
#define | VLC_MODULE_NAME_HIDDEN_SYMBOL |
#define | CDECL_SYMBOL |
#define | DLL_SYMBOL |
#define | EXTERN_SYMBOL |
#define | vlc_plugin_set(...) vlc_set (opaque, NULL, __VA_ARGS__) |
#define | vlc_module_set(...) vlc_set (opaque, module, __VA_ARGS__) |
#define | vlc_config_set(...) vlc_set (opaque, config, __VA_ARGS__) |
#define | vlc_module_begin() |
#define | vlc_module_end() |
#define | add_submodule() |
#define | add_shortcut(...) |
#define | set_shortname(shortname) |
#define | set_description(desc) |
#define | set_help(help) |
#define | set_capability(cap, score) |
#define | set_callbacks(activate, deactivate) |
#define | cannot_unload_broken_library() |
#define | set_text_domain(dom) |
#define | add_type_inner(type) vlc_plugin_set (VLC_CONFIG_CREATE, (type), &config); |
#define | add_typedesc_inner(type, text, longtext) |
#define | add_typeadv_inner(type, text, longtext, advc) |
#define | add_typename_inner(type, name, text, longtext, advc) |
#define | add_string_inner(type, name, text, longtext, advc, v) |
#define | add_int_inner(type, name, text, longtext, advc, v) |
#define | set_category(i_id) |
#define | set_subcategory(i_id) |
#define | set_section(text, longtext) add_typedesc_inner( CONFIG_SECTION, text, longtext ) |
#define | add_category_hint(text, longtext, advc) add_typeadv_inner( CONFIG_HINT_CATEGORY, text, longtext, advc ) |
#define | add_usage_hint(text) add_typedesc_inner( CONFIG_HINT_USAGE, text, NULL ) |
#define | add_string(name, value, text, longtext, advc) |
#define | add_password(name, value, text, longtext, advc) |
#define | add_loadfile(name, value, text, longtext, advc) |
#define | add_savefile(name, value, text, longtext, advc) |
#define | add_directory(name, value, text, longtext, advc) |
#define | add_font(name, value, text, longtext, advc) |
#define | add_module(name, psz_caps, value, text, longtext, advc) |
#define | add_module_list(name, psz_caps, value, text, longtext, advc) |
#define | add_module_cat(name, i_subcategory, value, text, longtext, advc) |
#define | add_module_list_cat(name, i_subcategory, value, text, longtext, advc) |
#define | add_integer(name, value, text, longtext, advc) add_int_inner( CONFIG_ITEM_INTEGER, name, text, longtext, advc, value ) |
#define | add_rgb(name, value, text, longtext, advc) |
#define | add_key(name, value, text, longtext, advc) |
#define | add_integer_with_range(name, value, i_min, i_max, text, longtext, advc) |
#define | add_float(name, v, text, longtext, advc) |
#define | add_float_with_range(name, value, f_min, f_max, text, longtext, advc) |
#define | add_bool(name, v, text, longtext, advc) |
#define | add_obsolete_inner(name, type) |
#define | add_obsolete_bool(name) add_obsolete_inner( name, CONFIG_ITEM_BOOL ) |
#define | add_obsolete_integer(name) add_obsolete_inner( name, CONFIG_ITEM_INTEGER ) |
#define | add_obsolete_float(name) add_obsolete_inner( name, CONFIG_ITEM_FLOAT ) |
#define | add_obsolete_string(name) add_obsolete_inner( name, CONFIG_ITEM_STRING ) |
#define | change_short(ch) vlc_config_set (VLC_CONFIG_SHORTCUT, (int)(ch)); |
#define | change_string_list(list, list_text) |
#define | change_string_cb(cb) vlc_config_set (VLC_CONFIG_LIST_CB, #cb, (void *)(cb)); |
#define | change_integer_list(list, list_text) |
#define | change_integer_cb(cb) vlc_config_set (VLC_CONFIG_LIST_CB, #cb, (cb)); |
#define | change_integer_range(minv, maxv) vlc_config_set (VLC_CONFIG_RANGE, (int64_t)(minv), (int64_t)(maxv)); |
#define | change_float_range(minv, maxv) vlc_config_set (VLC_CONFIG_RANGE, (double)(minv), (double)(maxv)); |
#define | change_private() vlc_config_set (VLC_CONFIG_PRIVATE); |
#define | change_volatile() |
#define | change_safe() vlc_config_set (VLC_CONFIG_SAFE); |
#define | VLC_META_EXPORT(name, value) |
#define | VLC_COPYRIGHT_VIDEOLAN |
#define | VLC_LICENSE_LGPL_2_1_PLUS |
#define | VLC_LICENSE_GPL_2_PLUS |
#define | VLC_COPYRIGHT_EXPORT |
#define | VLC_LICENSE_EXPORT |
#define | VLC_METADATA_EXPORTS |
Typedefs | |
typedef int(* | vlc_set_cb) (void *, void *, int,...) |
This file implements plugin (module) macros used to define a vlc module.
#define __VLC_SYMBOL | ( | symbol | ) | CONCATENATE( symbol, MODULE_NAME ) |
#define add_bool | ( | name, | |
v, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_category_hint | ( | text, | |
longtext, | |||
advc | |||
) | add_typeadv_inner( CONFIG_HINT_CATEGORY, text, longtext, advc ) |
#define add_directory | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_float | ( | name, | |
v, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_float_with_range | ( | name, | |
value, | |||
f_min, | |||
f_max, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_font | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_int_inner | ( | type, | |
name, | |||
text, | |||
longtext, | |||
advc, | |||
v | |||
) |
#define add_integer | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) | add_int_inner( CONFIG_ITEM_INTEGER, name, text, longtext, advc, value ) |
#define add_integer_with_range | ( | name, | |
value, | |||
i_min, | |||
i_max, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_key | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_loadfile | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_module | ( | name, | |
psz_caps, | |||
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_module_cat | ( | name, | |
i_subcategory, | |||
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_module_list | ( | name, | |
psz_caps, | |||
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_module_list_cat | ( | name, | |
i_subcategory, | |||
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_obsolete_bool | ( | name | ) | add_obsolete_inner( name, CONFIG_ITEM_BOOL ) |
#define add_obsolete_float | ( | name | ) | add_obsolete_inner( name, CONFIG_ITEM_FLOAT ) |
#define add_obsolete_inner | ( | name, | |
type | |||
) |
#define add_obsolete_integer | ( | name | ) | add_obsolete_inner( name, CONFIG_ITEM_INTEGER ) |
#define add_obsolete_string | ( | name | ) | add_obsolete_inner( name, CONFIG_ITEM_STRING ) |
#define add_password | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_rgb | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_savefile | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_shortcut | ( | ... | ) |
#define add_string | ( | name, | |
value, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_string_inner | ( | type, | |
name, | |||
text, | |||
longtext, | |||
advc, | |||
v | |||
) |
#define add_submodule | ( | ) |
#define add_type_inner | ( | type | ) | vlc_plugin_set (VLC_CONFIG_CREATE, (type), &config); |
#define add_typeadv_inner | ( | type, | |
text, | |||
longtext, | |||
advc | |||
) |
#define add_typedesc_inner | ( | type, | |
text, | |||
longtext | |||
) |
#define add_typename_inner | ( | type, | |
name, | |||
text, | |||
longtext, | |||
advc | |||
) |
#define add_usage_hint | ( | text | ) | add_typedesc_inner( CONFIG_HINT_USAGE, text, NULL ) |
#define cannot_unload_broken_library | ( | ) |
#define CAT_ADVANCED 6 |
#define CAT_AUDIO 2 |
#define CAT_INPUT 4 |
#define CAT_INTERFACE 1 |
#define CAT_PLAYLIST 7 |
#define CAT_SOUT 5 |
#define CAT_VIDEO 3 |
#define CDECL_SYMBOL |
#define change_float_range | ( | minv, | |
maxv | |||
) | vlc_config_set (VLC_CONFIG_RANGE, (double)(minv), (double)(maxv)); |
#define change_integer_cb | ( | cb | ) | vlc_config_set (VLC_CONFIG_LIST_CB, #cb, (cb)); |
#define change_integer_list | ( | list, | |
list_text | |||
) |
#define change_integer_range | ( | minv, | |
maxv | |||
) | vlc_config_set (VLC_CONFIG_RANGE, (int64_t)(minv), (int64_t)(maxv)); |
#define change_private | ( | ) | vlc_config_set (VLC_CONFIG_PRIVATE); |
#define change_safe | ( | ) | vlc_config_set (VLC_CONFIG_SAFE); |
#define change_short | ( | ch | ) | vlc_config_set (VLC_CONFIG_SHORTCUT, (int)(ch)); |
#define change_string_cb | ( | cb | ) | vlc_config_set (VLC_CONFIG_LIST_CB, #cb, (void *)(cb)); |
#define change_string_list | ( | list, | |
list_text | |||
) |
#define change_volatile | ( | ) |
#define CONCATENATE | ( | y, | |
z | |||
) | CRUDE_HACK( y, z ) |
#define CONFIG_CATEGORY 0x06 /* Set category */ |
#define CONFIG_HINT_CATEGORY 0x02 /* Start of new category */ |
#define CONFIG_HINT_USAGE 0x05 /* Usage information */ |
#define CONFIG_ITEM | ( | x | ) | (((x) & ~0xF) != 0) |
#define CONFIG_ITEM_BOOL 0x60 /* Bool option */ |
#define CONFIG_ITEM_DIRECTORY 0x8E /* Directory option */ |
#define CONFIG_ITEM_FLOAT 0x20 /* Float option */ |
#define CONFIG_ITEM_FONT 0x8F /* Font option */ |
#define CONFIG_ITEM_INTEGER 0x40 /* Integer option */ |
#define CONFIG_ITEM_KEY 0x82 /* Hot key option */ |
#define CONFIG_ITEM_LOADFILE 0x8C /* Read file option */ |
#define CONFIG_ITEM_MODULE 0x84 /* Module option */ |
#define CONFIG_ITEM_MODULE_CAT 0x85 /* Module option */ |
#define CONFIG_ITEM_MODULE_LIST 0x86 /* Module option */ |
#define CONFIG_ITEM_MODULE_LIST_CAT 0x87 /* Module option */ |
#define CONFIG_ITEM_PASSWORD 0x81 /* Password option (*) */ |
#define CONFIG_ITEM_RGB 0x41 /* RGB color option */ |
#define CONFIG_ITEM_SAVEFILE 0x8D /* Written file option */ |
#define CONFIG_ITEM_STRING 0x80 /* String option */ |
#define CONFIG_SECTION 0x08 /* Start of new section */ |
#define CONFIG_SUBCATEGORY 0x07 /* Set subcategory */ |
#define CRUDE_HACK | ( | y, | |
z | |||
) | y##__##z |
#define DLL_SYMBOL |
#define EXTERN_SYMBOL |
#define MODULE_SUFFIX "__3_0_0f" |
#define MODULE_SYMBOL 3_0_0f |
Current plugin ABI version.
#define set_callbacks | ( | activate, | |
deactivate | |||
) |
#define set_capability | ( | cap, | |
score | |||
) |
#define set_category | ( | i_id | ) |
#define set_description | ( | desc | ) |
#define set_help | ( | help | ) |
#define set_section | ( | text, | |
longtext | |||
) | add_typedesc_inner( CONFIG_SECTION, text, longtext ) |
#define set_shortname | ( | shortname | ) |
#define set_subcategory | ( | i_id | ) |
#define set_text_domain | ( | dom | ) |
#define SUBCAT_ADVANCED_MISC 602 |
#define SUBCAT_ADVANCED_NETWORK 603 |
#define SUBCAT_AUDIO_AFILTER 203 |
#define SUBCAT_AUDIO_AOUT 202 |
#define SUBCAT_AUDIO_GENERAL 201 |
#define SUBCAT_AUDIO_MISC 205 |
#define SUBCAT_AUDIO_RESAMPLER 206 |
#define SUBCAT_AUDIO_VISUAL 204 |
#define SUBCAT_INPUT_ACCESS 402 |
#define SUBCAT_INPUT_ACODEC 405 |
#define SUBCAT_INPUT_DEMUX 403 |
#define SUBCAT_INPUT_GENERAL 401 |
#define SUBCAT_INPUT_SCODEC 406 |
#define SUBCAT_INPUT_STREAM_FILTER 407 |
#define SUBCAT_INPUT_VCODEC 404 |
#define SUBCAT_INTERFACE_CONTROL 103 |
#define SUBCAT_INTERFACE_GENERAL 101 |
#define SUBCAT_INTERFACE_HOTKEYS 104 |
#define SUBCAT_INTERFACE_MAIN 102 |
#define SUBCAT_PLAYLIST_EXPORT 703 |
#define SUBCAT_PLAYLIST_GENERAL 701 |
#define SUBCAT_PLAYLIST_SD 702 |
#define SUBCAT_SOUT_ACO 504 |
#define SUBCAT_SOUT_GENERAL 501 |
#define SUBCAT_SOUT_MUX 503 |
#define SUBCAT_SOUT_PACKETIZER 505 |
#define SUBCAT_SOUT_RENDERER 508 |
#define SUBCAT_SOUT_STREAM 502 |
#define SUBCAT_SOUT_VOD 507 |
#define SUBCAT_VIDEO_GENERAL 301 |
#define SUBCAT_VIDEO_SPLITTER 306 |
#define SUBCAT_VIDEO_SUBPIC 305 |
#define SUBCAT_VIDEO_VFILTER 303 |
#define SUBCAT_VIDEO_VOUT 302 |
#define vlc_config_set | ( | ... | ) | vlc_set (opaque, config, __VA_ARGS__) |
#define VLC_COPYRIGHT_EXPORT |
#define VLC_COPYRIGHT_VIDEOLAN |
#define VLC_LICENSE_EXPORT |
#define VLC_LICENSE_GPL_2_PLUS |
#define VLC_LICENSE_LGPL_2_1_PLUS |
#define VLC_META_EXPORT | ( | name, | |
value | |||
) |
#define VLC_METADATA_EXPORTS |
#define vlc_module_begin | ( | ) |
#define vlc_module_end | ( | ) |
#define VLC_MODULE_NAME_HIDDEN_SYMBOL |
#define vlc_module_set | ( | ... | ) | vlc_set (opaque, module, __VA_ARGS__) |
#define vlc_plugin_set | ( | ... | ) | vlc_set (opaque, NULL, __VA_ARGS__) |
typedef int(* vlc_set_cb) (void *, void *, int,...) |