VLC 4.0.0-dev
Loading...
Searching...
No Matches
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

struct  vlc_rational_t

Macros

#define VLC_USED
#define VLC_MALLOC
#define VLC_DEPRECATED
#define VLC_DEPRECATED_ENUM
 Deprecated enum member annotation.
#define VLC_FORMAT(x, y)
 String format function annotation.
#define VLC_FORMAT_ARG(x)
 Format string translation function annotation.
#define VLC_WEAK
 Weak symbol annotation.
#define likely(p)
 Predicted true condition.
#define unlikely(p)
 Predicted false condition.
#define unreachable()
 Impossible branch.
#define vlc_assert_unreachable()
 Impossible branch assertion.
#define vlc_assert(pred)
 Run-time assertion.
#define VLC_EXTERN
#define VLC_EXPORT
#define VLC_API   VLC_EXTERN VLC_EXPORT
 Exported API call annotation.
#define VLC_FOURCC(a, b, c, d)
#define VLC_TWOCC(a, b)
#define VLC_SUCCESS   0
 No error.
#define VLC_EGENERIC   (-2 * (1 << (sizeof (int) * 8 - 2))) /* INT_MIN */
 Unspecified error.
#define VLC_ENOMEM   (-ENOMEM)
 Not enough memory.
#define VLC_ETIMEOUT   (-ETIMEDOUT)
 Timeout.
#define VLC_ENOENT   (-ENOENT)
 Not found.
#define VLC_EINVAL   (-EINVAL)
 Bad variable value.
#define VLC_EACCES   (-EACCES)
 Operation forbidden.
#define VLC_ENOTSUP   (-ENOTSUP)
 Operation not supported.
#define VLC_CLIP(v, min, max)
#define VLC_INT_FUNC(basename)
#define VLC_INT_FUNC_TYPE(basename, type, suffix)
#define VLC_INT_GENERIC(func, x)
#define ctz(x)
 Count trailing zeroes.
#define parity(x)
 Parity.
#define vlc_popcount(x)
 Bit weight / population count.
#define add_overflow(a, b, r)
 Overflowing addition.
#define mul_overflow(a, b, r)
 Overflowing multiplication.
#define FREENULL(a)
#define EMPTY_STR(str)
#define ARRAY_SIZE(x)
#define hton16(i)
#define hton32(i)
#define hton64(i)
#define ntoh16(i)
#define ntoh32(i)
#define ntoh64(i)
#define GetWBE(p)
#define GetDWBE(p)
#define GetQWBE(p)
#define VLC_UNUSED(x)
#define container_of(ptr, type, member)
#define vlc_pgettext(ctx, id)
#define DIR_SEP_CHAR   '/'
#define DIR_SEP   "/"
#define PATH_SEP_CHAR   ':'
#define PATH_SEP   ":"
#define LICENSE_MSG
#define ARRAY_STATIC_SIZE   static

Typedefs

typedef struct vlc_object_t vlc_object_t
typedef struct libvlc_int_t libvlc_int_t
typedef struct date_t date_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_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_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 vlc_frame_t block_t
typedef struct vlc_fifo_t vlc_fifo_t
typedef struct vlc_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

Functions

static void vlc_fourcc_to_char (vlc_fourcc_t fcc, char *psz_fourcc)
 Translate a vlc_fourcc into its string representation.
static size_t vlc_align (size_t v, size_t align)
 Make integer v a multiple of align.
static int64_t GCD (int64_t a, int64_t b)
 Greatest common divisor.
static uint8_t clip_uint8_vlc (int32_t a)
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).
static uint32_t vlc_bswap32 (uint32_t x)
 Byte swap (32 bits).
static uint64_t vlc_bswap64 (uint64_t x)
 Byte swap (64 bits).
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.
static uint32_t U32_AT (const void *p)
 Reads 32 bits in network byte order.
static uint64_t U64_AT (const void *p)
 Reads 64 bits in network byte order.
static uint16_t GetWLE (const void *p)
 Reads 16 bits in little-endian order.
static uint32_t GetDWLE (const void *p)
 Reads 32 bits in little-endian order.
static uint64_t GetQWLE (const void *p)
 Reads 64 bits in little-endian order.
static void SetWBE (void *p, uint16_t w)
 Writes 16 bits in network byte order.
static void SetDWBE (void *p, uint32_t dw)
 Writes 32 bits in network byte order.
static void SetQWBE (void *p, uint64_t qw)
 Writes 64 bits in network byte order.
static void SetWLE (void *p, uint16_t w)
 Writes 16 bits in little endian order.
static void SetDWLE (void *p, uint32_t dw)
 Writes 32 bits in little endian order.
static void SetQWLE (void *p, uint64_t qw)
 Writes 64 bits in little endian order.
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.
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

◆ ARRAY_SIZE

#define ARRAY_SIZE ( x)
Value:
(sizeof(x) / sizeof((x)[0]))

Referenced by aout_OutputNew(), AppendFilter(), ChangeFilters(), CheckThumbnailerFormat(), clock_source_Inherit(), config_GetAppDir(), config_GetSysPath(), config_GetUserDir(), DeinterlaceIsModeValid(), demux_NameFromMimeType(), EsOutUpdateInfo(), FilterOrder(), GuessType(), hpack_lookup_name(), hpack_lookup_value(), httpd_ClientRecv(), httpd_ReasonFromCode(), httpdLoop(), image_Type2Fourcc(), input_item_IsMaster(), input_item_slave_GetType(), InputGetExtraFiles(), libvlc_InternalActionsInit(), LookupAudio(), LookupSpu(), LookupVideo(), picture_Setup(), preparser_pool_SpawnProcess(), protocol_set_port(), rtp_h265_open(), rtp_pcm_open(), spu_Render(), SpuRenderSubpictures(), update_NeedUpgrade(), video_format_Print(), vlc_actions_get_id(), vlc_actions_get_keycodes(), vlc_config_cat_Count(), vlc_config_cat_Find(), vlc_config_cat_GetAt(), vlc_config_subcat_Count(), vlc_config_subcat_Find(), vlc_config_subcat_GetAt(), vlc_fourcc_GetChromaDescription(), vlc_global_mutex(), vlc_h2_parse_generic(), vlc_h2_setting_name(), vlc_h2_strerror(), vlc_h2_type_name(), vlc_http_msg_h2_frame(), vlc_http_port_blocked(), vlc_keycode2str(), vlc_meta_TypeToString(), vlc_mkstemp(), vlc_player_AddMetadataLoudnessListener(), vlc_player_ChangeRateOffset(), vlc_player_GetEsIdFromVout(), vlc_player_vout_AddCallbacks(), vlc_player_vout_DelCallbacks(), vlc_rcu_synchronize(), vlc_replay_gain_CopyFromMeta(), vlc_rtp_add_media_types(), vlc_rtp_set_default_types(), vlc_str2keycode(), vlc_trace(), vlc_xml_decode(), vout_CreateVars(), vout_display_window_StateNotify(), wait_bucket_destroy(), wait_bucket_get(), wait_bucket_get(), and wait_bucket_init().

◆ ARRAY_STATIC_SIZE

#define ARRAY_STATIC_SIZE   static

◆ container_of

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

Referenced by aout_instance(), config_LoadCmdLine(), dec_get_owner(), dec_get_owner(), decoder_frame_next_need_data(), decoder_frame_next_status(), decoder_frame_previous_seek(), decoder_frame_previous_status(), demux_PacketizerDestroy(), DisplayHoldDecoderDevice(), filter_chain_DeleteFilter(), filter_chain_VideoBufferNew(), filter_chain_VideoFilter(), input_attachment_priv(), input_priv(), libvlc_priv(), ml_priv(), picture_AttachAncillary(), picture_Clone(), picture_CopyProperties(), picture_Destroy(), picture_DestroyClone(), picture_GetAncillary(), picture_InternalClone(), picture_MergeAncillaries(), picture_MergeAndClearAncillaries(), picture_pool_AppendPic(), picture_pool_ReleaseClone(), picture_Reset(), preparser_req_get_owner(), preparser_task_get_req_owner(), PRIV(), PRIV(), PRIV(), SetHighlights(), SourceConverterBuffer(), spu_Attach(), spu_ChangeChannelOrderMargin(), spu_ChangeFilters(), spu_ChangeSources(), spu_Cleanup(), spu_ClearChannel(), spu_Destroy(), spu_Detach(), spu_get_attachments(), spu_GetChannel(), spu_GetFreeChannelId(), spu_PrerenderThread(), spu_PutSubpicture(), spu_RegisterChannelInternal(), spu_Render(), spu_SelectSubpictures(), spu_SetClockDelay(), spu_SetClockRate(), spu_SetHighlight(), spu_UnregisterChannel(), SpuRenderRegion(), SpuRenderSubpictures(), SpuRenderText(), subpicture_region_cache_Assign(), subpicture_region_cache_GetFormat(), subpicture_region_cache_GetPicture(), subpicture_region_cache_Invalidate(), subpicture_region_cache_IsValid(), subpicture_region_Delete(), UpdateSourceSAR(), vlc_chunked_close(), vlc_chunked_read(), vlc_datagram_Close(), vlc_datagram_GetPollFD(), vlc_datagram_Recv(), vlc_datagram_Send(), vlc_dccp_Recv(), 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_h2_stream_write(), vlc_LogEarlyClose(), vlc_LogModuleClose(), vlc_LogSwitch(), vlc_LogSwitchClose(), vlc_objres_clear(), vlc_objres_push(), vlc_player_track_Delete(), vlc_rtp_es_id_destroy(), vlc_rtp_es_id_send(), vlc_rtp_es_mux_destroy(), vlc_rtp_es_mux_send(), vlc_tracer_Destroy(), vlc_tracer_TraceWithTs(), vlc_vaLogEarly(), vlc_vaLogHeader(), vlc_vaLogModule(), vlc_vaLogSwitch(), vlc_window_Delete(), vlc_window_Enable(), vlc_window_ReportFullscreen(), vlc_window_ReportWindowed(), vlc_window_SetFullScreen(), vlc_window_SetInhibition(), vlc_window_SetSize(), vlc_window_UnsetFullScreen(), vlc_window_UpdateInhibitionUnlocked(), vout_ConvertForDisplay(), vout_display_Delete(), vout_display_Reset(), vout_display_SetSize(), vout_FilterFlush(), vout_SetDisplayAspect(), vout_SetDisplayCrop(), vout_SetDisplayFitting(), vout_SetDisplayFormat(), vout_SetDisplayIccProfile(), vout_SetDisplayProjection(), vout_SetDisplayStereo(), vout_SetDisplayViewpoint(), vout_SetDisplayZoom(), vout_SetSourceAspect(), vout_UpdateDisplaySourceProperties(), vout_UpdateSourceCrop(), and VoutConverterCreate().

◆ DIR_SEP

◆ DIR_SEP_CHAR

#define DIR_SEP_CHAR   '/'

◆ EMPTY_STR

#define EMPTY_STR ( str)

◆ FREENULL

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

Referenced by EmptyRelease(), GetUpdateFile(), mrl_Clean(), sout_MuxNew(), and sout_StreamDelete().

◆ GetDWBE

#define GetDWBE ( p)
Value:
#define p(t)
static uint32_t U32_AT(const void *p)
Reads 32 bits in network byte order.
Definition vlc_common.h:937

Referenced by rtp_mpv_decode(), rtp_queue(), rtp_timestamp(), vlc_h2_frame_id(), vlc_h2_parse_frame_goaway(), vlc_h2_parse_frame_rst_stream(), vlc_h2_parse_frame_settings(), vlc_h2_parse_frame_window_update(), and xiph_decode().

◆ GetQWBE

#define GetQWBE ( p)
Value:
static uint64_t U64_AT(const void *p)
Reads 64 bits in network byte order.
Definition vlc_common.h:947

◆ GetWBE

#define GetWBE ( p)
Value:
static uint16_t U16_AT(const void *p)
Reads 16 bits in network byte order.
Definition vlc_common.h:927

Referenced by h264_chainsplit_MTAP(), h264_deaggregate_STAP(), h265_deaggregate_AP(), rtp_decode(), rtp_mpa_decode(), rtp_mpeg4_decode(), rtp_seq(), vlc_h2_parse_frame_settings(), and xiph_decode().

◆ hton16

#define hton16 ( i)
Value:
static uint16_t vlc_bswap16(uint16_t x)
Byte swap (16 bits).
Definition vlc_common.h:705

Referenced by SetWBE().

◆ hton32

#define hton32 ( i)
Value:
static uint32_t vlc_bswap32(uint32_t x)
Byte swap (32 bits).
Definition vlc_common.h:712

Referenced by SetDWBE().

◆ hton64

#define hton64 ( i)
Value:
static uint64_t vlc_bswap64(uint64_t x)
Byte swap (64 bits).
Definition vlc_common.h:726

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:452

Referenced by Version().

◆ ntoh16

#define ntoh16 ( i)
Value:
#define hton16(i)
Definition vlc_common.h:917

Referenced by U16_AT().

◆ ntoh32

#define ntoh32 ( i)
Value:
#define hton32(i)
Definition vlc_common.h:918

Referenced by rtp_mpa_decode(), and U32_AT().

◆ ntoh64

#define ntoh64 ( i)
Value:
#define hton64(i)
Definition vlc_common.h:919

Referenced by U64_AT().

◆ PATH_SEP

#define PATH_SEP   ":"

◆ PATH_SEP_CHAR

#define PATH_SEP_CHAR   ':'

◆ VLC_FOURCC

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

◆ vlc_pgettext

#define vlc_pgettext ( ctx,
id )
Value:
vlc_pgettext_aux( ctx "\004" id, id )
static const char * vlc_pgettext_aux(const char *ctx, const char *id)
Definition vlc_common.h:1095

Referenced by EsOutUpdateInfo().

◆ VLC_TWOCC

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

◆ VLC_UNUSED

#define VLC_UNUSED ( x)
Value:
(void)(x)

Referenced by _DLL_InitTerm(), access_vaDirectoryControlHelper(), AspectCallback(), AvgClean(), buildResultEqual(), buildResultInsert(), buildResultRemove(), ChangeProjectionCallback(), config_CmdLineEarlyScan(), CreateObject(), CropBorderCallback(), CropCallback(), decoder_device_Open(), DeinterlaceCallback(), DisplayHoldDecoderDevice(), FreeCacheEntry(), image_get_device(), net_SetCSCov(), 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_subtree_added(), on_thumbnailer_input_event(), OnArtFetchEnded(), OnParserAttachmentsAdded(), OnParserEnded(), OnParserSubtreeAdded(), OverrideProjectionCallback(), player_on_current_media_changed(), ReplayGainCallback(), RestartSubFilterCallback(), RestartSubSourceCallback(), rtp_h264_decode(), rtp_h264_destroy(), rtp_h264_open(), rtp_h265_decode(), rtp_h265_destroy(), rtp_mpeg4_decode(), rtp_mpeg4_destroy(), rtp_mpeg4_open(), rtp_opus_decode(), rtp_opus_destroy(), rtp_opus_init(), rtp_opus_open(), SecondarySubMarginCallback(), SnapshotCallback(), sout_MuxFlush(), SubFilterCallback(), SubMarginCallback(), SubSourceCallback(), thumbnailer_get_device(), VideoFilterCallback(), ViewpointCallback(), vlc_atomic_rc_inc(), vlc_dlopen(), vlc_getProxyUrl(), vlc_getProxyUrl(), vlc_media_tree_Preparse(), vlc_meta_FreeExtraKey(), vlc_player_vout_OSDCallback(), vlc_playlist_AutoPreparse(), vlc_playlist_Clear(), vlc_playlist_FindIndices(), vlc_playlist_Next(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_Prev(), vlc_playlist_RemoveListener(), vlc_process_fd_Read(), vlc_process_fd_Write(), vlc_process_Spawn(), vlc_process_Terminate(), vlc_stream_ReadLine(), vlc_thread_set_name(), vlm_Control(), vlm_Delete(), vlm_ExecuteCommand(), vlm_MessageAdd(), vlm_MessageDelete(), vlm_MessageNew(), vlm_MessageSimpleNew(), vout_FillRightPanel(), and VoutHoldDecoderDevice().

Typedef Documentation

◆ addon_entry_t

typedef struct addon_entry_t addon_entry_t

◆ audio_format_t

typedef struct audio_format_t audio_format_t

◆ audio_output_t

typedef struct audio_output audio_output_t

◆ audio_sample_format_t

◆ block_fifo_t

typedef struct vlc_fifo_t block_fifo_t

◆ block_t

typedef struct vlc_frame_t block_t

◆ config_category_t

typedef struct config_category_t config_category_t

◆ config_chain_t

typedef struct config_chain_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

typedef struct image_handler_t image_handler_t

◆ info_category_t

typedef struct info_category_t info_category_t

◆ info_t

typedef struct info_t info_t

◆ input_attachment_t

typedef struct input_attachment_t input_attachment_t

◆ input_source_t

typedef struct input_source_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

typedef struct module_config_t module_config_t

◆ module_t

typedef struct module_t module_t

◆ picture_t

typedef struct picture_t picture_t

◆ seekpoint_t

typedef struct seekpoint_t seekpoint_t

◆ services_discovery_t

typedef struct services_discovery_t services_discovery_t

◆ session_descriptor_t

typedef struct session_descriptor_t session_descriptor_t

◆ sout_access_out_t

typedef struct sout_access_out_t sout_access_out_t

◆ sout_input_t

typedef struct sout_input_t sout_input_t

◆ sout_mux_t

typedef struct sout_mux_t sout_mux_t

◆ sout_packetizer_input_t

typedef struct sout_packetizer_input_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

typedef struct subpicture_region_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

typedef struct video_format_t video_format_t

◆ video_frame_format_t

◆ video_palette_t

typedef struct video_palette_t video_palette_t

◆ vlc_es_id_t

typedef struct vlc_es_id_t vlc_es_id_t

◆ vlc_fifo_t

typedef struct vlc_fifo_t vlc_fifo_t

◆ vlc_hash_md5_t

◆ 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

typedef struct vlc_renderer_discovery_t vlc_renderer_discovery_t

◆ vlc_renderer_item_t

typedef struct vlc_renderer_item_t vlc_renderer_item_t

◆ vlc_url_t

typedef struct vlc_url_t vlc_url_t

◆ vlc_viewpoint_t

typedef struct vlc_viewpoint_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()

uint32_t GetDWLE ( const void * p)
inlinestatic

Reads 32 bits in little-endian order.

References p, and vlc_bswap32().

◆ GetQWLE()

uint64_t GetQWLE ( const void * p)
inlinestatic

Reads 64 bits in little-endian order.

References p, and vlc_bswap64().

◆ GetWLE()

uint16_t GetWLE ( const void * p)
inlinestatic

Reads 16 bits in little-endian order.

References p, and vlc_bswap16().

◆ SetDWBE()

void SetDWBE ( void * p,
uint32_t dw )
inlinestatic

◆ SetDWLE()

void SetDWLE ( void * p,
uint32_t dw )
inlinestatic

Writes 32 bits in little endian order.

References p, and vlc_bswap32().

◆ SetQWBE()

void SetQWBE ( void * p,
uint64_t qw )
inlinestatic

Writes 64 bits in network byte order.

References hton64, and p.

◆ SetQWLE()

void SetQWLE ( void * p,
uint64_t qw )
inlinestatic

Writes 64 bits in little endian order.

References p, and vlc_bswap64().

◆ SetWBE()

void SetWBE ( void * p,
uint16_t w )
inlinestatic

Writes 16 bits in network byte order.

References hton16, and p.

Referenced by vlc_h2_frame_settings(), and xiph_decode().

◆ SetWLE()

void SetWLE ( void * p,
uint16_t w )
inlinestatic

Writes 16 bits in little endian order.

References p, and vlc_bswap16().

◆ U16_AT()

uint16_t U16_AT ( const void * p)
inlinestatic

Reads 16 bits in network byte order.

References ntoh16, and p.

Referenced by vlc_stream_ReadLine().

◆ U32_AT()

uint32_t U32_AT ( const void * p)
inlinestatic

Reads 32 bits in network byte order.

References ntoh32, and p.

Referenced by parse_signature_v4_packet().

◆ U64_AT()

uint64_t U64_AT ( const void * p)
inlinestatic

Reads 64 bits in network byte order.

References ntoh64, and p.

◆ vlc_alloc()

◆ VLC_CompileBy()

const char * VLC_CompileBy ( void )

Referenced by Version().

◆ VLC_CompileHost()

const char * VLC_CompileHost ( void )

References DECLARE_VLC_VERSION.

Referenced by Version().

◆ VLC_Compiler()

const char * VLC_Compiler ( void )

References DECLARE_VLC_VERSION.

Referenced by Version().

◆ vlc_fourcc_to_char()

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()

◆ vlc_ngettext()

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

References likely.

◆ vlc_pgettext_aux()

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

References vlc_gettext(), and vlc_pgettext_aux().

Referenced by vlc_pgettext_aux().

◆ vlc_reallocarray()

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

References count, and mul_overflow.

Referenced by vlc_vector_reallocdata_().

◆ vlc_ureduce()

◆ xmalloc()

◆ xrealloc()

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

References unlikely.

Referenced by httpd_HandlerCallBack().

◆ xstrdup()

char * xstrdup ( const char * str)
inlinestatic

References strdup(), and unlikely.