rawvid.c File Reference

Include dependency graph for rawvid.c:


Data Structures

struct  demux_sys_t
struct  preset_t

Defines

#define FPS_TEXT   N_("Frames per Second")
#define FPS_LONGTEXT
#define WIDTH_TEXT   N_("Width")
#define WIDTH_LONGTEXT
#define HEIGHT_TEXT   N_("Height")
#define HEIGHT_LONGTEXT
#define CHROMA_TEXT   N_("Force chroma (Use carefully)")
#define CHROMA_LONGTEXT   N_("Force chroma. This is a four character string.")
#define ASPECT_RATIO_TEXT   N_("Aspect ratio")
#define ASPECT_RATIO_LONGTEXT
#define READ_FRAC(key, num, den)

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Demux (demux_t *)
static int Control (demux_t *, int i_query, va_list args)

Variables

static struct preset_t p_presets []

Define Documentation

#define ASPECT_RATIO_LONGTEXT

Value:

N_( \
    "Aspect ratio (4:3, 16:9). Default assumes square pixels." )

#define ASPECT_RATIO_TEXT   N_("Aspect ratio")

#define CHROMA_LONGTEXT   N_("Force chroma. This is a four character string.")

#define CHROMA_TEXT   N_("Force chroma (Use carefully)")

#define FPS_LONGTEXT

Value:

N_("This is the desired frame rate when " \
    "playing raw video streams.  In the form 30000/1001 or 29.97")

#define FPS_TEXT   N_("Frames per Second")

#define HEIGHT_LONGTEXT

Value:

N_("This specifies the height in pixels of the raw " \
    "video stream.")

#define HEIGHT_TEXT   N_("Height")

#define READ_FRAC ( key,
num,
den   ) 

Value:

do { \
        psz_buf = strstr( psz+9, key );\
        if( psz_buf )\
        {\
            char *end = strchr( psz_buf+1, ' ' );\
            char *sep;\
            if( end ) *end = '\0';\
            sep = strchr( psz_buf+1, ':' );\
            if( sep )\
            {\
                *sep = '\0';\
                den = atoi( sep+1 );\
            }\
            else\
            {\
                den = 1;\
            }\
            num = atoi( psz_buf+2 );\
            if( sep ) *sep = ':';\
            if( end ) *end = ' ';\
        } } while(0)

#define WIDTH_LONGTEXT

Value:

N_("This specifies the width in pixels of the raw " \
    "video stream.")

#define WIDTH_TEXT   N_("Width")


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases 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 ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

static int Demux ( demux_t p_demux  )  [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

struct preset_t p_presets[] [static]

Initial value:

{
    { "sqcif", 128, 96, 30000, 1001, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { "qcif", 176, 144, 30000, 1001, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { "cif", 352, 288, 30000, 1001, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { "4cif", 704, 576, 30000, 1001, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { "16cif", 1408, 1152, 30000, 1001, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { "yuv", 176, 144, 25, 1, 4,3,  ( ((uint32_t) 'Y' ) | ( ((uint32_t) 'V' ) << 8 )   | ( ((uint32_t) '1' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) )  },
    { NULL, 0, 0, 0, 0, 0,0, 0 }
}


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