VLC
4.0.0-dev
|
Modules | |
Data blocks | |
Decoder | |
Decoder hardware device | |
Demultiplexer | |
ES output | |
Media source | |
Player | |
Stream | |
Stream Extractor | |
Timestamps, error-free | |
These functions support generating timestamps without long term rounding errors due to sample rate conversions. | |
Files | |
file | vlc_input.h |
Data Structures | |
struct | seekpoint_t |
struct | input_title_t |
struct | input_attachment_t |
Macros | |
#define | INPUT_TITLE_MENU 0x01 /* Menu title */ |
#define | INPUT_TITLE_INTERACTIVE 0x02 /* Interactive title. Playback position has no meaning. */ |
#define | INPUT_RATE_MIN 0.03125f |
Input rate. More... | |
#define | INPUT_RATE_MAX 31.25f |
Maximal rate value. More... | |
Typedefs | |
typedef struct input_resource_t | input_resource_t |
typedef struct input_title_t | input_title_t |
Functions | |
static seekpoint_t * | vlc_seekpoint_New (void) |
static void | vlc_seekpoint_Delete (seekpoint_t *point) |
static seekpoint_t * | vlc_seekpoint_Duplicate (const seekpoint_t *src) |
static input_title_t * | vlc_input_title_New (void) |
static void | vlc_input_title_Delete (input_title_t *t) |
static input_title_t * | vlc_input_title_Duplicate (const input_title_t *t) |
VLC_EXPORT void | vlc_input_attachment_Release (input_attachment_t *a) |
VLC_EXPORT input_attachment_t * | vlc_input_attachment_New (const char *psz_name, const char *psz_mime, const char *psz_description, const void *p_data, size_t i_data) |
VLC_EXPORT input_attachment_t * | vlc_input_attachment_Hold (input_attachment_t *a) |
Input thread
#define INPUT_RATE_MAX 31.25f |
Maximal rate value.
#define INPUT_RATE_MIN 0.03125f |
Input rate.
It is an float used by the variable "rate" in the range [INPUT_RATE_MIN, INPUT_RATE_MAX] the default value being 1.f. It represents the ratio of playback speed to nominal speed (bigger is faster). Minimal rate value
#define INPUT_TITLE_INTERACTIVE 0x02 /* Interactive title. Playback position has no meaning. */ |
#define INPUT_TITLE_MENU 0x01 /* Menu title */ |
typedef struct input_resource_t input_resource_t |
typedef struct input_title_t input_title_t |
VLC_EXPORT input_attachment_t* vlc_input_attachment_Hold | ( | input_attachment_t * | a | ) |
References input_attachment_priv::a, input_attachment_priv(), p, and vlc_atomic_rc_inc().
Referenced by input_GetAttachment(), and input_GetAttachments().
VLC_EXPORT input_attachment_t* vlc_input_attachment_New | ( | const char * | psz_name, |
const char * | psz_mime, | ||
const char * | psz_description, | ||
const void * | p_data, | ||
size_t | i_data | ||
) |
References input_attachment_priv::a, input_attachment_t::i_data, likely, input_attachment_t::p_data, input_attachment_t::psz_description, input_attachment_t::psz_mime, psz_mime, psz_name, input_attachment_t::psz_name, strdup(), unlikely, vlc_atomic_rc_init(), and vlc_input_attachment_Release().
Referenced by LoadSlaves().
VLC_EXPORT void vlc_input_attachment_Release | ( | input_attachment_t * | a | ) |
|
inlinestatic |
References input_title_t::i_seekpoint, input_title_t::psz_name, input_title_t::seekpoint, and vlc_seekpoint_Delete().
Referenced by InputSourceDestroy(), and UpdateTitleListfromDemux().
|
inlinestatic |
|
inlinestatic |
References input_title_t::i_flags, input_title_t::i_length, input_title_t::i_seekpoint, input_title_t::psz_name, and input_title_t::seekpoint.
Referenced by vlc_input_title_Duplicate().
|
inlinestatic |
References seekpoint_t::psz_name.
Referenced by vlc_input_title_Delete().
|
inlinestatic |
References seekpoint_t::i_time_offset, likely, seekpoint_t::psz_name, strdup(), and vlc_seekpoint_New().
Referenced by vlc_input_title_Duplicate().
|
inlinestatic |
References seekpoint_t::i_time_offset, and seekpoint_t::psz_name.
Referenced by vlc_seekpoint_Duplicate().