
Data Structures | |
| struct | stream_sys_t |
| ************************************************************************** Struct definitions More... | |
Defines | |
| #define | _POSIX_SPAWN (-1) |
| #define | MIN_BLOCK (1 << 10) |
| #define | MAX_BLOCK (1 << 20) |
Functions | |
| static int | OpenGzip (vlc_object_t *obj) |
| Detects gzip file format. | |
| static int | OpenBzip2 (vlc_object_t *obj) |
| Detects bzip2 file format. | |
| static int | OpenXZ (vlc_object_t *obj) |
| Detects xz file format. | |
| static void | Close (vlc_object_t *obj) |
| Releases allocate resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | cloexec (int fd) |
| static void * | Thread (void *data) |
| static int | Peek (stream_t *stream, const uint8_t **pbuf, unsigned int len) |
| static int | Read (stream_t *stream, void *buf, unsigned int buflen) |
| Reads decompressed from the decompression program. | |
| static int | Control (stream_t *stream, int query, va_list args) |
| static int | Open (stream_t *stream, const char *path) |
| Pipe data through an external executable. | |
Variables | |
| char ** | environ |
| static const size_t | bufsize = 65536 |
| #define _POSIX_SPAWN (-1) |
| #define MAX_BLOCK (1 << 20) |
| #define MIN_BLOCK (1 << 10) |
| static void cloexec | ( | int | fd | ) | [static] |
Referenced by Open().
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases allocate resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int Control | ( | stream_t * | stream, | |
| int | query, | |||
| va_list | args | |||
| ) | [static] |
| static int Open | ( | stream_t * | stream, | |
| const char * | path | |||
| ) | [static] |
Pipe data through an external executable.
| stream | the stream filter object. | |
| path | path to the executable. |
References cloexec(), Control(), environ, msg_Err, stream_sys_t::offset, stream_t::p_sys, stream_sys_t::peeked, stream_t::pf_control, stream_t::pf_peek, stream_t::pf_read, stream_sys_t::pid, Read(), stream_sys_t::read_fd, Thread(), stream_sys_t::thread, vlc_clone(), VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, VLC_THREAD_PRIORITY_INPUT, and stream_sys_t::write_fd.
| static int OpenBzip2 | ( | vlc_object_t * | obj | ) | [static] |
Detects bzip2 file format.
References msg_Dbg, Open(), stream_t::p_source, stream_Peek(), and VLC_EGENERIC.
| static int OpenGzip | ( | vlc_object_t * | obj | ) | [static] |
Detects gzip file format.
References msg_Dbg, Open(), stream_t::p_source, stream_Peek(), and VLC_EGENERIC.
| static int OpenXZ | ( | vlc_object_t * | obj | ) | [static] |
Detects xz file format.
References msg_Dbg, Open(), stream_t::p_source, stream_Peek(), and VLC_EGENERIC.
| static int Peek | ( | stream_t * | stream, | |
| const uint8_t ** | pbuf, | |||
| unsigned int | len | |||
| ) | [static] |
| static int Read | ( | stream_t * | stream, | |
| void * | buf, | |||
| unsigned int | buflen | |||
| ) | [static] |
Reads decompressed from the decompression program.
References block_Release(), block_t::i_buffer, net_Read, stream_sys_t::offset, block_t::p_buffer, stream_t::p_sys, Peek(), stream_sys_t::peeked, Read(), and stream_sys_t::read_fd.
| static void* Thread | ( | void * | data | ) | [static] |
References bufsize, i, msg_Dbg, msg_Err, stream_t::p_source, stream_t::p_sys, p_sys, Peek(), stream_Read(), unlikely, vlc_cleanup_push, vlc_cleanup_run, vlc_restorecancel(), vlc_savecancel(), and stream_sys_t::write_fd.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| char** environ |
1.5.6