VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_access_private |
struct | vlc_access_stream_private |
Macros | |
#define | MAX_REDIR 5 |
Functions | |
static void | vlc_access_Destroy (stream_t *access) |
static stream_t * | accessNewAttachment (vlc_object_t *parent, input_thread_t *input, const char *mrl) |
static stream_t * | access_New (vlc_object_t *parent, input_thread_t *input, es_out_t *out, bool preparsing, const char *mrl) |
stream_t * | vlc_access_NewMRL (vlc_object_t *parent, const char *mrl) |
Opens a new read-only byte stream. More... | |
int | access_vaDirectoryControlHelper (stream_t *p_access, int i_query, va_list args) |
Default pf_control callback for directory accesses. More... | |
static block_t * | AStreamReadBlock (stream_t *s, bool *restrict eof) |
static ssize_t | AStreamReadStream (stream_t *s, void *buf, size_t len) |
static int | AStreamSeek (stream_t *s, uint64_t offset) |
static int | AStreamControl (stream_t *s, int cmd, va_list args) |
static void | AStreamDestroy (stream_t *s) |
stream_t * | stream_AccessNew (vlc_object_t *parent, input_thread_t *input, es_out_t *out, bool preparsing, const char *url) |
This function creates a raw stream_t from an URL. More... | |
#define MAX_REDIR 5 |
|
static |
References accessNewAttachment(), asprintf(), stream_t::b_preparsing, input_GetItem(), MAX_REDIR, vlc_access_private::module, module_need, msg_Dbg, msg_Err, stream_t::out, p, stream_t::p_input_item, stream_t::pf_control, stream_t::psz_filepath, stream_t::psz_location, stream_t::psz_name, stream_t::psz_url, strdup(), stream_CommonDelete(), strndup(), unlikely, vlc_access_Destroy(), vlc_stream_CustomNew(), vlc_stream_Private(), and vlc_uri2path().
Referenced by stream_AccessNew(), and vlc_access_NewMRL().
|
static |
References input_GetAttachment(), stream_t::psz_location, stream_t::psz_url, strdup(), vlc_input_attachment_Release(), vlc_stream_AttachmentNew(), and vlc_stream_Delete().
Referenced by access_New().
|
static |
References stream_t::p_sys, and vlc_stream_vaControl().
Referenced by stream_AccessNew().
|
static |
References stream_t::p_sys, and vlc_stream_Delete().
Referenced by stream_AccessNew().
|
static |
|
static |
References stream_t::p_sys, and vlc_stream_Seek().
Referenced by stream_AccessNew().
stream_t * stream_AccessNew | ( | vlc_object_t * | parent, |
input_thread_t * | input, | ||
es_out_t * | out, | ||
bool | preparsing, | ||
const char * | url | ||
) |
This function creates a raw stream_t from an URL.
References access_New(), AStreamControl(), AStreamDestroy(), AStreamReadBlock(), AStreamReadStream(), AStreamSeek(), vlc_access_stream_private::input, input_GetItem(), stream_t::ops, stream_t::p_input_item, stream_t::p_sys, stream_t::pf_block, stream_t::pf_control, stream_t::pf_read, stream_t::pf_seek, stream_t::psz_url, strdup(), stream_FilterChainNew(), unlikely, VLC_OBJECT, vlc_object_delete, vlc_stream_CustomNew(), vlc_stream_Delete(), and vlc_stream_Private().
Referenced by InputDemuxNew(), and vlc_stream_NewURL().
|
static |
References vlc_access_private::module, module_unneed, stream_t::psz_filepath, stream_t::psz_name, and vlc_stream_Private().
Referenced by access_New().