VLC 4.0.0-dev
|
Input thread. More...
Modules | |
Ancillary | |
Ancillary that can be attached to any vlc_frame_t or picture_t. | |
Blocks | |
Blocks of binary data. | |
Decoder | |
Audio, video and text decoders. | |
Decoder hardware device | |
Demultiplexer | |
Demultiplexers (file format parsers) | |
ES output | |
Elementary streams output. | |
Frames | |
Frames of binary data. | |
Media source | |
Player | |
VLC Player API. | |
Preparser | |
Stream | |
Buffered input byte streams. | |
Stream Extractor | |
If a stream can be viewed as a directory, such as when opening a compressed archive, a stream-extractor is used to get access to the entities inside said stream. | |
Timestamps, error-free | |
These functions support generating timestamps without long term rounding errors due to sample rate conversions. | |
Files | |
file | vlc_input.h |
Input thread interface. | |
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_TITLE_MAIN 0x04 /* Main title */ |
#define | INPUT_RATE_MIN 0.03125f |
Input rate. | |
#define | INPUT_RATE_MAX 31.25f |
Maximal rate value. | |
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) |
void | vlc_input_attachment_Release (input_attachment_t *a) |
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) |
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_MAIN 0x04 /* Main title */ |
#define INPUT_TITLE_MENU 0x01 /* Menu title */ |
typedef struct input_resource_t input_resource_t |
typedef struct input_title_t input_title_t |
input_attachment_t * vlc_input_attachment_Hold | ( | input_attachment_t * | a | ) |
References input_attachment_priv::a, p, and vlc_atomic_rc_inc().
Referenced by input_GetAttachment(), and input_GetAttachments().
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, input_attachment_t::psz_name, psz_name, strdup(), unlikely, vlc_atomic_rc_init(), and vlc_input_attachment_Release().
Referenced by LoadSlaves().
void vlc_input_attachment_Release | ( | input_attachment_t * | a | ) |
References input_attachment_priv::a, p, input_attachment_t::p_data, input_attachment_t::psz_description, input_attachment_t::psz_mime, input_attachment_t::psz_name, and vlc_atomic_rc_dec().
Referenced by accessNewAttachment(), AppendAttachment(), End(), input_ExtractAttachmentAndCacheArt(), InputUpdateMeta(), LoadSlaves(), stream_AttachmentDelete(), and vlc_input_attachment_New().
|
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(), and vlc_seekpoint_Duplicate().
|
inlinestatic |
References seekpoint_t::i_time_offset, seekpoint_t::psz_name, strdup(), unlikely, vlc_seekpoint_Delete(), 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().