VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_stream_memory_private |
struct | vlc_stream_attachment_private |
Functions | |
static ssize_t | Read (stream_t *, void *p_read, size_t i_read) |
static int | Seek (stream_t *, uint64_t) |
static int | Control (stream_t *, int i_query, va_list) |
static void | stream_MemoryPreserveDelete (stream_t *s) |
static void | stream_MemoryDelete (stream_t *s) |
static void | stream_AttachmentDelete (stream_t *s) |
stream_t *() | vlc_stream_MemoryNew (vlc_object_t *p_this, uint8_t *p_buffer, size_t i_size, bool preserve) |
Create a stream from a memory buffer. More... | |
stream_t * | vlc_stream_AttachmentNew (vlc_object_t *p_this, input_attachment_t *attachment) |
|
static |
References vlc_stream_memory_private::i_size, msg_Err, STREAM_CAN_CONTROL_PACE, STREAM_CAN_FASTSEEK, STREAM_CAN_PAUSE, STREAM_CAN_SEEK, STREAM_GET_CONTENT_TYPE, STREAM_GET_META, STREAM_GET_PRIVATE_ID_STATE, STREAM_GET_PTS_DELAY, STREAM_GET_SEEKPOINT, STREAM_GET_SIGNAL, STREAM_GET_SIZE, STREAM_GET_TITLE, STREAM_GET_TITLE_INFO, STREAM_SET_PAUSE_STATE, STREAM_SET_PRIVATE_ID_CA, STREAM_SET_PRIVATE_ID_STATE, STREAM_SET_SEEKPOINT, STREAM_SET_TITLE, VLC_EGENERIC, vlc_stream_Private(), and VLC_SUCCESS.
Referenced by vlc_stream_AttachmentNew(), and vlc_stream_MemoryNew().
|
static |
References vlc_stream_memory_private::i_pos, vlc_stream_memory_private::i_size, vlc_stream_memory_private::p_buffer, and vlc_stream_Private().
Referenced by vlc_stream_AttachmentNew(), and vlc_stream_MemoryNew().
|
static |
References vlc_stream_memory_private::i_pos, vlc_stream_memory_private::i_size, vlc_stream_Private(), and VLC_SUCCESS.
Referenced by vlc_stream_AttachmentNew(), and vlc_stream_MemoryNew().
|
static |
References vlc_stream_attachment_private::attachment, stream_t::psz_name, vlc_input_attachment_Release(), and vlc_stream_Private().
Referenced by vlc_stream_AttachmentNew().
|
static |
References vlc_stream_memory_private::p_buffer, and vlc_stream_Private().
Referenced by vlc_stream_MemoryNew().
|
static |
Referenced by vlc_stream_MemoryNew().
stream_t * vlc_stream_AttachmentNew | ( | vlc_object_t * | p_this, |
input_attachment_t * | attachment | ||
) |
References vlc_stream_attachment_private::attachment, Control(), input_attachment_t::i_data, vlc_stream_memory_private::i_pos, vlc_stream_memory_private::i_size, vlc_stream_attachment_private::memory, vlc_stream_memory_private::p_buffer, input_attachment_t::p_data, stream_t::pf_control, stream_t::pf_read, stream_t::pf_seek, stream_t::psz_name, Read(), Seek(), strdup(), stream_AttachmentDelete(), stream_CommonDelete(), unlikely, vlc_stream_CustomNew(), and vlc_stream_Private().
Referenced by accessNewAttachment().