mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Rebuild libVLC for win64 with new version
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* deprecated.h: libvlc deprecated API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2008 VLC authors and VideoLAN
|
||||
* $Id: 27323a434498604ca281900c3e4087a42d22a5d8 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc.h: libvlc external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2009 VLC authors and VideoLAN
|
||||
* $Id: b12d900469fa6438c41421f2ac7697b93ffc8a35 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media.h: libvlc external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2009 VLC authors and VideoLAN
|
||||
* $Id: 383f366b6940f7b3d89f5945e015793833ea541f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
@ -30,6 +30,12 @@
|
||||
extern "C" {
|
||||
# endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <basetsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
|
||||
|
||||
/** \defgroup libvlc_media LibVLC media
|
||||
* \ingroup libvlc
|
||||
* @ref libvlc_media_t is an abstract representation of a playable media.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media_discoverer.h: libvlc external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2009 VLC authors and VideoLAN
|
||||
* $Id: 96c0515ffec98f439867814d68525288b2702b0f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media_library.h: libvlc external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2009 VLC authors and VideoLAN
|
||||
* $Id: facbf813aa16140461c6e72f166d2985c52b1d6f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media_list.h: libvlc_media_list API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2008 VLC authors and VideoLAN
|
||||
* $Id: fa3b90932be8c3a9cce27925d4867aeddde748d7 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Pierre d'Herbemont
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media_list_player.h: libvlc_media_list API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2008 VLC authors and VideoLAN
|
||||
* $Id: 04f7d9b9f0d47e1b8304b51ca20fd2b1045a0ff2 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Pierre d'Herbemont
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_media_player.h: libvlc_media_player external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2015 VLC authors and VideoLAN
|
||||
* $Id: c431c235e92ced9e6e7d7712eb7ff0e73dc4f933 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman@videolan.org>
|
||||
@ -559,6 +559,8 @@ LIBVLC_API uint32_t libvlc_media_player_get_xwindow ( libvlc_media_player_t *p_m
|
||||
* render its video output. If LibVLC was built without Win32/Win64 API output
|
||||
* support, then this has no effects.
|
||||
*
|
||||
* \warning the HWND must have the WS_CLIPCHILDREN set in its style.
|
||||
*
|
||||
* \param p_mi the Media Player
|
||||
* \param drawable windows handle of the drawable
|
||||
*/
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
# define LIBVLC_VERSION_MINOR (0)
|
||||
|
||||
/** LibVLC revision */
|
||||
# define LIBVLC_VERSION_REVISION (18)
|
||||
# define LIBVLC_VERSION_REVISION (21)
|
||||
|
||||
# define LIBVLC_VERSION_EXTRA (0)
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* libvlc_vlm.h: libvlc_* new external API
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2008 VLC authors and VideoLAN
|
||||
* $Id: cfa2d956463056b287cdb0a4faeb46442040a010 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Jean-Paul Saman <jpsaman _at_ m2x _dot_ nl>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_access.h: Access descriptor, queries and methods
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2006 VLC authors and VideoLAN
|
||||
* $Id: da06554814885d03823aefbf58e858f6941b3400 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_actions.h: handle vlc actions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003-2016 VLC authors and VideoLAN
|
||||
* $Id: 404c1662a82ef3f3ffc983a81fa73b90f5773eef $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Sigmund Augdal Helberg <dnumgis@videolan.org>
|
||||
*
|
||||
|
||||
@ -129,7 +129,7 @@ struct audio_output
|
||||
/**< Stops the existing stream (optional, may be NULL).
|
||||
* \note A stream must have been started when called.
|
||||
*/
|
||||
int (*time_get)(audio_output_t *, mtime_t *delay);
|
||||
int (*time_get)(audio_output_t *, vlc_tick_t *delay);
|
||||
/**< Estimates playback buffer latency (optional, may be NULL).
|
||||
* \param delay pointer to the delay until the next sample to be written
|
||||
* to the playback buffer is rendered [OUT]
|
||||
@ -140,7 +140,7 @@ struct audio_output
|
||||
/**< Queues a block of samples for playback (mandatory, cannot be NULL).
|
||||
* \note A stream must have been started when called.
|
||||
*/
|
||||
void (*pause)( audio_output_t *, bool pause, mtime_t date);
|
||||
void (*pause)( audio_output_t *, bool pause, vlc_tick_t date);
|
||||
/**< Pauses or resumes playback (optional, may be NULL).
|
||||
* \param pause pause if true, resume from pause if false
|
||||
* \param date timestamp when the pause or resume was requested
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_aout_volume.h: audio volume module
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2009 VLC authors and VideoLAN
|
||||
* $Id: df85b8fd14e00454e88c08061e3059fa67927dab $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_arrays.h : Arrays and data structures handling
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2004 VLC authors and VideoLAN
|
||||
* $Id: 39b69952ffce040330da239f52778c3e82024bc4 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Samuel Hocevar <sam@zoy.org>
|
||||
* Clément Stenac <zorglub@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_bits.h : Bit handling helpers
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2001, 2002, 2003, 2006, 2015 VLC authors and VideoLAN
|
||||
* $Id: 395a789eba46ac42413f5fb5418619332589f824 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
* Gildas Bazin <gbazin at videolan dot org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_block.h: Data blocks management functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003 VLC authors and VideoLAN
|
||||
* $Id: 1c9478301687233398adbb7de7da4ffc4a101f89 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
@ -49,7 +49,7 @@
|
||||
* - i_flags may not always be set (ie could be 0, even for a key frame
|
||||
* it depends where you receive the buffer (before/after a packetizer
|
||||
* and the demux/packetizer implementations.
|
||||
* - i_dts/i_pts could be VLC_TS_INVALID, it means no pts/dts
|
||||
* - i_dts/i_pts could be VLC_TICK_INVALID, it means no pts/dts
|
||||
* - i_length: length in microseond of the packet, can be null except in the
|
||||
* sout where it is mandatory.
|
||||
*
|
||||
@ -121,9 +121,9 @@ struct block_t
|
||||
uint32_t i_flags;
|
||||
unsigned i_nb_samples; /* Used for audio */
|
||||
|
||||
mtime_t i_pts;
|
||||
mtime_t i_dts;
|
||||
mtime_t i_length;
|
||||
vlc_tick_t i_pts;
|
||||
vlc_tick_t i_dts;
|
||||
vlc_tick_t i_length;
|
||||
|
||||
/* Rudimentary support for overloading block (de)allocation. */
|
||||
block_free_t pf_release;
|
||||
@ -175,7 +175,7 @@ VLC_API block_t *block_Realloc(block_t *, ssize_t pre, size_t body) VLC_USED;
|
||||
*
|
||||
* @note
|
||||
* If the block is in a chain, this function does <b>not</b> release any
|
||||
* subsequent block in the chain. Use block_ChainRelease() for that purpose.
|
||||
* subsequent block in the chain. Use block_ChainRelease() for that purpose.
|
||||
*
|
||||
* @param block block to release (cannot be NULL)
|
||||
*/
|
||||
@ -364,10 +364,10 @@ static size_t block_ChainExtract( block_t *p_list, void *p_data, size_t i_max )
|
||||
return i_total;
|
||||
}
|
||||
|
||||
static inline void block_ChainProperties( block_t *p_list, int *pi_count, size_t *pi_size, mtime_t *pi_length )
|
||||
static inline void block_ChainProperties( block_t *p_list, int *pi_count, size_t *pi_size, vlc_tick_t *pi_length )
|
||||
{
|
||||
size_t i_size = 0;
|
||||
mtime_t i_length = 0;
|
||||
vlc_tick_t i_length = 0;
|
||||
int i_count = 0;
|
||||
|
||||
while( p_list )
|
||||
@ -390,7 +390,7 @@ static inline void block_ChainProperties( block_t *p_list, int *pi_count, size_t
|
||||
static inline block_t *block_ChainGather( block_t *p_list )
|
||||
{
|
||||
size_t i_total = 0;
|
||||
mtime_t i_length = 0;
|
||||
vlc_tick_t i_length = 0;
|
||||
block_t *g;
|
||||
|
||||
if( p_list->p_next == NULL )
|
||||
@ -534,7 +534,7 @@ VLC_API void vlc_fifo_WaitCond(vlc_fifo_t *, vlc_cond_t *);
|
||||
* Atomically unlocks the FIFO and waits until one thread signals the FIFO up
|
||||
* to a certain date, then locks the FIFO again. See vlc_fifo_Wait().
|
||||
*/
|
||||
int vlc_fifo_TimedWaitCond(vlc_fifo_t *, vlc_cond_t *, mtime_t);
|
||||
int vlc_fifo_TimedWaitCond(vlc_fifo_t *, vlc_cond_t *, vlc_tick_t);
|
||||
|
||||
/**
|
||||
* Queues a linked-list of blocks into a locked FIFO.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003-2005 VLC authors and VideoLAN
|
||||
* Copyright © 2005-2010 Rémi Denis-Courmont
|
||||
* $Id: c77f19892047f406a69695a255aaf9ef6ef32ec3 $
|
||||
* $Id$
|
||||
*
|
||||
* Author: Rémi Denis-Courmont
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_codec.h: Definition of the decoder and encoder structures
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2003 VLC authors and VideoLAN
|
||||
* $Id: 3499ede27c1dbb94ff665a51d000c55bd45f2794 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Gildas Bazin <gbazin@netcourrier.com>
|
||||
*
|
||||
@ -169,7 +169,7 @@ struct decoder_t
|
||||
|
||||
/* Display date
|
||||
* XXX use decoder_GetDisplayDate */
|
||||
mtime_t (*pf_get_display_date)( decoder_t *, mtime_t );
|
||||
vlc_tick_t (*pf_get_display_date)( decoder_t *, vlc_tick_t );
|
||||
|
||||
/* Display rate
|
||||
* XXX use decoder_GetDisplayRate */
|
||||
@ -409,7 +409,7 @@ VLC_API int decoder_GetInputAttachments( decoder_t *, input_attachment_t ***ppp_
|
||||
* to mdate().
|
||||
* You MUST use it *only* for gathering statistics about speed.
|
||||
*/
|
||||
VLC_API mtime_t decoder_GetDisplayDate( decoder_t *, mtime_t ) VLC_USED;
|
||||
VLC_API vlc_tick_t decoder_GetDisplayDate( decoder_t *, vlc_tick_t ) VLC_USED;
|
||||
|
||||
/**
|
||||
* This function returns the current input rate.
|
||||
|
||||
@ -152,7 +152,11 @@
|
||||
* epoch). Note that date and time intervals can be manipulated using regular
|
||||
* arithmetic operators, and that no special functions are required.
|
||||
*/
|
||||
typedef int64_t mtime_t;
|
||||
typedef int64_t vlc_tick_t;
|
||||
typedef vlc_tick_t mtime_t; /* deprecated, use vlc_tick_t */
|
||||
|
||||
#define VLC_TICK_INVALID VLC_TS_INVALID
|
||||
#define VLC_TICK_0 VLC_TS_0
|
||||
|
||||
/**
|
||||
* The vlc_fourcc_t type.
|
||||
@ -943,6 +947,11 @@ static inline void SetQWLE (void *p, uint64_t qw)
|
||||
# define O_NONBLOCK 0
|
||||
# endif
|
||||
|
||||
/* the mingw32 swab() and win32 _swab() prototypes expect a char* instead of a
|
||||
const void* */
|
||||
# define swab(a,b,c) swab((char*) (a), (char*) (b), (c))
|
||||
|
||||
|
||||
# include <tchar.h>
|
||||
#endif /* _WIN32 */
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_config_cat.h : Definition of configuration categories
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003 VLC authors and VideoLAN
|
||||
* $Id: 55d2e468d1ccc3fcd8d165dcecc10ec753021a5e $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Clément Stenac <zorglub@videolan.org>
|
||||
* Anil Daoud <anil@videolan.org>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* It includes functions allowing to declare, get or set configuration options.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2006 VLC authors and VideoLAN
|
||||
* $Id: 209168615be2a7bc5db889282b32389093ab262e $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Gildas Bazin <gbazin@videolan.org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_demux.h: Demuxer descriptor, queries and methods
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2005 VLC authors and VideoLAN
|
||||
* $Id: f359f547fa79d9818ed74420d906a6683be3d037 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_epg.h: Electronic Program Guide
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2007 VLC authors and VideoLAN
|
||||
* $Id: f7b9044e7c0aa1af4a44066d73f2ead943fc6a46 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_es.h: Elementary stream formats descriptions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2012 VLC authors and VideoLAN
|
||||
* $Id: 3c8e04e1b15740166df2e0b2d9a651ffb2c5bc2f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_es_out.h: es_out (demuxer output) descriptor, queries and methods
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2004 VLC authors and VideoLAN
|
||||
* $Id: fe53c2a3d34f76eec76d83032cd0d3111be915aa $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
@ -93,8 +93,8 @@ enum es_out_query_e
|
||||
ES_OUT_SET_META, /* arg1=const vlc_meta_t * */
|
||||
|
||||
/* PCR system clock manipulation for external clock synchronization */
|
||||
ES_OUT_GET_PCR_SYSTEM, /* arg1=mtime_t *, arg2=mtime_t * res=can fail */
|
||||
ES_OUT_MODIFY_PCR_SYSTEM, /* arg1=int is_absolute, arg2=mtime_t, res=can fail */
|
||||
ES_OUT_GET_PCR_SYSTEM, /* arg1=vlc_tick_t *, arg2=vlc_tick_t * res=can fail */
|
||||
ES_OUT_MODIFY_PCR_SYSTEM, /* arg1=int is_absolute, arg2=vlc_tick_t, res=can fail */
|
||||
|
||||
ES_OUT_POST_SUBNODE, /* arg1=input_item_node_t *, res=can fail */
|
||||
|
||||
@ -167,11 +167,11 @@ static inline int es_out_ControlSetMeta( es_out_t *out, const vlc_meta_t *p_meta
|
||||
return es_out_Control( out, ES_OUT_SET_META, p_meta );
|
||||
}
|
||||
|
||||
static inline int es_out_ControlGetPcrSystem( es_out_t *out, mtime_t *pi_system, mtime_t *pi_delay )
|
||||
static inline int es_out_ControlGetPcrSystem( es_out_t *out, vlc_tick_t *pi_system, vlc_tick_t *pi_delay )
|
||||
{
|
||||
return es_out_Control( out, ES_OUT_GET_PCR_SYSTEM, pi_system, pi_delay );
|
||||
}
|
||||
static inline int es_out_ControlModifyPcrSystem( es_out_t *out, bool b_absolute, mtime_t i_system )
|
||||
static inline int es_out_ControlModifyPcrSystem( es_out_t *out, bool b_absolute, vlc_tick_t i_system )
|
||||
{
|
||||
return es_out_Control( out, ES_OUT_MODIFY_PCR_SYSTEM, b_absolute, i_system );
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Interface used to send events.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2007 VLC authors and VideoLAN
|
||||
* $Id: 229f4f677029763a837558932dad3e47b283e61c $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Pierre d'Herbemont
|
||||
*
|
||||
@ -142,7 +142,7 @@ typedef struct vlc_event_t
|
||||
} input_item_subitem_tree_added;
|
||||
struct vlc_input_item_duration_changed
|
||||
{
|
||||
mtime_t new_duration;
|
||||
vlc_tick_t new_duration;
|
||||
} input_item_duration_changed;
|
||||
struct vlc_input_item_preparsed_changed
|
||||
{
|
||||
|
||||
@ -95,7 +95,7 @@ struct filter_t
|
||||
int, int, int );
|
||||
|
||||
/** Generate a subpicture (sub source) */
|
||||
subpicture_t *(*pf_sub_source)( filter_t *, mtime_t );
|
||||
subpicture_t *(*pf_sub_source)( filter_t *, vlc_tick_t );
|
||||
|
||||
/** Filter a subpicture (sub filter) */
|
||||
subpicture_t *(*pf_sub_filter)( filter_t *, subpicture_t * );
|
||||
@ -431,7 +431,7 @@ VLC_API void filter_chain_VideoFlush( filter_chain_t * );
|
||||
* \param display_date of subpictures
|
||||
*/
|
||||
void filter_chain_SubSource(filter_chain_t *chain, spu_t *,
|
||||
mtime_t display_date);
|
||||
vlc_tick_t display_date);
|
||||
|
||||
/**
|
||||
* Apply filter chain to subpictures.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_fourcc.h: Definition of various FOURCC and helpers
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 Laurent Aimar
|
||||
* $Id: 97827bd4c146461408fbfd5d0aed6e45a91dc89a $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ com>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_http.h: Shared code for HTTP clients
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2001-2008 VLC authors and VideoLAN
|
||||
* $Id: a48ea794963ad476fc059eb3ffcf787186b78b47 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
* Christophe Massiot <massiot@via.ecp.fr>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_httpd.h: builtin HTTP/RTSP server.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2004-2006 VLC authors and VideoLAN
|
||||
* $Id: 29b8229e7b6baa7a8eedf37f6fdb1e97bf6a9ca7 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_image.h : wrapper for image reading/writing facilities
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2004 VLC authors and VideoLAN
|
||||
* $Id: 2b308fd0e52f4d4d6e20f95d08e0d63c53822eef $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Gildas Bazin <gbazin@videolan.org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_input.h: Core input structures
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2015 VLC authors and VideoLAN
|
||||
* $Id: d20585ba33030980fa496cd042227b543f10827a $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Laurent Aimar <fenrir@via.ecp.fr>
|
||||
@ -485,8 +485,8 @@ enum input_query_e
|
||||
INPUT_SET_RENDERER, /* arg1=vlc_renderer_item_t* */
|
||||
|
||||
/* External clock managments */
|
||||
INPUT_GET_PCR_SYSTEM, /* arg1=mtime_t *, arg2=mtime_t * res=can fail */
|
||||
INPUT_MODIFY_PCR_SYSTEM,/* arg1=int absolute, arg2=mtime_t res=can fail */
|
||||
INPUT_GET_PCR_SYSTEM, /* arg1=vlc_tick_t *, arg2=vlc_tick_t * res=can fail */
|
||||
INPUT_MODIFY_PCR_SYSTEM,/* arg1=int absolute, arg2=vlc_tick_t res=can fail */
|
||||
};
|
||||
|
||||
/** @}*/
|
||||
@ -631,14 +631,14 @@ static inline int input_GetEsObjects( input_thread_t *p_input, int i_id,
|
||||
/**
|
||||
* \see input_clock_GetSystemOrigin
|
||||
*/
|
||||
static inline int input_GetPcrSystem( input_thread_t *p_input, mtime_t *pi_system, mtime_t *pi_delay )
|
||||
static inline int input_GetPcrSystem( input_thread_t *p_input, vlc_tick_t *pi_system, vlc_tick_t *pi_delay )
|
||||
{
|
||||
return input_Control( p_input, INPUT_GET_PCR_SYSTEM, pi_system, pi_delay );
|
||||
}
|
||||
/**
|
||||
* \see input_clock_ChangeSystemOrigin
|
||||
*/
|
||||
static inline int input_ModifyPcrSystem( input_thread_t *p_input, bool b_absolute, mtime_t i_system )
|
||||
static inline int input_ModifyPcrSystem( input_thread_t *p_input, bool b_absolute, vlc_tick_t i_system )
|
||||
{
|
||||
return input_Control( p_input, INPUT_MODIFY_PCR_SYSTEM, b_absolute, i_system );
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_input_item.h: Core input item
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2009 VLC authors and VideoLAN
|
||||
* $Id: f22c3d9330af98a15992ef08e362424313774d6f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Laurent Aimar <fenrir@via.ecp.fr>
|
||||
@ -66,7 +66,7 @@ struct input_item_t
|
||||
unsigned optflagc;
|
||||
input_item_opaque_t *opaques; /**< List of opaque pointer values */
|
||||
|
||||
mtime_t i_duration; /**< Duration in microseconds */
|
||||
vlc_tick_t i_duration; /**< Duration in microseconds */
|
||||
|
||||
|
||||
int i_categories; /**< Number of info categories */
|
||||
@ -265,8 +265,8 @@ VLC_API char * input_item_GetTitleFbName( input_item_t * p_i ) VLC_USED;
|
||||
VLC_API char * input_item_GetURI( input_item_t * p_i ) VLC_USED;
|
||||
VLC_API char * input_item_GetNowPlayingFb( input_item_t *p_item ) VLC_USED;
|
||||
VLC_API void input_item_SetURI( input_item_t * p_i, const char *psz_uri );
|
||||
VLC_API mtime_t input_item_GetDuration( input_item_t * p_i );
|
||||
VLC_API void input_item_SetDuration( input_item_t * p_i, mtime_t i_duration );
|
||||
VLC_API vlc_tick_t input_item_GetDuration( input_item_t * p_i );
|
||||
VLC_API void input_item_SetDuration( input_item_t * p_i, vlc_tick_t i_duration );
|
||||
VLC_API bool input_item_IsPreparsed( input_item_t *p_i );
|
||||
VLC_API bool input_item_IsArtFetched( input_item_t *p_i );
|
||||
|
||||
@ -327,7 +327,7 @@ VLC_API void input_item_MergeInfos( input_item_t *, info_category_t * );
|
||||
*/
|
||||
VLC_API input_item_t * input_item_NewExt( const char *psz_uri,
|
||||
const char *psz_name,
|
||||
mtime_t i_duration, int i_type,
|
||||
vlc_tick_t i_duration, int i_type,
|
||||
enum input_item_net_type i_net ) VLC_USED;
|
||||
|
||||
#define input_item_New( psz_uri, psz_name ) \
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* interface, such as message output.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999, 2000 VLC authors and VideoLAN
|
||||
* $Id: e90eaa2917329500f18ada6eeac4348ae8200925 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -71,7 +71,7 @@ VLC_API int vlc_sem_wait_i11e(vlc_sem_t *);
|
||||
* @return EINTR if an interruption occurred, otherwise 0 once the timestamp is
|
||||
* reached.
|
||||
*/
|
||||
VLC_API int vlc_mwait_i11e(mtime_t);
|
||||
VLC_API int vlc_mwait_i11e(vlc_tick_t);
|
||||
|
||||
/**
|
||||
* Interruptible variant of msleep().
|
||||
@ -84,7 +84,7 @@ VLC_API int vlc_mwait_i11e(mtime_t);
|
||||
* @return EINTR if an interruption occurred, otherwise 0 once the timeout
|
||||
* expired.
|
||||
*/
|
||||
static inline int vlc_msleep_i11e(mtime_t delay)
|
||||
static inline int vlc_msleep_i11e(vlc_tick_t delay)
|
||||
{
|
||||
return vlc_mwait_i11e(mdate() + delay);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_media_library.h: SQL-based media library
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2008-2010 the VideoLAN Team and AUTHORS
|
||||
* $Id: a35d9729ca3705ec792b7be9e1819919f6e601f6 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Antoine Lejeune <phytos@videolan.org>
|
||||
* Jean-Philippe André <jpeg@videolan.org>
|
||||
@ -116,7 +116,7 @@ typedef enum
|
||||
typedef enum {
|
||||
ML_TYPE_INT, /**< Object is an int */
|
||||
ML_TYPE_PSZ, /**< A string char* */
|
||||
ML_TYPE_TIME, /**< A timestamp mtime_t */
|
||||
ML_TYPE_TIME, /**< A timestamp vlc_tick_t */
|
||||
ML_TYPE_MEDIA, /**< A pointer to a media ml_media_t* */
|
||||
} ml_result_type_e;
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* interface, such as message output.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999, 2000, 2001, 2002 VLC authors and VideoLAN
|
||||
* $Id: 63f9476cd5e6d6d4e274b4d4a7b947ec59d2843e $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
* Samuel Hocevar <sam@zoy.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_meta.h: Stream meta-data
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2004 VLC authors and VideoLAN
|
||||
* $Id: d390d0bc4df47994d296c5720d1869c458b16cb5 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_modules.h : Module descriptor and load functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2001-2011 VLC authors and VideoLAN
|
||||
* $Id: c2d3c26d20c3c45529bc01afb40377560cdf7306 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Samuel Hocevar <sam@zoy.org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_mouse.h: mouse related structures and functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 Laurent Aimar
|
||||
* $Id: 481c3598e905db66805cf9a8ca58f6702921e4f0 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
* Functions prototyped are implemented in interface/mtime.c.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1996, 1997, 1998, 1999, 2000 VLC authors and VideoLAN
|
||||
* $Id: 311eb670eb7b9f35668196b78c9fa3c5cf1779db $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
*
|
||||
@ -40,7 +40,7 @@
|
||||
* returning the date of the first image to be displayed. It can be used in
|
||||
* comparaison with other values: all existing dates will be earlier.
|
||||
*****************************************************************************/
|
||||
#define LAST_MDATE ((mtime_t)((uint64_t)(-1)/2))
|
||||
#define LAST_MDATE ((vlc_tick_t)((uint64_t)(-1)/2))
|
||||
|
||||
/*****************************************************************************
|
||||
* MSTRTIME_MAX_SIZE: maximum possible size of mstrtime
|
||||
@ -61,7 +61,7 @@ VLC_API char * secstotimestr( char *psz_buffer, int32_t secs );
|
||||
*****************************************************************************/
|
||||
struct date_t
|
||||
{
|
||||
mtime_t date;
|
||||
vlc_tick_t date;
|
||||
uint32_t i_divider_num;
|
||||
uint32_t i_divider_den;
|
||||
uint32_t i_remainder;
|
||||
@ -69,10 +69,10 @@ struct date_t
|
||||
|
||||
VLC_API void date_Init( date_t *, uint32_t, uint32_t );
|
||||
VLC_API void date_Change( date_t *, uint32_t, uint32_t );
|
||||
VLC_API void date_Set( date_t *, mtime_t );
|
||||
VLC_API mtime_t date_Get( const date_t * );
|
||||
VLC_API void date_Move( date_t *, mtime_t );
|
||||
VLC_API mtime_t date_Increment( date_t *, uint32_t );
|
||||
VLC_API mtime_t date_Decrement( date_t *, uint32_t );
|
||||
VLC_API void date_Set( date_t *, vlc_tick_t );
|
||||
VLC_API vlc_tick_t date_Get( const date_t * );
|
||||
VLC_API void date_Move( date_t *, vlc_tick_t );
|
||||
VLC_API vlc_tick_t date_Increment( date_t *, uint32_t );
|
||||
VLC_API vlc_tick_t date_Decrement( date_t *, uint32_t );
|
||||
VLC_API uint64_t NTPtime64( void );
|
||||
#endif /* !__VLC_MTIME_ */
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2005 VLC authors and VideoLAN
|
||||
* Copyright © 2006-2007 Rémi Denis-Courmont
|
||||
* $Id: 010454a01c09730b342d9603d2dc1770361057d2 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Laurent Aimar <fenrir@via.ecp.fr>
|
||||
@ -183,6 +183,22 @@ VLC_API int vlc_close(int);
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef _WIN32
|
||||
static inline int vlc_getsockopt(int s, int level, int name,
|
||||
void *val, socklen_t *len)
|
||||
{
|
||||
return getsockopt(s, level, name, (char *)val, len);
|
||||
}
|
||||
#define getsockopt vlc_getsockopt
|
||||
|
||||
static inline int vlc_setsockopt(int s, int level, int name,
|
||||
const void *val, socklen_t len)
|
||||
{
|
||||
return setsockopt(s, level, name, (const char *)val, len);
|
||||
}
|
||||
#define setsockopt vlc_setsockopt
|
||||
#endif
|
||||
|
||||
/* Portable network names/addresses resolution layer */
|
||||
|
||||
#define NI_MAXNUMERICHOST 64
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_objects.h: vlc_object_t definition and manipulation methods
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2008 VLC authors and VideoLAN
|
||||
* $Id: 4a2814187a5cc68b0e65d6dce3dd4a0d9e8fbe59 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Samuel Hocevar <sam@zoy.org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_picture.h: picture definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999 - 2009 VLC authors and VideoLAN
|
||||
* $Id: 74f156fbbd6e6a4479754c0e79fbd5374a4a1e2e $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
* Samuel Hocevar <sam@via.ecp.fr>
|
||||
@ -79,7 +79,7 @@ struct picture_t
|
||||
* These properties can be modified using the video output thread API,
|
||||
* but should never be written directly */
|
||||
/**@{*/
|
||||
mtime_t date; /**< display date */
|
||||
vlc_tick_t date; /**< display date */
|
||||
bool b_force;
|
||||
/**@}*/
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_picture_fifo.h: picture fifo definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 VLC authors and VideoLAN
|
||||
* $Id: 73d1b20c279f628cf94bc7cfc83b2548878bcc07 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
@ -77,12 +77,12 @@ VLC_API void picture_fifo_Push( picture_fifo_t *, picture_t * );
|
||||
*
|
||||
* All pictures inside the fifo will be released by picture_Release.
|
||||
*/
|
||||
VLC_API void picture_fifo_Flush( picture_fifo_t *, mtime_t date, bool flush_before );
|
||||
VLC_API void picture_fifo_Flush( picture_fifo_t *, vlc_tick_t date, bool flush_before );
|
||||
|
||||
/**
|
||||
* It applies a delta on all the picture timestamp.
|
||||
*/
|
||||
VLC_API void picture_fifo_OffsetDate( picture_fifo_t *, mtime_t delta );
|
||||
VLC_API void picture_fifo_OffsetDate( picture_fifo_t *, vlc_tick_t delta );
|
||||
|
||||
|
||||
#endif /* VLC_PICTURE_FIFO_H */
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_picture_pool.h: picture pool definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 VLC authors and VideoLAN
|
||||
* $Id: 8b04370bfb320749eec6bcf09aaf0ba76b78058f $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_playlist.h : Playlist functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2004 VLC authors and VideoLAN
|
||||
* $Id: 9498e622cac22fc9c70cb4b298cca02722092d2e $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Samuel Hocevar <sam@zoy.org>
|
||||
*
|
||||
@ -317,7 +317,7 @@ VLC_API input_thread_t *playlist_CurrentInputLocked( playlist_t *p_playlist ) VL
|
||||
|
||||
/** Get the duration of all items in a node.
|
||||
*/
|
||||
VLC_API mtime_t playlist_GetNodeDuration( playlist_item_t * );
|
||||
VLC_API vlc_tick_t playlist_GetNodeDuration( playlist_item_t * );
|
||||
|
||||
/** Clear the playlist
|
||||
* \param b_locked TRUE if playlist is locked when entering this function
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_rand.h: RNG
|
||||
*****************************************************************************
|
||||
* Copyright © 2007 Rémi Denis-Courmont
|
||||
* $Id: 3ae95ac04c55f46d116481eb89255b013f6d1c32 $
|
||||
* $Id$
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License as published by
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_services_discovery.h : Services Discover functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2004 VLC authors and VideoLAN
|
||||
* $Id: e4dfcd3985a6eea1d4b5c540e72219b67d733901 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_sout.h : stream output module
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2008 VLC authors and VideoLAN
|
||||
* $Id: c710780e2e15ccd3de5ef3e12a47dcfacfbc744a $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Laurent Aimar <fenrir@via.ecp.fr>
|
||||
@ -148,7 +148,7 @@ struct sout_mux_t
|
||||
bool b_add_stream_any_time;
|
||||
bool b_waiting_stream;
|
||||
/* we wait 1.5 second after first stream added */
|
||||
mtime_t i_add_stream_start;
|
||||
vlc_tick_t i_add_stream_start;
|
||||
};
|
||||
|
||||
enum sout_mux_query_e
|
||||
@ -174,7 +174,7 @@ VLC_API sout_input_t *sout_MuxAddStream( sout_mux_t *, const es_format_t * ) VLC
|
||||
VLC_API void sout_MuxDeleteStream( sout_mux_t *, sout_input_t * );
|
||||
VLC_API void sout_MuxDelete( sout_mux_t * );
|
||||
VLC_API int sout_MuxSendBuffer( sout_mux_t *, sout_input_t *, block_t * );
|
||||
VLC_API int sout_MuxGetStream(sout_mux_t *, unsigned, mtime_t *);
|
||||
VLC_API int sout_MuxGetStream(sout_mux_t *, unsigned, vlc_tick_t *);
|
||||
VLC_API void sout_MuxFlush( sout_mux_t *, sout_input_t * );
|
||||
|
||||
static inline int sout_MuxControl( sout_mux_t *p_mux, int i_query, ... )
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2010 VLC authors and VideoLAN
|
||||
* Copyright (C) 2010 Laurent Aimar
|
||||
* $Id: 510ee151ec907da9fb6ac88b38cf7ef68a5c4af8 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Gildas Bazin <gbazin@videolan.org>
|
||||
* Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
@ -57,7 +57,7 @@ VLC_API void spu_Destroy( spu_t * );
|
||||
|
||||
/**
|
||||
* This function sends a subpicture to the spu_t core.
|
||||
*
|
||||
*
|
||||
* You cannot use the provided subpicture anymore. The spu_t core
|
||||
* will destroy it at its convenience.
|
||||
*/
|
||||
@ -73,7 +73,7 @@ VLC_API void spu_PutSubpicture( spu_t *, subpicture_t * );
|
||||
*
|
||||
* The returned value if non NULL must be released by subpicture_Delete().
|
||||
*/
|
||||
VLC_API subpicture_t * spu_Render( spu_t *, const vlc_fourcc_t *p_chroma_list, const video_format_t *p_fmt_dst, const video_format_t *p_fmt_src, mtime_t render_subtitle_date, mtime_t render_osd_date, bool ignore_osd );
|
||||
VLC_API subpicture_t * spu_Render( spu_t *, const vlc_fourcc_t *p_chroma_list, const video_format_t *p_fmt_dst, const video_format_t *p_fmt_src, vlc_tick_t render_subtitle_date, vlc_tick_t render_osd_date, bool ignore_osd );
|
||||
|
||||
/**
|
||||
* It registers a new SPU channel.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_stream.h: Stream (between access and demux) descriptor and methods
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2004 VLC authors and VideoLAN
|
||||
* $Id: 789545e16e59dd99f215d7b2bafb655f49dfbc88 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_strings.h: String functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2006 VLC authors and VideoLAN
|
||||
* $Id: 9828fbd728ee791d409568405f280634132b91a6 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Antoine Cellerier <dionoea at videolan dot org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_subpicture.h: subpicture definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999 - 2009 VLC authors and VideoLAN
|
||||
* $Id: b9de52c0493687f2f9920753562e2f1eebfd1b7b $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
* Samuel Hocevar <sam@via.ecp.fr>
|
||||
@ -127,14 +127,14 @@ typedef struct
|
||||
int (*pf_validate)( subpicture_t *,
|
||||
bool has_src_changed, const video_format_t *p_fmt_src,
|
||||
bool has_dst_changed, const video_format_t *p_fmt_dst,
|
||||
mtime_t);
|
||||
vlc_tick_t);
|
||||
/** Mandatory callback called after pf_validate and doing
|
||||
* the main job of creating the subpicture regions for the
|
||||
* current video_format */
|
||||
void (*pf_update) ( subpicture_t *,
|
||||
const video_format_t *p_fmt_src,
|
||||
const video_format_t *p_fmt_dst,
|
||||
mtime_t );
|
||||
vlc_tick_t );
|
||||
/** Optional callback for subpicture private data cleanup */
|
||||
void (*pf_destroy) ( subpicture_t * );
|
||||
subpicture_updater_sys_t *p_sys;
|
||||
@ -168,8 +168,8 @@ struct subpicture_t
|
||||
|
||||
/** \name Date properties */
|
||||
/**@{*/
|
||||
mtime_t i_start; /**< beginning of display date */
|
||||
mtime_t i_stop; /**< end of display date */
|
||||
vlc_tick_t i_start; /**< beginning of display date */
|
||||
vlc_tick_t i_stop; /**< end of display date */
|
||||
bool b_ephemer; /**< If this flag is set to true the subtitle
|
||||
will be displayed until the next one appear */
|
||||
bool b_fade; /**< enable fading */
|
||||
@ -218,7 +218,7 @@ VLC_API subpicture_t * subpicture_NewFromPicture( vlc_object_t *, picture_t *, v
|
||||
* This function will update the content of a subpicture created with
|
||||
* a non NULL subpicture_updater_t.
|
||||
*/
|
||||
VLC_API void subpicture_Update( subpicture_t *, const video_format_t *src, const video_format_t *, mtime_t );
|
||||
VLC_API void subpicture_Update( subpicture_t *, const video_format_t *src, const video_format_t *, vlc_tick_t );
|
||||
|
||||
/**
|
||||
* This function will blend a given subpicture onto a picture.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_text_style.h: text_style_t definition and helpers.
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2010 VLC authors and VideoLAN
|
||||
* $Id: c24d76adcfedf63514255bb31483acb9325df1b1 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Derk-Jan Hartman <hartman _AT_ videolan _DOT_ org>
|
||||
* basOS G <noxelia 4t gmail , com>
|
||||
|
||||
@ -515,7 +515,7 @@ VLC_API void vlc_cond_wait(vlc_cond_t *cond, vlc_mutex_t *mutex);
|
||||
* \return 0 if the condition was signaled, an error code in case of timeout.
|
||||
*/
|
||||
VLC_API int vlc_cond_timedwait(vlc_cond_t *cond, vlc_mutex_t *mutex,
|
||||
mtime_t deadline);
|
||||
vlc_tick_t deadline);
|
||||
|
||||
int vlc_cond_timedwait_daytime(vlc_cond_t *, vlc_mutex_t *, time_t);
|
||||
|
||||
@ -648,7 +648,7 @@ void vlc_addr_wait(void *addr, unsigned val);
|
||||
* \return true if the function was woken up before the time-out,
|
||||
* false if the time-out elapsed.
|
||||
*/
|
||||
bool vlc_addr_timedwait(void *addr, unsigned val, mtime_t delay);
|
||||
bool vlc_addr_timedwait(void *addr, unsigned val, vlc_tick_t delay);
|
||||
|
||||
/**
|
||||
* Wakes up one thread on an address.
|
||||
@ -800,7 +800,7 @@ VLC_API unsigned long vlc_thread_id(void) VLC_USED;
|
||||
*
|
||||
* \return a timestamp in microseconds.
|
||||
*/
|
||||
VLC_API mtime_t mdate(void);
|
||||
VLC_API vlc_tick_t mdate(void);
|
||||
|
||||
/**
|
||||
* Waits until a deadline.
|
||||
@ -810,7 +810,7 @@ VLC_API mtime_t mdate(void);
|
||||
* \note The deadline may be exceeded due to OS scheduling.
|
||||
* \note This function is a cancellation point.
|
||||
*/
|
||||
VLC_API void mwait(mtime_t deadline);
|
||||
VLC_API void mwait(vlc_tick_t deadline);
|
||||
|
||||
/**
|
||||
* Waits for an interval of time.
|
||||
@ -820,7 +820,7 @@ VLC_API void mwait(mtime_t deadline);
|
||||
* \note The delay may be exceeded due to OS scheduling.
|
||||
* \note This function is a cancellation point.
|
||||
*/
|
||||
VLC_API void msleep(mtime_t delay);
|
||||
VLC_API void msleep(vlc_tick_t delay);
|
||||
|
||||
#define VLC_HARD_MIN_SLEEP 10000 /* 10 milliseconds = 1 tick at 100Hz */
|
||||
#define VLC_SOFT_MIN_SLEEP 9000000 /* 9 seconds */
|
||||
@ -835,7 +835,7 @@ static
|
||||
__attribute__((unused))
|
||||
__attribute__((noinline))
|
||||
__attribute__((error("sorry, cannot sleep for such short a time")))
|
||||
mtime_t impossible_delay( mtime_t delay )
|
||||
vlc_tick_t impossible_delay( vlc_tick_t delay )
|
||||
{
|
||||
(void) delay;
|
||||
return VLC_HARD_MIN_SLEEP;
|
||||
@ -845,7 +845,7 @@ static
|
||||
__attribute__((unused))
|
||||
__attribute__((noinline))
|
||||
__attribute__((warning("use proper event handling instead of short delay")))
|
||||
mtime_t harmful_delay( mtime_t delay )
|
||||
vlc_tick_t harmful_delay( vlc_tick_t delay )
|
||||
{
|
||||
return delay;
|
||||
}
|
||||
@ -863,7 +863,7 @@ static
|
||||
__attribute__((unused))
|
||||
__attribute__((noinline))
|
||||
__attribute__((error("deadlines can not be constant")))
|
||||
mtime_t impossible_deadline( mtime_t deadline )
|
||||
vlc_tick_t impossible_deadline( vlc_tick_t deadline )
|
||||
{
|
||||
return deadline;
|
||||
}
|
||||
@ -925,7 +925,7 @@ VLC_API void vlc_timer_destroy(vlc_timer_t timer);
|
||||
* repetition interval.
|
||||
*/
|
||||
VLC_API void vlc_timer_schedule(vlc_timer_t timer, bool absolute,
|
||||
mtime_t value, mtime_t interval);
|
||||
vlc_tick_t value, vlc_tick_t interval);
|
||||
|
||||
/**
|
||||
* Fetches and resets the overrun counter for a timer.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_timestamp_helper.h : timestamp handling helpers
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2014 VLC authors and VideoLAN
|
||||
* $Id: 90840fbcf7a5197f235ab6160a2cc2708a87c54d $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Felix Abecassis <felix.abecassis@gmail.com>
|
||||
*
|
||||
@ -90,7 +90,7 @@ static inline void timestamp_FifoPut(timestamp_fifo_t *fifo, int64_t ts)
|
||||
static inline int64_t timestamp_FifoGet(timestamp_fifo_t *fifo)
|
||||
{
|
||||
if (timestamp_FifoIsEmpty(fifo))
|
||||
return VLC_TS_INVALID;
|
||||
return VLC_TICK_INVALID;
|
||||
|
||||
int64_t result = fifo->buffer[fifo->begin];
|
||||
fifo->begin = (fifo->begin + 1) % fifo->capacity;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_url.h: URL related macros
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2006 VLC authors and VideoLAN
|
||||
* $Id: b76cea9893c5c94731202694e49cdeff5d758cb6 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Christophe Massiot <massiot@via.ecp.fr>
|
||||
* Rémi Denis-Courmont
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_variables.h: variables handling
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2002-2004 VLC authors and VideoLAN
|
||||
* $Id: 83752b171f82c86164142a6254f513fc9cb7a324 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Samuel Hocevar <sam@zoy.org>
|
||||
* Gildas Bazin <gbazin@netcourrier.com>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_video_splitter.h: "video splitter" related structures and functions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 Laurent Aimar
|
||||
* $Id: a5afba5230b0fb5b42c5cff3daab70a1e527f9eb $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_vlm.h: VLM core structures
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2000, 2001 VLC authors and VideoLAN
|
||||
* $Id: 88d4437cc1028468c0cadeaea32fa645769e2ee6 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Simon Latapie <garf@videolan.org>
|
||||
* Laurent Aimar <fenrir@videolan.org>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_vout.h: common video definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999 - 2008 VLC authors and VideoLAN
|
||||
* $Id: 627f6cec2e3b96eea04f9566ef799ed5b3a93b2a $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
* Samuel Hocevar <sam@via.ecp.fr>
|
||||
@ -143,7 +143,7 @@ static inline void vout_CloseAndRelease( vout_thread_t *p_vout )
|
||||
VLC_API int vout_GetSnapshot( vout_thread_t *p_vout,
|
||||
block_t **pp_image, picture_t **pp_picture,
|
||||
video_format_t *p_fmt,
|
||||
const char *psz_format, mtime_t i_timeout );
|
||||
const char *psz_format, vlc_tick_t i_timeout );
|
||||
|
||||
VLC_API void vout_ChangeAspectRatio( vout_thread_t *p_vout,
|
||||
unsigned int i_num, unsigned int i_den );
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc_vout_display.h: vout_display_t definitions
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2009 Laurent Aimar
|
||||
* $Id: 80761c8762d6b2acd48091507637fdcefb3317bd $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1999-2010 VLC authors and VideoLAN
|
||||
* Copyright (C) 2004-2005 M2X
|
||||
* $Id: a07cd9073156d9ce0d5363543bcc3fd98a6de8f8 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Jean-Paul Saman <jpsaman #_at_# m2x dot nl>
|
||||
* Gildas Bazin <gbazin@videolan.org>
|
||||
@ -63,7 +63,7 @@ VLC_API int vout_OSDEpg( vout_thread_t *, input_item_t * );
|
||||
* \param duration Duration of the text being displayed
|
||||
* \param text Text to be displayed
|
||||
*/
|
||||
VLC_API void vout_OSDText( vout_thread_t *vout, int channel, int position, mtime_t duration, const char *text );
|
||||
VLC_API void vout_OSDText( vout_thread_t *vout, int channel, int position, vlc_tick_t duration, const char *text );
|
||||
|
||||
/**
|
||||
* \brief Write an informative message at the default location,
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2008 Rémi Denis-Courmont
|
||||
* Copyright (C) 2009 Laurent Aimar
|
||||
* $Id: 3a613d4e4701783a43cefd299e171f95164e30e9 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
* vlc.h: global header for libvlc
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1998-2008 VLC authors and VideoLAN
|
||||
* $Id: 6d25cd507cc2077f8151382c72424362f7ab3d78 $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
||||
* Samuel Hocevar <sam@zoy.org>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user