VLC  4.0.0-dev
Data Structures | Macros | Typedefs | Functions
vlc_common.h File Reference

This file is a collection of common definitions and types. More...

Include dependency graph for vlc_common.h:

Go to the source code of this file.

Data Structures

union  vlc_value_t
 VLC value structure. More...
 
struct  vlc_rational_t
 

Macros

#define VLC_GCC_VERSION(maj, min)   (0)
 GCC version check. More...
 
#define VLC_DEPRECATED
 Deprecated functions or compound members annotation. More...
 
#define VLC_DEPRECATED_ENUM
 Deprecated enum member annotation. More...
 
#define VLC_FORMAT(x, y)
 String format function annotation. More...
 
#define VLC_FORMAT_ARG(x)
 Format string translation function annotation. More...
 
#define VLC_MALLOC
 Heap allocated result function annotation. More...
 
#define VLC_USED
 Used result function annotation. More...
 
#define VLC_WEAK
 Weak symbol annotation. More...
 
#define likely(p)   (!!(p))
 Predicted true condition. More...
 
#define unlikely(p)   (!!(p))
 Predicted false condition. More...
 
#define unreachable()   ((void)0)
 Impossible branch. More...
 
#define vlc_assert_unreachable()   (vlc_assert(!"unreachable"), unreachable())
 Impossible branch assertion. More...
 
#define vlc_assert(pred)   ((void)0)
 Run-time assertion. More...
 
#define VLC_EXTERN
 
#define VLC_EXPORT
 
#define VLC_API   VLC_EXTERN VLC_EXPORT
 Exported API call annotation. More...
 
#define VLC_FOURCC(a, b, c, d)
 
#define VLC_TWOCC(a, b)   ( (uint16_t)(a) | ( (uint16_t)(b) << 8 ) )
 
#define VLC_SUCCESS   (-0)
 No error. More...
 
#define VLC_EGENERIC   (-1)
 Unspecified error. More...
 
#define VLC_ENOMEM   (-2)
 Not enough memory. More...
 
#define VLC_ETIMEOUT   (-3)
 Timeout. More...
 
#define VLC_ENOMOD   (-4)
 Module not found. More...
 
#define VLC_ENOOBJ   (-5)
 Object not found. More...
 
#define VLC_ENOVAR   (-6)
 Variable not found. More...
 
#define VLC_EBADVAR   (-7)
 Bad variable value. More...
 
#define VLC_ENOITEM   (-8)
 Item not found. More...
 
#define VLC_CLIP(v, min, max)   __MIN(__MAX((v), (min)), (max))
 
#define VLC_INT_FUNC(basename)
 
#define VLC_INT_FUNC_TYPE(basename, type, suffix)
 
#define VLC_INT_GENERIC(func, x)
 
#define clz(x)
 Count leading zeroes. More...
 
#define ctz(x)   VLC_INT_GENERIC(vlc_ctz, x)
 Count trailing zeroes. More...
 
#define parity(x)   VLC_INT_GENERIC(vlc_parity, x)
 Parity. More...
 
#define vlc_popcount(x)
 Bit weight / population count. More...
 
#define add_overflow(a, b, r)
 Overflowing addition. More...
 
#define mul_overflow(a, b, r)
 Overflowing multiplication. More...
 
#define FREENULL(a)   do { free( a ); a = NULL; } while(0)
 
#define EMPTY_STR(str)   (!str || !*str)
 
#define hton16(i)   vlc_bswap16(i)
 
#define hton32(i)   vlc_bswap32(i)
 
#define hton64(i)   vlc_bswap64(i)
 
#define ntoh16(i)   hton16(i)
 
#define ntoh32(i)   hton32(i)
 
#define ntoh64(i)   hton64(i)
 
#define GetWBE(p)   U16_AT(p)
 
#define GetDWBE(p)   U32_AT(p)
 
#define GetQWBE(p)   U64_AT(p)
 
#define VLC_UNUSED(x)   (void)(x)
 
#define container_of(ptr, type, member)   ((type *)(((char *)(ptr)) - offsetof(type, member)))
 
#define vlc_pgettext(ctx, id)   vlc_pgettext_aux( ctx "\004" id, id )
 
#define DIR_SEP_CHAR   '/'
 
#define DIR_SEP   "/"
 
#define PATH_SEP_CHAR   ':'
 
#define PATH_SEP   ":"
 
#define LICENSE_MSG
 

Typedefs

typedef uint32_t vlc_fourcc_t
 The vlc_fourcc_t type. More...
 
typedef struct vlc_object_t vlc_object_t
 
typedef struct libvlc_int_t libvlc_int_t
 
typedef struct date_t date_t
 
typedef struct playlist_t playlist_t
 
typedef struct playlist_item_t playlist_item_t
 
typedef struct services_discovery_t services_discovery_t
 
typedef struct vlc_renderer_discovery_t vlc_renderer_discovery_t
 
typedef struct vlc_renderer_item_t vlc_renderer_item_t
 
typedef struct module_t module_t
 
typedef struct module_config_t module_config_t
 
typedef struct config_category_t config_category_t
 
typedef struct input_item_t input_item_t
 
typedef struct input_item_node_t input_item_node_t
 
typedef struct input_source_t input_source_t
 
typedef struct stream_t stream_t
 
typedef struct stream_t demux_t
 
typedef struct es_out_t es_out_t
 
typedef struct es_out_id_t es_out_id_t
 
typedef struct seekpoint_t seekpoint_t
 
typedef struct info_t info_t
 
typedef struct info_category_t info_category_t
 
typedef struct input_attachment_t input_attachment_t
 
typedef struct audio_format_t audio_format_t
 
typedef struct video_format_t video_format_t
 
typedef struct subs_format_t subs_format_t
 
typedef struct es_format_t es_format_t
 
typedef struct video_palette_t video_palette_t
 
typedef struct vlc_es_id_t vlc_es_id_t
 
typedef struct audio_output audio_output_t
 
typedef audio_format_t audio_sample_format_t
 
typedef struct vout_thread_t vout_thread_t
 
typedef struct vlc_viewpoint_t vlc_viewpoint_t
 
typedef video_format_t video_frame_format_t
 
typedef struct picture_t picture_t
 
typedef struct spu_t spu_t
 
typedef struct subpicture_t subpicture_t
 
typedef struct subpicture_region_t subpicture_region_t
 
typedef struct image_handler_t image_handler_t
 
typedef struct sout_instance_t sout_instance_t
 
typedef struct sout_input_t sout_input_t
 
typedef struct sout_packetizer_input_t sout_packetizer_input_t
 
typedef struct sout_access_out_t sout_access_out_t
 
typedef struct sout_mux_t sout_mux_t
 
typedef struct sout_stream_t sout_stream_t
 
typedef struct config_chain_t config_chain_t
 
typedef struct session_descriptor_t session_descriptor_t
 
typedef struct decoder_t decoder_t
 
typedef struct encoder_t encoder_t
 
typedef struct filter_t filter_t
 
typedef struct vlc_url_t vlc_url_t
 
typedef struct iso639_lang_t iso639_lang_t
 
typedef struct block_t block_t
 
typedef struct block_fifo_t block_fifo_t
 
typedef struct vlc_hash_md5_ctx vlc_hash_md5_t
 
typedef struct xml_t xml_t
 
typedef struct xml_reader_t xml_reader_t
 
typedef struct vod_t vod_t
 
typedef struct vod_media_t vod_media_t
 
typedef struct vlm_t vlm_t
 
typedef struct vlm_message_t vlm_message_t
 
typedef struct vlc_meta_t vlc_meta_t
 
typedef struct input_stats_t input_stats_t
 
typedef struct addon_entry_t addon_entry_t
 
typedef struct update_t update_t
 
typedef int(* vlc_callback_t) (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
 
typedef int(* vlc_list_callback_t) (vlc_object_t *, char const *, int, vlc_value_t *, void *)
 

Functions

static void vlc_fourcc_to_char (vlc_fourcc_t fcc, char *psz_fourcc)
 Translate a vlc_fourcc into its string representation. More...
 
static size_t vlc_align (size_t v, size_t align)
 Make integer v a multiple of align. More...
 
static int64_t GCD (int64_t a, int64_t b)
 Greatest common divisor. More...
 
static uint8_t clip_uint8_vlc (int32_t a)
 
static int vlc_clzll (unsigned long long x)
 
static int vlc_clzl (unsigned long x)
 
static int vlc_clz (unsigned x)
 
static int vlc_ctz_generic (unsigned long long x)
 
static int vlc_parity_generic (unsigned long long x)
 
static int vlc_popcount_generic (unsigned long long x)
 
static int vlc_ctz (unsigned x)
 
static int vlc_ctzl (unsigned long x)
 
static int vlc_ctzll (unsigned long long x)
 
static int vlc_parity (unsigned x)
 
static int vlc_parityl (unsigned long x)
 
static int vlc_parityll (unsigned long long x)
 
static int vlc_popcount (unsigned x)
 
static int vlc_popcountl (unsigned long x)
 
static int vlc_popcountll (unsigned long long x)
 
static uint16_t vlc_bswap16 (uint16_t x)
 Byte swap (16 bits) More...
 
static uint32_t vlc_bswap32 (uint32_t x)
 Byte swap (32 bits) More...
 
static uint64_t vlc_bswap64 (uint64_t x)
 Byte swap (64 bits) More...
 
static bool uadd_overflow (unsigned a, unsigned b, unsigned *res)
 
static bool uaddl_overflow (unsigned long a, unsigned long b, unsigned long *res)
 
static bool uaddll_overflow (unsigned long long a, unsigned long long b, unsigned long long *res)
 
static bool umul_overflow (unsigned a, unsigned b, unsigned *res)
 
static bool umull_overflow (unsigned long a, unsigned long b, unsigned long *res)
 
static bool umulll_overflow (unsigned long long a, unsigned long long b, unsigned long long *res)
 
static uint16_t U16_AT (const void *p)
 Reads 16 bits in network byte order. More...
 
static uint32_t U32_AT (const void *p)
 Reads 32 bits in network byte order. More...
 
static uint64_t U64_AT (const void *p)
 Reads 64 bits in network byte order. More...
 
static uint16_t GetWLE (const void *p)
 Reads 16 bits in little-endian order. More...
 
static uint32_t GetDWLE (const void *p)
 Reads 32 bits in little-endian order. More...
 
static uint64_t GetQWLE (const void *p)
 Reads 64 bits in little-endian order. More...
 
static void SetWBE (void *p, uint16_t w)
 Writes 16 bits in network byte order. More...
 
static void SetDWBE (void *p, uint32_t dw)
 Writes 32 bits in network byte order. More...
 
static void SetQWBE (void *p, uint64_t qw)
 Writes 64 bits in network byte order. More...
 
static void SetWLE (void *p, uint16_t w)
 Writes 16 bits in little endian order. More...
 
static void SetDWLE (void *p, uint32_t dw)
 Writes 32 bits in little endian order. More...
 
static void SetQWLE (void *p, uint64_t qw)
 Writes 64 bits in little endian order. More...
 
bool vlc_ureduce (unsigned *, unsigned *, uint64_t, uint64_t, uint64_t)
 
static void * vlc_alloc (size_t count, size_t size)
 
static void * vlc_reallocarray (void *ptr, size_t count, size_t size)
 
const char * vlc_gettext (const char *msgid)
 In-tree plugins share their gettext domain with LibVLC. More...
 
const char * vlc_ngettext (const char *s, const char *p, unsigned long n)
 
static const char * vlc_pgettext_aux (const char *ctx, const char *id)
 
static void * xmalloc (size_t len)
 
static void * xrealloc (void *ptr, size_t len)
 
static char * xstrdup (const char *str)
 
const char * VLC_CompileBy (void)
 
const char * VLC_CompileHost (void)
 
const char * VLC_Compiler (void)
 

Detailed Description

This file is a collection of common definitions and types.

Macro Definition Documentation

◆ container_of

#define container_of (   ptr,
  type,
  member 
)    ((type *)(((char *)(ptr)) - offsetof(type, member)))

Referenced by Add(), ClockUpdate(), Control(), ControlLocked(), ControlLockedGetBuffering(), ControlLockedGetEmpty(), ControlLockedGetWakeup(), ControlLockedSetFrameNext(), ControlLockedSetPauseState(), ControlLockedSetRate(), dec_get_owner(), decoder_get_attachments(), decoder_on_new_audio_stats(), decoder_on_new_video_stats(), decoder_on_thumbnail_ready(), decoder_on_vout_started(), decoder_on_vout_stopped(), Del(), Destroy(), DisplayHoldDecoderDevice(), EsOutAdd(), EsOutAddLocked(), EsOutChangePause(), EsOutChangePosition(), EsOutChangeRate(), EsOutControl(), EsOutCreateCCChannels(), EsOutCreateDecoder(), EsOutDecoderChangeDelay(), EsOutDecodersChangePause(), EsOutDecodersIsEmpty(), EsOutDecodersStopBuffering(), EsOutDel(), EsOutDelete(), EsOutDeleteInfoEs(), EsOutDelLocked(), EsOutDrainDecoder(), EsOutEpgTime(), EsOutEsUpdateFmt(), EsOutFillEsFmt(), EsOutFrameNext(), EsOutGetBuffering(), EsOutGetSelectedCat(), EsOutGetTracksDelay(), EsOutGetWakeup(), EsOutGlobalMeta(), EsOutIsExtraBufferingAllowed(), EsOutIsGroupSticky(), EsOutIsProgramVisible(), EsOutMeta(), EsOutPrivControl(), EsOutProgramAdd(), EsOutProgramChangePause(), EsOutProgramDel(), EsOutProgramEpg(), EsOutProgramEpgEvent(), EsOutProgramMeta(), EsOutProgramsChangeRate(), EsOutProgramSearch(), EsOutProgramSelect(), EsOutProgramUpdateScrambled(), EsOutSelect(), EsOutSelectEs(), EsOutSelectList(), EsOutSelectListFromProps(), EsOutSend(), EsOutSendEsEvent(), EsOutSetDelay(), EsOutSetEsDelay(), EsOutSetRecord(), EsOutSourceAdd(), EsOutSourceControl(), EsOutSourceDel(), EsOutSourceDestroy(), EsOutSourceSend(), EsOutStopFreeVout(), EsOutTerminate(), EsOutUnselectEs(), EsOutUpdateInfo(), EsOutVaControlLocked(), EsOutVaPrivControlLocked(), filter_chain_VideoBufferNew(), input_priv(), libvlc_priv(), ml_priv(), picture_Destroy(), PrivControl(), PrivControlLocked(), Send(), TsAutoStop(), TsStart(), vlc_chunked_close(), vlc_chunked_read(), vlc_decoder_device_Hold(), vlc_decoder_device_Release(), vlc_es_id_get_out(), vlc_h1_conn_release(), vlc_h1_stream_conn(), vlc_h1_stream_open(), vlc_h2_conn_release(), vlc_h2_stream_close(), vlc_h2_stream_open(), vlc_h2_stream_read(), vlc_h2_stream_wait(), vlc_LogEarlyClose(), vlc_LogModuleClose(), vlc_LogSwitch(), vlc_LogSwitchClose(), vlc_objres_clear(), vlc_objres_push(), vlc_player_track_Delete(), vlc_vaLogEarly(), vlc_vaLogHeader(), vlc_vaLogModule(), vlc_vaLogSwitch(), vout_ConvertForDisplay(), vout_display_CheckReset(), vout_display_Delete(), vout_display_Reset(), vout_display_SendEventPicturesInvalid(), vout_display_SetSize(), vout_FilterFlush(), vout_GetPool(), vout_IsDisplayFiltered(), vout_SetDisplayAspect(), vout_SetDisplayCrop(), vout_SetDisplayFilled(), vout_SetDisplayViewpoint(), vout_SetDisplayZoom(), vout_SetSourceAspect(), vout_UpdateDisplaySourceProperties(), vout_UpdateSourceCrop(), vout_window_Delete(), vout_window_ReportFullscreen(), vout_window_ReportWindowed(), vout_window_SetInhibition(), vout_window_UpdateInhibitionUnlocked(), and VoutDisplayCreateRender().

◆ DIR_SEP

#define DIR_SEP   "/"

◆ DIR_SEP_CHAR

#define DIR_SEP_CHAR   '/'

◆ EMPTY_STR

#define EMPTY_STR (   str)    (!str || !*str)

◆ FREENULL

#define FREENULL (   a)    do { free( a ); a = NULL; } while(0)

◆ GetDWBE

#define GetDWBE (   p)    U32_AT(p)

◆ GetQWBE

#define GetQWBE (   p)    U64_AT(p)

◆ GetWBE

#define GetWBE (   p)    U16_AT(p)

◆ hton16

#define hton16 (   i)    vlc_bswap16(i)

Referenced by SetWBE().

◆ hton32

#define hton32 (   i)    vlc_bswap32(i)

Referenced by SetDWBE().

◆ hton64

#define hton64 (   i)    vlc_bswap64(i)

Referenced by SetQWBE().

◆ LICENSE_MSG

#define LICENSE_MSG
Value:
_("This program comes with NO WARRANTY, to the extent permitted by " \
"law.\nYou may redistribute it under the terms of the GNU General " \
"Public License;\nsee the file named COPYING for details.\n" \
"Written by the VideoLAN team; see the AUTHORS file.\n")
#define _(str)
Definition: vlc_fixups.h:366

Referenced by Version().

◆ ntoh16

#define ntoh16 (   i)    hton16(i)

Referenced by U16_AT().

◆ ntoh32

#define ntoh32 (   i)    hton32(i)

Referenced by U32_AT().

◆ ntoh64

#define ntoh64 (   i)    hton64(i)

Referenced by U64_AT().

◆ PATH_SEP

#define PATH_SEP   ":"

◆ PATH_SEP_CHAR

#define PATH_SEP_CHAR   ':'

◆ VLC_EBADVAR

#define VLC_EBADVAR   (-7)

Bad variable value.

Referenced by InstallEntry().

◆ VLC_EGENERIC

#define VLC_EGENERIC   (-1)

Unspecified error.

Referenced by access_vaDirectoryControlHelper(), addons_manager_Install(), addons_manager_WriteCatalog(), aout_EnableFilter(), aout_OutputNew(), block_FindStartcodeFromOffset(), block_GetBytes(), block_PeekBytes(), block_PeekOffsetBytes(), block_WaitBytes(), CmdExecuteControl(), CmdExecuteSend(), CmdInitAdd(), CmdInitControl(), config_LoadConfigFile(), Control(), ControlLocked(), ControlLockedSetPauseState(), ControlLockedSetRate(), ControlPop(), decoder_GetInputAttachments(), DecoderThread_Reload(), DecoderUpdatePreroll(), DeinterlaceCallback(), demux_Probe(), demux_vaControlHelper(), dialog_display_error_va(), dialog_display_login_va(), dialog_display_question_va(), dialog_update_progress(), dialog_wait(), display_progress_va(), download_signature(), EsOutProgramDel(), EsOutSetRecord(), EsOutVaControlLocked(), EsOutVaPrivControlLocked(), FileControl(), FileSeek(), filter_Blend(), filter_chain_AppendFromString(), filter_chain_MouseFilter(), filter_ConfigureBlend(), filter_GetInputAttachments(), httpd_StreamCallBack(), httpd_StreamSetHTTPHeaders(), ImageWriteUrl(), info_category_DeleteInfo(), Init(), input_clock_ConvertTS(), input_clock_GetState(), input_ControlPush(), input_FindArtInCache(), input_FindArtInCacheUsingItemUID(), input_item_AddOption(), input_item_AddSlave(), input_item_DelInfo(), input_item_parser_InputEvent(), input_item_WriteMeta(), input_SaveArt(), input_SlaveSourceAdd(), input_Start(), InputItemVaAddInfo(), InputSourceInit(), InputStreamHandleAnchor(), InputThread_GetInputAttachments(), InstallEntry(), installOrRemoveAddon(), intf_Create(), libvlc_InternalDialogInit(), libvlc_InternalInit(), libvlc_InternalKeystoreInit(), LiveControl(), MainLoop(), MainLoopTryRepeat(), module_load(), ModuleThread_PlayAudio(), ModuleThread_PlayVideo(), mrl_EscapeFragmentIdentifier(), mrl_FragmentSplit(), net_GetPeerAddress(), net_GetSockAddress(), net_SetCSCov(), net_SetMcastHopLimit(), Open(), OSDEpgValidate(), OSDTextValidate(), OSDWidgetValidate(), parse_public_key(), parse_public_key_packet(), parse_signature_packet(), picture_Export(), picture_Setup(), PreparserOpenInput(), PrivControlLocked(), ReadAlbumCache(), rsa_pkcs1_encode_sig(), se_AttachWrapper(), se_DirControl(), se_InitDirectory(), SearchByScope(), SocksHandshakeTCP(), SocksNegotiate(), sout_AccessOutControl(), sout_AccessOutRead(), sout_AccessOutSeek(), sout_InputControlVa(), sout_StreamControlVa(), spu_channel_Push(), spu_get_attachments(), StartWorker(), stream_extractor_AttachParsed(), StreamExtractorAttach(), subtitles_Detect(), ThreadDisplayPicture(), ThreadDisplayPreparePicture(), ThreadDisplayRenderPicture(), thumbnailer_request_Start(), TsPopCmdLocked(), TsStart(), var_Change(), var_GetAndSet(), var_InheritURational(), verify_signature(), verify_signature_dsa(), verify_signature_rsa(), video_splitter_NewPicture(), vlc_demux_chained_ControlVa(), vlc_dialog_display_error_va(), vlc_dialog_wait_login_va(), vlc_dialog_wait_question_va(), vlc_ext_dialog_update(), vlc_http_auth_ParseAuthenticationInfoHeader(), vlc_input_decoder_AddVoutOverlay(), vlc_input_decoder_DelVoutOverlay(), vlc_input_decoder_GetCcState(), vlc_input_decoder_SetCcState(), vlc_input_decoder_SetSpuHighlight(), vlc_input_decoder_SetVbiOpaque(), vlc_input_decoder_SetVbiPage(), vlc_keystore_entry_set_secret(), vlc_keystore_store(), vlc_logger_load(), vlc_player_AddAssociatedMedia(), vlc_player_GetSignal(), vlc_player_GetTimerPoint(), vlc_player_OpenNextMedia(), vlc_player_SetAtoBLoop(), vlc_player_SetCategoryDelay(), vlc_player_SetEsIdDelay(), vlc_player_Start(), vlc_player_Stop(), vlc_player_timer_point_Interpolate(), vlc_playlist_Export(), vlc_playlist_Next(), vlc_playlist_Prev(), vlc_rd_get_names(), vlc_sd_control(), vlc_set_priority(), vlc_stream_fifo_Control(), vlc_stream_Seek(), vlm_ControlMediaAdd(), vlm_ControlMediaChange(), vlm_ControlMediaDel(), vlm_ControlMediaGet(), vlm_ControlMediaGetId(), vlm_ControlMediaInstanceClear(), vlm_ControlMediaInstanceGets(), vlm_ControlMediaInstanceGetTimePosition(), vlm_ControlMediaInstancePause(), vlm_ControlMediaInstanceSetTimePosition(), vlm_ControlMediaInstanceStart(), vlm_ControlMediaInstanceStop(), vlm_MediaDescriptionCheck(), vlm_vaControlInternal(), vout_control_Pop(), vout_GetSnapshot(), vout_OSDEpg(), vout_snapshot_SaveImage(), vout_Start(), and VoutSnapshotPip().

◆ VLC_ENOITEM

#define VLC_ENOITEM   (-8)

Item not found.

Referenced by vlc_playlist_ExpandItemFromNode().

◆ VLC_ENOMEM

#define VLC_ENOMEM   (-2)

◆ VLC_ENOMOD

#define VLC_ENOMOD   (-4)

Module not found.

◆ VLC_ENOOBJ

#define VLC_ENOOBJ   (-5)

Object not found.

Referenced by InputThread_GetInputAttachments(), and var_Inherit().

◆ VLC_ENOVAR

#define VLC_ENOVAR   (-6)

Variable not found.

Referenced by var_Change(), var_GetAndSet(), var_GetChecked(), and var_SetChecked().

◆ VLC_ETIMEOUT

#define VLC_ETIMEOUT   (-3)

◆ VLC_FOURCC

#define VLC_FOURCC (   a,
  b,
  c,
 
)
Value:
( ((uint32_t)a) | ( ((uint32_t)b) << 8 ) \
| ( ((uint32_t)c) << 16 ) | ( ((uint32_t)d) << 24 ) )

◆ vlc_pgettext

#define vlc_pgettext (   ctx,
  id 
)    vlc_pgettext_aux( ctx "\004" id, id )

Referenced by EsOutUpdateInfo().

◆ VLC_SUCCESS

#define VLC_SUCCESS   (-0)

No error.

Referenced by __extension_GetBool(), AboveCallback(), access_vaDirectoryControlHelper(), addons_manager_LoadCatalog(), aout_EnableFilter(), aout_OutputNew(), AspectCallback(), AutoScaleCallback(), background_worker_Push(), block_FindStartcodeFromOffset(), block_GetBytes(), block_PeekBytes(), block_PeekOffsetBytes(), block_WaitBytes(), CmdInitAdd(), CmdInitControl(), CmdInitDel(), CmdInitPrivControl(), config_SortConfig(), Control(), ControlLocked(), ControlLockedGetBuffering(), ControlLockedGetEmpty(), ControlLockedGetWakeup(), ControlNav(), ControlPop(), ControlSetEsList(), CropBorderCallback(), CropCallback(), DecoderThread_ProcessInput(), DecoderThread_Reload(), DeinterlaceCallback(), demux_SetPosition(), demux_SetTime(), demux_UpdateTitleFromStream(), demux_vaControlHelper(), dialog_display_error_va(), dialog_display_login_va(), dialog_display_question_va(), dialog_id_post(), dialog_update_progress(), display_progress_va(), download_key(), download_signature(), es_format_Copy(), es_out_SetEsCatIds(), EsOutAddLocked(), EsOutDeleteInfoEs(), EsOutEsUpdateFmt(), EsOutProgramDel(), EsOutProgramEpg(), EsOutProgramUpdateScrambled(), EsOutSend(), EsOutSetRecord(), EsOutVaControlLocked(), EsOutVaPrivControlLocked(), extension_DialogCommand(), FileControl(), FileSeek(), filter_Blend(), filter_chain_ForEach(), filter_chain_MouseFilter(), filter_ConfigureBlend(), FilterCallback(), FullscreenCallback(), generic_start(), GetUpdateFile(), httpd_FileCallBack(), httpd_HandlerCallBack(), httpd_RedirectCallBack(), httpd_StreamCallBack(), httpd_StreamHeader(), httpd_StreamSend(), httpd_StreamSetHTTPHeaders(), httpd_UrlCatch(), ImageWriteUrl(), info_category_DeleteInfo(), Init(), input_clock_ConvertTS(), input_clock_GetState(), input_ControlPush(), input_ExtractAttachmentAndCacheArt(), input_fetcher_Push(), input_FindArtInCache(), input_FindArtInCacheUsingItemUID(), input_item_AddOpaque(), input_item_AddOption(), input_item_AddOptions(), input_item_AddSlave(), input_item_DelInfo(), input_item_parser_InputEvent(), input_item_WriteMeta(), input_SaveArt(), input_SlaveSourceAdd(), input_Start(), InputItemVaAddInfo(), InputSourceInit(), InputStreamHandleAnchor(), InputThread_GetInputAttachments(), InstallEntry(), InstallerThread(), installOrRemoveAddon(), intf_Create(), intf_InsertItem(), InvokeModule(), libvlc_ArtRequest(), libvlc_InternalActionsInit(), libvlc_InternalAddIntf(), libvlc_InternalDialogInit(), libvlc_InternalInit(), libvlc_InternalKeystoreInit(), LiveControl(), LoadSlaves(), MainLoop(), MainLoopTryRepeat(), module_load(), ModuleThread_PlayAudio(), ModuleThread_PlayVideo(), ModuleThread_QueueAudio(), ModuleThread_QueueVideo(), mrl_EscapeFragmentIdentifier(), mrl_FragmentSplit(), mrl_Parse(), net_SetCSCov(), net_SetMcastHopLimit(), Open(), OSDEpgValidate(), OSDTextValidate(), OSDWidgetValidate(), parse_public_key(), parse_public_key_packet(), parse_signature_packet(), picture_Export(), picture_Setup(), PreparserCloseInput(), PreparserOpenInput(), PrivControlLocked(), rdh_attach_slaves(), rdh_unflatten(), ReadAlbumCache(), ReplayGainCallback(), RestartSubFilterCallback(), RestartSubSourceCallback(), rsa_pkcs1_encode_sig(), se_AttachWrapper(), se_InitDirectory(), se_InitStream(), SearchByScope(), SearchLocal(), SecondarySubMarginCallback(), Seek(), Send(), SnapshotCallback(), SocksHandshakeTCP(), SocksNegotiate(), sout_InputDelete(), sout_InputIsEmpty(), sout_MuxSendBuffer(), spu_channel_Push(), spu_get_attachments(), StartWorker(), stream_extractor_AttachParsed(), StreamExtractorAttach(), SubFilterAddProxyCallbacks(), SubFilterCallback(), SubFilterDelProxyCallbacks(), SubMarginCallback(), subpicture_region_private_New(), SubSourceAddProxyCallbacks(), SubSourceCallback(), SubSourceClean(), SubSourceDelProxyCallbacks(), SubSourceInit(), subtitles_Detect(), Thread(), ThreadDelFilterCallbacks(), ThreadDisplayPreparePicture(), ThreadDisplayRenderPicture(), thumbnailer_request_Start(), thumbnailer_RequestCommon(), TsPopCmdLocked(), TsStart(), update_DownloadReal(), var_Change(), var_Create(), var_GetAndSet(), var_GetChecked(), var_Inherit(), var_InheritURational(), var_LocationParse(), var_SetChecked(), verify_signature_dsa(), verify_signature_rsa(), video_format_Copy(), video_splitter_Mouse(), video_splitter_NewPicture(), VideoFilterCallback(), ViewpointCallback(), VisualizationCallback(), vlc_credential_store(), vlc_demux_chained_ControlVa(), vlc_dialog_display_error_va(), vlc_dialog_display_progress_va(), vlc_event_attach(), vlc_ext_dialog_update(), vlc_http_auth_ParseAuthenticationInfoHeader(), vlc_input_decoder_AddVoutOverlay(), vlc_input_decoder_DelVoutOverlay(), vlc_input_decoder_GetCcState(), vlc_input_decoder_SetCcState(), vlc_input_decoder_SetSpuHighlight(), vlc_key_to_action(), vlc_keystore_entry_set_secret(), vlc_logger_load(), vlc_MetadataRequest(), vlc_ml_count_album_artists(), vlc_ml_count_album_tracks(), vlc_ml_count_albums(), vlc_ml_count_albums_of(), vlc_ml_count_artist_albums(), vlc_ml_count_artist_tracks(), vlc_ml_count_artists(), vlc_ml_count_artists_of(), vlc_ml_count_audio_media(), vlc_ml_count_genre_albums(), vlc_ml_count_genre_artists(), vlc_ml_count_genre_tracks(), vlc_ml_count_genres(), vlc_ml_count_media_labels(), vlc_ml_count_media_of(), vlc_ml_count_playlist_media(), vlc_ml_count_playlists(), vlc_ml_count_show_episodes(), vlc_ml_count_shows(), vlc_ml_count_video_media(), vlc_ml_list_album_artists(), vlc_ml_list_album_tracks(), vlc_ml_list_albums(), vlc_ml_list_albums_of(), vlc_ml_list_artist_albums(), vlc_ml_list_artist_of(), vlc_ml_list_artist_tracks(), vlc_ml_list_artists(), vlc_ml_list_audio_media(), vlc_ml_list_genre_albums(), vlc_ml_list_genre_artists(), vlc_ml_list_genre_tracks(), vlc_ml_list_genres(), vlc_ml_list_history(), vlc_ml_list_media_labels(), vlc_ml_list_media_of(), vlc_ml_list_playlist_media(), vlc_ml_list_playlists(), vlc_ml_list_show_episodes(), vlc_ml_list_shows(), vlc_ml_list_stream_history(), vlc_ml_list_video_media(), vlc_ml_new_external_media(), vlc_ml_new_stream(), vlc_module_load(), vlc_player_AddAssociatedMedia(), vlc_player_AoutCallback(), vlc_player_ChangeRate(), vlc_player_CorkCallback(), vlc_player_GetSignal(), vlc_player_input_New(), vlc_player_input_RestoreMlStates(), vlc_player_input_Start(), vlc_player_NextVideoFrame(), vlc_player_OpenNextMedia(), vlc_player_program_Update(), vlc_player_SeekByPos(), vlc_player_SeekByTime(), vlc_player_SelectChapterIdx(), vlc_player_SelectEsId(), vlc_player_SelectEsIdList(), vlc_player_SelectNextChapter(), vlc_player_SelectNextTitle(), vlc_player_SelectPrevChapter(), vlc_player_SelectPrevTitle(), vlc_player_SelectProgram(), vlc_player_SetAtoBLoop(), vlc_player_SetCategoryDelay(), vlc_player_SetCurrentMedia(), vlc_player_SetEsIdDelay(), vlc_player_SetPause(), vlc_player_SetRecordingEnabled(), vlc_player_Start(), vlc_player_Stop(), vlc_player_timer_point_Interpolate(), vlc_player_track_priv_New(), vlc_player_track_priv_Update(), vlc_player_UnselectEsId(), vlc_player_UpdateMediaType(), vlc_player_vout_OSDCallback(), vlc_player_VoutCallback(), vlc_playlist_Expand(), vlc_playlist_Export(), vlc_playlist_GoTo(), vlc_playlist_Insert(), vlc_playlist_item_meta_CopyString(), vlc_playlist_item_meta_InitField(), vlc_playlist_item_meta_InitFields(), vlc_playlist_item_meta_New(), vlc_playlist_MediaToItems(), vlc_playlist_Next(), vlc_playlist_PlayAt(), vlc_playlist_Prev(), vlc_playlist_Replace(), vlc_playlist_RequestMove(), vlc_playlist_RequestRemove(), vlc_playlist_Sort(), vlc_probe_add(), vlc_rd_get_names(), vlc_readdir_helper_additem(), vlc_set_priority(), vlc_stream_fifo_Control(), vlc_stream_Seek(), vlc_stream_vaControl(), vlm_ControlMediaClear(), vlm_ControlMediaDel(), vlm_ControlMediaGet(), vlm_ControlMediaGetId(), vlm_ControlMediaGets(), vlm_ControlMediaInstanceClear(), vlm_ControlMediaInstanceGets(), vlm_ControlMediaInstanceGetTimePosition(), vlm_ControlMediaInstancePause(), vlm_ControlMediaInstanceSetTimePosition(), vlm_ControlMediaInstanceStart(), vlm_ControlMediaInstanceStop(), vlm_ControlScheduleClear(), vlm_MediaDescriptionCheck(), vlm_OnMediaUpdate(), vout_control_Pop(), vout_display_New(), vout_display_start(), vout_GetSnapshot(), vout_OSDEpg(), vout_snapshot_SaveImage(), vout_Start(), vout_window_Enable(), VoutSnapshotPip(), WallPaperCallback(), and ZoomCallback().

◆ VLC_TWOCC

#define VLC_TWOCC (   a,
 
)    ( (uint16_t)(a) | ( (uint16_t)(b) << 8 ) )

◆ VLC_UNUSED

#define VLC_UNUSED (   x)    (void)(x)

Referenced by _DLL_InitTerm(), access_vaDirectoryControlHelper(), AspectCallback(), AvgClean(), CloseWorker(), CmdInitPrivControl(), CreateObject(), CropBorderCallback(), CropCallback(), decoder_device_Open(), DeinterlaceCallback(), DisplayHoldDecoderDevice(), EsOutDestroyDecoder(), FreeCacheEntry(), image_get_device(), net_SetCSCov(), on_art_fetch_ended(), on_children_added(), on_children_removed(), on_children_reset(), on_player_media_length_changed(), on_player_media_meta_changed(), on_player_media_subitems_changed(), on_preparse_ended(), on_subtree_added(), on_thumbnailer_input_event(), OnParserEnded(), OnParserSubtreeAdded(), OSDEpgUpdate(), OSDEpgValidate(), OSDTextUpdate(), OSDTextValidate(), OSDWidgetUpdate(), OSDWidgetValidate(), player_get_next_media(), player_on_current_media_changed(), PreparserProbeInput(), ProbeWorker(), ReplayGainCallback(), RequestSout(), RestartSubFilterCallback(), RestartSubSourceCallback(), SecondarySubMarginCallback(), services_discovery_item_added(), SnapshotCallback(), sout_AccessOutControl(), sout_AccessOutDelete(), sout_AccessOutNew(), sout_AccessOutRead(), sout_AccessOutSeek(), sout_AccessOutWrite(), sout_AnnounceRegisterSDP(), sout_AnnounceUnRegister(), sout_MuxAddStream(), sout_MuxDelete(), sout_MuxDeleteStream(), sout_MuxFlush(), sout_MuxNew(), sout_MuxSendBuffer(), SubFilterCallback(), SubMarginCallback(), SubSourceCallback(), thumbnailer_get_device(), thumbnailer_request_Hold(), thumbnailer_request_Probe(), thumbnailer_request_Stop(), VideoFilterCallback(), ViewpointCallback(), vlc_atomic_rc_inc(), vlc_dlopen(), vlc_getProxyUrl(), vlc_Log(), vlc_media_tree_Preparse(), vlc_media_tree_PreparseCancel(), vlc_meta_FreeExtraKey(), vlc_player_vout_OSDCallback(), vlc_playlist_Clear(), vlc_playlist_FindIndices(), vlc_playlist_Next(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_Preparse(), vlc_playlist_Prev(), vlc_playlist_RemoveListener(), vlc_sdp_Start(), vlm_Control(), vlm_Delete(), vlm_ExecuteCommand(), vlm_MessageAdd(), vlm_MessageDelete(), vlm_MessageNew(), vlm_MessageSimpleNew(), vout_chrono_Clean(), vout_CloseWrapper(), vout_display_CheckReset(), vout_FillRightPanel(), and VoutHoldDecoderDevice().

Typedef Documentation

◆ addon_entry_t

typedef struct addon_entry_t addon_entry_t

◆ audio_format_t

◆ audio_output_t

typedef struct audio_output audio_output_t

◆ audio_sample_format_t

◆ block_fifo_t

typedef struct block_fifo_t block_fifo_t

◆ block_t

typedef struct block_t block_t

◆ config_category_t

◆ config_chain_t

◆ date_t

typedef struct date_t date_t

◆ decoder_t

typedef struct decoder_t decoder_t

◆ demux_t

typedef struct stream_t demux_t

◆ encoder_t

typedef struct encoder_t encoder_t

◆ es_format_t

typedef struct es_format_t es_format_t

◆ es_out_id_t

typedef struct es_out_id_t es_out_id_t

◆ es_out_t

typedef struct es_out_t es_out_t

◆ filter_t

typedef struct filter_t filter_t

◆ image_handler_t

◆ info_category_t

◆ info_t

typedef struct info_t info_t

◆ input_attachment_t

◆ input_item_node_t

◆ input_item_t

typedef struct input_item_t input_item_t

◆ input_source_t

◆ input_stats_t

typedef struct input_stats_t input_stats_t

◆ iso639_lang_t

typedef struct iso639_lang_t iso639_lang_t

◆ libvlc_int_t

typedef struct libvlc_int_t libvlc_int_t

◆ module_config_t

◆ module_t

typedef struct module_t module_t

◆ picture_t

typedef struct picture_t picture_t

◆ playlist_item_t

◆ playlist_t

typedef struct playlist_t playlist_t

◆ seekpoint_t

typedef struct seekpoint_t seekpoint_t

◆ services_discovery_t

◆ session_descriptor_t

◆ sout_access_out_t

◆ sout_input_t

typedef struct sout_input_t sout_input_t

◆ sout_instance_t

◆ sout_mux_t

typedef struct sout_mux_t sout_mux_t

◆ sout_packetizer_input_t

◆ sout_stream_t

typedef struct sout_stream_t sout_stream_t

◆ spu_t

typedef struct spu_t spu_t

◆ stream_t

typedef struct stream_t stream_t

◆ subpicture_region_t

◆ subpicture_t

typedef struct subpicture_t subpicture_t

◆ subs_format_t

typedef struct subs_format_t subs_format_t

◆ update_t

typedef struct update_t update_t

◆ video_format_t

◆ video_frame_format_t

◆ video_palette_t

◆ vlc_callback_t

typedef int( * vlc_callback_t) (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)

◆ vlc_es_id_t

typedef struct vlc_es_id_t vlc_es_id_t

◆ vlc_fourcc_t

typedef uint32_t vlc_fourcc_t

The vlc_fourcc_t type.

See http://www.webartz.com/fourcc/ for a very detailed list.

◆ vlc_hash_md5_t

◆ vlc_list_callback_t

typedef int( * vlc_list_callback_t) (vlc_object_t *, char const *, int, vlc_value_t *, void *)

◆ vlc_meta_t

typedef struct vlc_meta_t vlc_meta_t

◆ vlc_object_t

typedef struct vlc_object_t vlc_object_t

◆ vlc_renderer_discovery_t

◆ vlc_renderer_item_t

◆ vlc_url_t

typedef struct vlc_url_t vlc_url_t

◆ vlc_viewpoint_t

◆ vlm_message_t

typedef struct vlm_message_t vlm_message_t

◆ vlm_t

typedef struct vlm_t vlm_t

◆ vod_media_t

typedef struct vod_media_t vod_media_t

◆ vod_t

typedef struct vod_t vod_t

◆ vout_thread_t

typedef struct vout_thread_t vout_thread_t

◆ xml_reader_t

typedef struct xml_reader_t xml_reader_t

◆ xml_t

typedef struct xml_t xml_t

Function Documentation

◆ GetDWLE()

static uint32_t GetDWLE ( const void *  p)
inlinestatic

Reads 32 bits in little-endian order.

References vlc_bswap32().

◆ GetQWLE()

static uint64_t GetQWLE ( const void *  p)
inlinestatic

Reads 64 bits in little-endian order.

References vlc_bswap64().

◆ GetWLE()

static uint16_t GetWLE ( const void *  p)
inlinestatic

Reads 16 bits in little-endian order.

References vlc_bswap16().

◆ SetDWBE()

static void SetDWBE ( void *  p,
uint32_t  dw 
)
inlinestatic

◆ SetDWLE()

static void SetDWLE ( void *  p,
uint32_t  dw 
)
inlinestatic

Writes 32 bits in little endian order.

References vlc_bswap32().

◆ SetQWBE()

static void SetQWBE ( void *  p,
uint64_t  qw 
)
inlinestatic

Writes 64 bits in network byte order.

References hton64.

◆ SetQWLE()

static void SetQWLE ( void *  p,
uint64_t  qw 
)
inlinestatic

Writes 64 bits in little endian order.

References vlc_bswap64().

◆ SetWBE()

static void SetWBE ( void *  p,
uint16_t  w 
)
inlinestatic

Writes 16 bits in network byte order.

References hton16.

Referenced by SocksHandshakeTCP(), and vlc_h2_frame_settings().

◆ SetWLE()

static void SetWLE ( void *  p,
uint16_t  w 
)
inlinestatic

Writes 16 bits in little endian order.

References vlc_bswap16().

◆ U16_AT()

static uint16_t U16_AT ( const void *  p)
inlinestatic

Reads 16 bits in network byte order.

References ntoh16.

Referenced by vlc_stream_ReadLine().

◆ U32_AT()

static uint32_t U32_AT ( const void *  p)
inlinestatic

Reads 32 bits in network byte order.

References ntoh32.

Referenced by parse_signature_v4_packet().

◆ U64_AT()

static uint64_t U64_AT ( const void *  p)
inlinestatic

Reads 64 bits in network byte order.

References ntoh64.

◆ vlc_alloc()

static void* vlc_alloc ( size_t  count,
size_t  size 
)
inlinestatic

◆ VLC_CompileBy()

const char* VLC_CompileBy ( void  )

Referenced by Version(), and xstrdup().

◆ VLC_CompileHost()

const char* VLC_CompileHost ( void  )

Referenced by Version(), and xstrdup().

◆ VLC_Compiler()

const char* VLC_Compiler ( void  )

Referenced by Version(), and xstrdup().

◆ vlc_fourcc_to_char()

static void vlc_fourcc_to_char ( vlc_fourcc_t  fcc,
char *  psz_fourcc 
)
inlinestatic

Translate a vlc_fourcc into its string representation.

This function assumes there is enough room in psz_fourcc to store 4 characters in.

Parameters
fcca vlc_fourcc_t
psz_fourccstring to store string representation of vlc_fourcc in

◆ vlc_gettext()

const char* vlc_gettext ( const char *  msgid)

◆ vlc_ngettext()

const char* vlc_ngettext ( const char *  s,
const char *  p,
unsigned long  n 
)

References likely.

Referenced by vlc_reallocarray().

◆ vlc_pgettext_aux()

static const char* vlc_pgettext_aux ( const char *  ctx,
const char *  id 
)
inlinestatic

References vlc_gettext().

◆ vlc_reallocarray()

static void* vlc_reallocarray ( void *  ptr,
size_t  count,
size_t  size 
)
inlinestatic

◆ vlc_ureduce()

bool vlc_ureduce ( unsigned *  ,
unsigned *  ,
uint64_t  ,
uint64_t  ,
uint64_t   
)

◆ xmalloc()

static void* xmalloc ( size_t  len)
inlinestatic

◆ xrealloc()

static void* xrealloc ( void *  ptr,
size_t  len 
)
inlinestatic

◆ xstrdup()

static char* xstrdup ( const char *  str)
inlinestatic