decomp.c File Reference

Include dependency graph for decomp.c:


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 Documentation

#define _POSIX_SPAWN   (-1)

#define MAX_BLOCK   (1 << 20)

#define MIN_BLOCK   (1 << 10)


Function Documentation

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.

Parameters:
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]

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.

Returns:
-1 for EAGAIN, 0 for EOF, byte count otherwise.

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]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const size_t bufsize = 65536 [static]

Referenced by Thread().

char** environ


Generated on Tue May 25 08:05:27 2010 for VLC by  doxygen 1.5.6