|
VLC
2.1.0-git
|

Data Structures | |
| struct | stream_sys_t |
Functions | |
| static int | Read (stream_t *, void *p_read, unsigned int i_read) |
| static int | Peek (stream_t *, const uint8_t **pp_peek, unsigned int i_read) |
| static int | Control (stream_t *, int i_query, va_list) |
| static void | Delete (stream_t *) |
| stream_t * | stream_MemoryNew (((vlc_object_t *)(vlc_object_t *p_this)), uint8_t *p_buffer, uint64_t i_size, bool i_preserve_memory) |
| Create a stream from a memory buffer. | |
|
static |
< Unspecified error
< Unspecified error
< Unspecified error
< No error
References stream_sys_t::i_pos, stream_sys_t::i_size, msg_Err, stream_t::p_sys, STREAM_CAN_FASTSEEK, STREAM_CAN_SEEK, STREAM_CONTROL_ACCESS, STREAM_GET_CONTENT_TYPE, STREAM_GET_POSITION, STREAM_GET_SIZE, STREAM_SET_POSITION, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by stream_MemoryNew().
|
static |
References stream_sys_t::i_preserve_memory, stream_sys_t::p_buffer, stream_t::p_sys, and stream_CommonDelete().
Referenced by stream_MemoryNew().
|
static |
References stream_sys_t::i_pos, stream_sys_t::i_size, stream_sys_t::p_buffer, and stream_t::p_sys.
Referenced by stream_MemoryNew().
|
static |
References stream_sys_t::i_pos, stream_sys_t::i_size, stream_sys_t::p_buffer, and stream_t::p_sys.
Referenced by stream_MemoryNew().
| stream_t* stream_MemoryNew | ( | ((vlc_object_t *)(vlc_object_t *p_this)) | , |
| uint8_t * | p_buffer, | ||
| uint64_t | i_size, | ||
| bool | i_preserve_memory | ||
| ) |
Create a stream from a memory buffer.
| p_this | the calling vlc_object |
| p_buffer | the memory buffer for the stream |
| i_buffer | the size of the buffer |
| i_preserve_memory | if this is set to false the memory buffer pointed to by p_buffer is freed on stream_Destroy |
References Control(), Delete(), stream_sys_t::i_pos, stream_sys_t::i_preserve_memory, stream_sys_t::i_size, stream_sys_t::p_buffer, stream_t::p_input, stream_t::p_sys, Peek(), stream_t::pf_control, stream_t::pf_destroy, stream_t::pf_peek, stream_t::pf_read, stream_t::psz_path, Read(), strdup(), stream_CommonDelete(), and stream_CommonNew().
1.8.1.2