
Data Structures | |
| struct | sout_stream_sys_t |
| struct | sout_stream_id_t |
Defines | |
| #define | HAVE_MMX |
| #define | SOUT_CFG_PREFIX "sout-switcher-" |
| #define | MAX_PICTURES 10 |
| #define | MAX_AUDIO 30 |
| #define | MAX_THRESHOLD 99999999 |
| #define | FILES_TEXT N_("Files") |
| #define | FILES_LONGTEXT |
| #define | SIZES_TEXT N_("Sizes") |
| #define | SIZES_LONGTEXT |
| #define | RATIO_TEXT N_("Aspect ratio") |
| #define | RATIO_LONGTEXT |
| #define | PORT_TEXT N_("Command UDP port") |
| #define | PORT_LONGTEXT |
| #define | COMMAND_TEXT N_("Command") |
| #define | COMMAND_LONGTEXT |
| #define | GOP_TEXT N_("GOP size") |
| #define | GOP_LONGTEXT |
| #define | QSCALE_TEXT N_("Quantizer scale") |
| #define | QSCALE_LONGTEXT |
| #define | AUDIO_TEXT N_("Mute audio") |
| #define | AUDIO_LONGTEXT |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| static sout_stream_id_t * | Add (sout_stream_t *, es_format_t *) |
| static int | Del (sout_stream_t *, sout_stream_id_t *) |
| static int | Send (sout_stream_t *, sout_stream_id_t *, block_t *) |
| static mtime_t | Process (sout_stream_t *p_stream, sout_stream_id_t *id, mtime_t i_max_dts) |
| static int | UnpackFromFile (sout_stream_t *p_stream, const char *psz_file, int i_width, int i_height, picture_t *p_pic) |
| static void | NetCommand (sout_stream_t *p_stream) |
| static mtime_t | VideoCommand (sout_stream_t *p_stream, sout_stream_id_t *id) |
| static block_t * | VideoGetBuffer (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer) |
| static block_t * | AudioGetBuffer (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
Variables | |
| static const char *const | ppsz_sout_options [] |
| #define AUDIO_LONGTEXT |
Value:
N_( \ "Mute audio when command is not 0." )
| #define AUDIO_TEXT N_("Mute audio") |
| #define COMMAND_LONGTEXT |
Value:
N_( \ "Initial command to execute." )
| #define COMMAND_TEXT N_("Command") |
| #define FILES_LONGTEXT |
Value:
N_( \ "Full paths of the files separated by colons." )
| #define FILES_TEXT N_("Files") |
| #define GOP_LONGTEXT |
Value:
N_( \ "Number of P frames between two I frames." )
| #define GOP_TEXT N_("GOP size") |
| #define HAVE_MMX |
| #define MAX_PICTURES 10 |
Referenced by Pool(), and ResetPictures().
| #define MAX_THRESHOLD 99999999 |
Referenced by VideoGetBuffer().
| #define PORT_LONGTEXT |
Value:
N_( \ "UDP port to listen to for commands." )
| #define PORT_TEXT N_("Command UDP port") |
| #define QSCALE_LONGTEXT |
Value:
N_( \ "Fixed quantizer scale to use." )
| #define QSCALE_TEXT N_("Quantizer scale") |
| #define RATIO_LONGTEXT |
Value:
N_( \ "Aspect ratio (4:3, 16:9)." )
| #define RATIO_TEXT N_("Aspect ratio") |
| #define SIZES_LONGTEXT |
Value:
N_( \ "List of sizes separated by colons (720x576:480x576)." )
| #define SIZES_TEXT N_("Sizes") |
| #define SOUT_CFG_PREFIX "sout-switcher-" |
| static sout_stream_id_t * Add | ( | sout_stream_t * | p_stream, | |
| es_format_t * | p_fmt | |||
| ) | [static] |
References es_format_t::audio, AUDIO_ES, sout_stream_sys_t::b_audio, CPU_CAPABILITY_3DNOW, CPU_CAPABILITY_MMX, CPU_CAPABILITY_MMXEXT, CPU_CAPABILITY_SSE, sout_stream_id_t::f_src, sout_stream_id_t::ff_enc, sout_stream_id_t::ff_enc_c, i, es_format_t::i_bitrate, es_format_t::i_cat, audio_format_t::i_channels, sout_stream_sys_t::i_cmd, es_format_t::i_codec, audio_format_t::i_rate, sout_stream_id_t::id, MAX_AUDIO, msg_Dbg, msg_Err, sout_stream_id_t::p_buffer_out, sout_stream_t::p_next, sout_stream_id_t::p_samples, sout_stream_t::p_sys, sout_stream_t::pf_add, sout_stream_sys_t::pp_audio_ids, VIDEO_ES, vlc_avcodec_lock(), vlc_avcodec_unlock(), VLC_CODEC_MPGA, VLC_CODEC_MPGV, vlc_CPU(), and VLC_FOURCC.
| static block_t * AudioGetBuffer | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | p_buffer | |||
| ) | [static] |
References block_New, block_Release(), sout_stream_id_t::ff_enc_c, block_t::i_dts, block_t::i_length, block_t::i_pts, block_t::i_rate, block_t::p_buffer, sout_stream_id_t::p_buffer_out, sout_stream_id_t::p_samples, and vlc_memcpy().
Referenced by Process().
| 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.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int Del | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id | |||
| ) | [static] |
References sout_stream_id_t::b_switcher_audio, sout_stream_id_t::ff_enc, sout_stream_id_t::ff_enc_c, i, sout_stream_id_t::id, MAX_AUDIO, sout_stream_id_t::p_buffer_out, sout_stream_id_t::p_frame, sout_stream_t::p_next, sout_stream_t::p_sys, sout_stream_t::pf_del, sout_stream_sys_t::pp_audio_ids, vlc_avcodec_lock(), vlc_avcodec_unlock(), and VLC_SUCCESS.
| static void NetCommand | ( | sout_stream_t * | p_stream | ) | [static] |
References sout_stream_sys_t::i_cmd, sout_stream_sys_t::i_fd, sout_stream_sys_t::i_nb_pictures, sout_stream_sys_t::i_old_cmd, msg_Dbg, msg_Err, and sout_stream_t::p_sys.
Referenced by Send().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Status of this demuxer: Real Media format -----------------.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
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.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static mtime_t Process | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| mtime_t | i_max_dts | |||
| ) | [static] |
References AudioGetBuffer(), sout_stream_id_t::b_switcher_video, block_ChainAppend(), block_Release(), block_t::i_dts, sout_stream_sys_t::i_old_cmd, sout_stream_id_t::id, block_t::p_next, sout_stream_t::p_next, sout_stream_id_t::p_queued, sout_stream_t::p_sys, sout_stream_t::pf_send, and VideoGetBuffer().
| static int Send | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | p_buffer | |||
| ) | [static] |
References sout_stream_id_t::b_switcher_audio, sout_stream_id_t::b_switcher_video, block_ChainAppend(), block_Release(), i, sout_stream_sys_t::i_cmd, sout_stream_sys_t::i_old_cmd, sout_stream_id_t::id, MAX_AUDIO, NetCommand(), sout_stream_t::p_next, sout_stream_id_t::p_queued, sout_stream_t::p_sys, sout_stream_t::pf_send, sout_stream_sys_t::pp_audio_ids, Process(), VideoCommand(), VLC_EGENERIC, and VLC_SUCCESS.
| static int UnpackFromFile | ( | sout_stream_t * | p_stream, | |
| const char * | psz_file, | |||
| int | i_width, | |||
| int | i_height, | |||
| picture_t * | p_pic | |||
| ) | [static] |
References i, i_chroma, plane_t::i_lines, plane_t::i_pitch, picture_t::i_planes, msg_Err, picture_t::p, plane_t::p_pixels, picture_Setup(), VLC_CODEC_I420, and vlc_fopen().
| static mtime_t VideoCommand | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id | |||
| ) | [static] |
References BLOCK_FLAG_TYPE_I, CPU_CAPABILITY_3DNOW, CPU_CAPABILITY_MMX, CPU_CAPABILITY_MMXEXT, CPU_CAPABILITY_SSE, sout_stream_id_t::ff_enc, sout_stream_id_t::ff_enc_c, picture_t::format, sout_stream_sys_t::i_aspect, sout_stream_sys_t::i_cmd, block_t::i_dts, block_t::i_flags, sout_stream_sys_t::i_gop, video_format_t::i_height, sout_stream_sys_t::i_old_cmd, plane_t::i_pitch, video_format_t::i_width, msg_Err, picture_t::p, sout_stream_id_t::p_buffer_out, sout_stream_id_t::p_frame, block_t::p_next, sout_stream_sys_t::p_pictures, plane_t::p_pixels, sout_stream_id_t::p_queued, sout_stream_t::p_sys, vlc_avcodec_lock(), vlc_avcodec_unlock(), vlc_CPU(), and VOUT_ASPECT_FACTOR.
Referenced by Send().
| static block_t * VideoGetBuffer | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | p_buffer | |||
| ) | [static] |
References BLOCK_FLAG_TYPE_B, BLOCK_FLAG_TYPE_I, BLOCK_FLAG_TYPE_P, block_New, block_Release(), sout_stream_id_t::ff_enc_c, i, block_t::i_dts, block_t::i_flags, sout_stream_sys_t::i_gop, block_t::i_length, sout_stream_id_t::i_nb_pred, block_t::i_pts, sout_stream_sys_t::i_qscale, block_t::i_rate, MAX_THRESHOLD, block_t::p_buffer, sout_stream_id_t::p_buffer_out, sout_stream_id_t::p_frame, sout_stream_t::p_sys, and vlc_memcpy().
Referenced by Process().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_sout_options[] [static] |
Initial value:
{
"files", "sizes", "aspect-ratio", "port", "command", "gop", "qscale",
"mute-audio", NULL
}
1.5.6