
Data Structures | |
| struct | avi_stream_s |
| struct | avi_idx1_entry_s |
| struct | avi_idx1_s |
| struct | sout_mux_sys_t |
| struct | buffer_out_s |
Defines | |
| #define | HDR_SIZE 10240 |
| #define | AVIF_HASINDEX 0x00000010 |
| #define | AVIF_ISINTERLEAVED 0x00000100 |
| #define | AVIF_TRUSTCKTYPE 0x00000800 |
| #define | AVIIF_KEYFRAME 0x00000010L |
| #define | p_wf p_stream->p_wf |
| #define | p_bih p_stream->p_bih |
| #define | AVI_BOX_ENTER(fcc) |
| #define | AVI_BOX_ENTER_LIST(fcc) |
| #define | AVI_BOX_EXIT(i_err) |
Typedefs | |
| typedef struct avi_stream_s | avi_stream_t |
| typedef struct avi_idx1_entry_s | avi_idx1_entry_t |
| typedef struct avi_idx1_s | avi_idx1_t |
| typedef struct buffer_out_s | buffer_out_t |
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 | Control (sout_mux_t *, int, va_list) |
| static int | AddStream (sout_mux_t *, sout_input_t *) |
| static int | DelStream (sout_mux_t *, sout_input_t *) |
| static int | Mux (sout_mux_t *) |
| static block_t * | avi_HeaderCreateRIFF (sout_mux_t *) |
| static block_t * | avi_HeaderCreateidx1 (sout_mux_t *) |
| static void | SetFCC (uint8_t *p, char *fcc) |
| static void | bo_Init (buffer_out_t *p_bo, int i_size, uint8_t *p_buffer) |
| static void | bo_AddByte (buffer_out_t *p_bo, uint8_t i) |
| static void | bo_AddWordLE (buffer_out_t *p_bo, uint16_t i) |
| static void | bo_AddWordBE (buffer_out_t *p_bo, uint16_t i) |
| static void | bo_AddDWordLE (buffer_out_t *p_bo, uint32_t i) |
| static void | bo_AddDWordBE (buffer_out_t *p_bo, uint32_t i) |
| static void | bo_AddFCC (buffer_out_t *p_bo, const char *fcc) |
| static void | bo_AddMem (buffer_out_t *p_bo, int i_size, uint8_t *p_mem) |
| static int | avi_HeaderAdd_avih (sout_mux_t *p_mux, buffer_out_t *p_bo) |
| static int | avi_HeaderAdd_strh (buffer_out_t *p_bo, avi_stream_t *p_stream) |
| static int | avi_HeaderAdd_strf (buffer_out_t *p_bo, avi_stream_t *p_stream) |
| static int | avi_HeaderAdd_strl (buffer_out_t *p_bo, avi_stream_t *p_stream) |
| #define AVI_BOX_ENTER | ( | fcc | ) |
Value:
buffer_out_t _bo_sav_; \ bo_AddFCC( p_bo, fcc ); \ _bo_sav_ = *p_bo; \ bo_AddDWordLE( p_bo, 0 )
Referenced by avi_HeaderAdd_avih(), avi_HeaderAdd_strf(), and avi_HeaderAdd_strh().
| #define AVI_BOX_ENTER_LIST | ( | fcc | ) |
| #define AVI_BOX_EXIT | ( | i_err | ) |
Value:
if( p_bo->i_buffer&0x01 ) bo_AddByte( p_bo, 0 ); \ bo_AddDWordLE( &_bo_sav_, p_bo->i_buffer - _bo_sav_.i_buffer - 4 ); \ return( i_err );
Referenced by avi_HeaderAdd_avih(), avi_HeaderAdd_strf(), avi_HeaderAdd_strh(), and avi_HeaderAdd_strl().
| #define AVIF_HASINDEX 0x00000010 |
| #define AVIF_ISINTERLEAVED 0x00000100 |
| #define AVIF_TRUSTCKTYPE 0x00000800 |
| #define AVIIF_KEYFRAME 0x00000010L |
| #define HDR_SIZE 10240 |
Referenced by avi_HeaderCreateRIFF().
| #define p_bih p_stream->p_bih |
Referenced by AddStream(), DecOpen(), EncoderSetVideoType(), and matroska_segment_c::Select().
| #define p_wf p_stream->p_wf |
Referenced by AddStream(), DecOpen(), EncoderSetAudioType(), and matroska_segment_c::Select().
| typedef struct avi_idx1_entry_s avi_idx1_entry_t |
| typedef struct avi_idx1_s avi_idx1_t |
| typedef struct avi_stream_s avi_stream_t |
| typedef struct buffer_out_s buffer_out_t |
| static int AddStream | ( | sout_mux_t * | p_mux, | |
| sout_input_t * | p_input | |||
| ) | [static] |
References es_format_t::audio, AUDIO_ES, avi_stream_s::f_fps, avi_stream_s::fcc, avi_stream_s::i_bitrate, es_format_t::i_bitrate, audio_format_t::i_blockalign, avi_stream_s::i_cat, es_format_t::i_cat, audio_format_t::i_channels, es_format_t::i_codec, avi_stream_s::i_duration, es_format_t::i_extra, avi_stream_s::i_frames, video_format_t::i_height, es_format_t::i_original_fourcc, audio_format_t::i_rate, sout_mux_sys_t::i_stream_video, sout_mux_sys_t::i_streams, avi_stream_s::i_totalsize, video_format_t::i_width, msg_Dbg, msg_Err, p_bih, avi_stream_s::p_bih, es_format_t::p_extra, sout_input_t::p_fmt, sout_input_t::p_sys, sout_mux_t::p_sys, p_wf, avi_stream_s::p_wf, sout_mux_sys_t::stream, es_format_t::video, VIDEO_ES, VLC_CODEC_A52, VLC_CODEC_MP4V, VLC_CODEC_MPGA, VLC_CODEC_S16L, VLC_CODEC_S24L, VLC_CODEC_S32L, VLC_CODEC_U8, VLC_CODEC_WMA1, VLC_CODEC_WMA2, VLC_CODEC_WMAL, VLC_CODEC_WMAP, VLC_EGENERIC, VLC_ENOMEM, VLC_FOURCC, VLC_SUCCESS, WAVE_FORMAT_A52, WAVE_FORMAT_MPEGLAYER3, WAVE_FORMAT_PCM, WAVE_FORMAT_WMA1, WAVE_FORMAT_WMA2, WAVE_FORMAT_WMAL, and WAVE_FORMAT_WMAP.
| static int avi_HeaderAdd_avih | ( | sout_mux_t * | p_mux, | |
| buffer_out_t * | p_bo | |||
| ) | [static] |
References AVI_BOX_ENTER, AVI_BOX_EXIT, AVIF_HASINDEX, AVIF_ISINTERLEAVED, AVIF_TRUSTCKTYPE, ATTR_PACKED::biHeight, ATTR_PACKED::biWidth, bo_AddDWordLE(), avi_stream_s::f_fps, avi_stream_s::i_duration, avi_stream_s::i_frames, sout_mux_sys_t::i_stream_video, sout_mux_sys_t::i_streams, avi_stream_s::i_totalsize, msg_Warn, avi_stream_s::p_bih, sout_mux_t::p_sys, and sout_mux_sys_t::stream.
Referenced by avi_HeaderCreateRIFF().
| static int avi_HeaderAdd_strf | ( | buffer_out_t * | p_bo, | |
| avi_stream_t * | p_stream | |||
| ) | [static] |
References AUDIO_ES, AVI_BOX_ENTER, AVI_BOX_EXIT, ATTR_PACKED::biBitCount, ATTR_PACKED::biClrImportant, ATTR_PACKED::biClrUsed, ATTR_PACKED::biCompression, ATTR_PACKED::biHeight, ATTR_PACKED::biPlanes, ATTR_PACKED::biSize, ATTR_PACKED::biSizeImage, ATTR_PACKED::biWidth, ATTR_PACKED::biXPelsPerMeter, ATTR_PACKED::biYPelsPerMeter, bo_AddDWordBE(), bo_AddDWordLE(), bo_AddMem(), bo_AddWordLE(), avi_stream_s::i_cat, avi_stream_s::p_bih, avi_stream_s::p_wf, VIDEO_ES, and VLC_FOURCC.
Referenced by avi_HeaderAdd_strl().
| static int avi_HeaderAdd_strh | ( | buffer_out_t * | p_bo, | |
| avi_stream_t * | p_stream | |||
| ) | [static] |
References AUDIO_ES, AVI_BOX_ENTER, AVI_BOX_EXIT, ATTR_PACKED::biCompression, ATTR_PACKED::biHeight, ATTR_PACKED::biWidth, bo_AddDWordBE(), bo_AddDWordLE(), bo_AddFCC(), bo_AddWordLE(), avi_stream_s::f_fps, avi_stream_s::i_bitrate, avi_stream_s::i_cat, avi_stream_s::i_frames, avi_stream_s::p_bih, avi_stream_s::p_wf, and VIDEO_ES.
Referenced by avi_HeaderAdd_strl().
| static int avi_HeaderAdd_strl | ( | buffer_out_t * | p_bo, | |
| avi_stream_t * | p_stream | |||
| ) | [static] |
References AVI_BOX_ENTER_LIST, AVI_BOX_EXIT, avi_HeaderAdd_strf(), and avi_HeaderAdd_strh().
Referenced by avi_HeaderCreateRIFF().
| static block_t * avi_HeaderCreateidx1 | ( | sout_mux_t * | p_mux | ) | [static] |
| static block_t * avi_HeaderCreateRIFF | ( | sout_mux_t * | p_mux | ) | [static] |
References avi_HeaderAdd_avih(), avi_HeaderAdd_strl(), block_New, bo_AddDWordLE(), bo_AddFCC(), bo_Init(), HDR_SIZE, buffer_out_s::i_buffer, sout_mux_sys_t::i_idx1_size, sout_mux_sys_t::i_movi_size, sout_mux_sys_t::i_streams, block_t::p_buffer, sout_mux_t::p_sys, and sout_mux_sys_t::stream.
Referenced by Mux().
| static void bo_AddByte | ( | buffer_out_t * | p_bo, | |
| uint8_t | i | |||
| ) | [static] |
References buffer_out_s::i_buffer, buffer_out_s::i_buffer_size, and buffer_out_s::p_buffer.
Referenced by bo_AddFCC(), bo_AddMem(), bo_AddWordBE(), and bo_AddWordLE().
| static void bo_AddDWordBE | ( | buffer_out_t * | p_bo, | |
| uint32_t | i | |||
| ) | [static] |
| static void bo_AddDWordLE | ( | buffer_out_t * | p_bo, | |
| uint32_t | i | |||
| ) | [static] |
References bo_AddWordLE().
Referenced by avi_HeaderAdd_avih(), avi_HeaderAdd_strf(), avi_HeaderAdd_strh(), avi_HeaderCreateidx1(), and avi_HeaderCreateRIFF().
| static void bo_AddFCC | ( | buffer_out_t * | p_bo, | |
| const char * | fcc | |||
| ) | [static] |
References bo_AddByte().
Referenced by avi_HeaderAdd_strh(), avi_HeaderCreateidx1(), and avi_HeaderCreateRIFF().
| static void bo_AddMem | ( | buffer_out_t * | p_bo, | |
| int | i_size, | |||
| uint8_t * | p_mem | |||
| ) | [static] |
| static void bo_AddWordBE | ( | buffer_out_t * | p_bo, | |
| uint16_t | i | |||
| ) | [static] |
| static void bo_AddWordLE | ( | buffer_out_t * | p_bo, | |
| uint16_t | i | |||
| ) | [static] |
References bo_AddByte().
Referenced by avi_HeaderAdd_strf(), avi_HeaderAdd_strh(), and bo_AddDWordLE().
| static void bo_Init | ( | buffer_out_t * | p_bo, | |
| int | i_size, | |||
| uint8_t * | p_buffer | |||
| ) | [static] |
References buffer_out_s::i_buffer, buffer_out_s::i_buffer_size, and buffer_out_s::p_buffer.
Referenced by avi_HeaderCreateidx1(), and avi_HeaderCreateRIFF().
| 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 Control | ( | sout_mux_t * | p_mux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References MUX_CAN_ADD_STREAM_WHILE_MUXING, MUX_GET_ADD_STREAM_WAIT, MUX_GET_MIME, strdup(), VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| static int DelStream | ( | sout_mux_t * | p_mux, | |
| sout_input_t * | p_input | |||
| ) | [static] |
References msg_Dbg, and sout_input_t::p_sys.
| static int Mux | ( | sout_mux_t * | p_mux | ) | [static] |
References avi_HeaderCreateRIFF(), AVIIF_KEYFRAME, sout_mux_sys_t::b_write_header, block_FifoCount(), block_FifoGet(), block_FifoShow(), BLOCK_FLAG_TYPE_I, BLOCK_FLAG_TYPE_MASK, block_Realloc(), block_Release(), avi_idx1_s::entry, avi_stream_s::fcc, avi_idx1_entry_s::fcc, i, block_t::i_buffer, block_t::i_dts, avi_stream_s::i_duration, avi_idx1_s::i_entry_count, avi_idx1_s::i_entry_max, block_t::i_flags, avi_idx1_entry_s::i_flags, avi_stream_s::i_frames, avi_idx1_entry_s::i_length, block_t::i_length, sout_mux_sys_t::i_movi_size, sout_mux_t::i_nb_inputs, avi_idx1_entry_s::i_pos, avi_stream_s::i_totalsize, sout_mux_sys_t::idx1, msg_Dbg, msg_Warn, sout_mux_t::p_access, block_t::p_buffer, sout_input_t::p_fifo, sout_input_t::p_sys, sout_mux_t::p_sys, sout_mux_t::pp_inputs, SetDWLE, SetFCC(), sout_AccessOutWrite(), sout_mux_sys_t::stream, and xrealloc().
| 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 void SetFCC | ( | uint8_t * | p, | |
| char * | fcc | |||
| ) | [static] |
Referenced by Mux().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6