
Data Structures | |
| struct | codec_t |
| struct | demux_sys_t |
Defines | |
| #define | FPS_TEXT N_("Frames per Second") |
| #define | FPS_LONGTEXT |
| #define | WAV_PROBE_SIZE (512*1024) |
| #define | MPGA_VERSION(h) ( 1 - (((h)>>19)&0x01) ) |
| #define | MPGA_MODE(h) (((h)>> 6)&0x03) |
Functions | |
| static int | OpenAudio (vlc_object_t *) |
| static int | OpenVideo (vlc_object_t *) |
| 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, va_list) |
| static int | MpgaProbe (demux_t *p_demux, int64_t *pi_offset) |
| static int | MpgaInit (demux_t *p_demux) |
| static int | AacProbe (demux_t *p_demux, int64_t *pi_offset) |
| static int | AacInit (demux_t *p_demux) |
| static int | EA52Probe (demux_t *p_demux, int64_t *pi_offset) |
| static int | A52Probe (demux_t *p_demux, int64_t *pi_offset) |
| static int | A52Init (demux_t *p_demux) |
| static int | DtsProbe (demux_t *p_demux, int64_t *pi_offset) |
| static int | DtsInit (demux_t *p_demux) |
| static int | MlpProbe (demux_t *p_demux, int64_t *pi_offset) |
| static int | MlpInit (demux_t *p_demux) |
| static int | VideoInit (demux_t *p_demux) |
| static int | OpenCommon (demux_t *p_demux, int i_cat, const codec_t *p_codec, int64_t i_bs_offset) |
| static int | WavSkipHeader (demux_t *p_demux, int *pi_skip, const int pi_format[]) |
| static int | GenericProbe (demux_t *p_demux, int64_t *pi_offset, const char *ppsz_name[], int(*pf_check)(const uint8_t *, int *), int i_check_size, const int pi_wav_format[]) |
| static int | MpgaCheckSync (const uint8_t *p_peek) |
| static int | MpgaGetFrameSamples (uint32_t h) |
| static void | MpgaXingSkip (const uint8_t **pp_xing, int *pi_xing, int i_count) |
| static uint32_t | MpgaXingGetDWBE (const uint8_t **pp_xing, int *pi_xing, uint32_t i_default) |
| static int | A52CheckSync (const uint8_t *p_peek, bool *p_big_endian, int *pi_samples, bool b_eac3) |
| static int | EA52CheckSyncProbe (const uint8_t *p_peek, int *pi_samples) |
| static int | A52CheckSyncProbe (const uint8_t *p_peek, int *pi_samples) |
| static int | DtsCheckSync (const uint8_t *p_peek, int *pi_samples) |
| static int | MlpCheckSync (const uint8_t *p_peek, int *pi_samples) |
Variables | |
| static const codec_t | p_codecs [] |
| static const codec_t | codec_m4v |
| #define FPS_LONGTEXT |
Value:
N_("This is the frame rate used as a fallback when " \ "playing MPEG video elementary streams.")
| #define FPS_TEXT N_("Frames per Second") |
| #define MPGA_MODE | ( | h | ) | (((h)>> 6)&0x03) |
Referenced by MpgaInit().
| #define MPGA_VERSION | ( | h | ) | ( 1 - (((h)>>19)&0x01) ) |
Referenced by MpgaGetFrameSamples(), and MpgaInit().
| #define WAV_PROBE_SIZE (512*1024) |
Referenced by WavSkipHeader().
| static int A52CheckSync | ( | const uint8_t * | p_peek, | |
| bool * | p_big_endian, | |||
| int * | pi_samples, | |||
| bool | b_eac3 | |||
| ) | [static] |
References vlc_a52_header_t::b_eac3, vlc_a52_header_t::i_samples, vlc_a52_header_t::i_size, swab(), vlc_a52_header_Parse(), VLC_A52_HEADER_SIZE, and VLC_EGENERIC.
Referenced by A52CheckSyncProbe(), A52Init(), and EA52CheckSyncProbe().
| static int A52CheckSyncProbe | ( | const uint8_t * | p_peek, | |
| int * | pi_samples | |||
| ) | [static] |
| static int A52Init | ( | demux_t * | p_demux | ) | [static] |
| static int A52Probe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
References A52CheckSyncProbe(), GenericProbe(), VLC_A52_HEADER_SIZE, WAVE_FORMAT_A52, WAVE_FORMAT_PCM, and WAVE_FORMAT_UNKNOWN.
| static int AacInit | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_packet_size, demux_t::p_sys, p_sys, and VLC_SUCCESS.
| static int AacProbe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
References demux_IsForced(), demux_IsPathExtension(), msg_Err, demux_t::s, stream_Peek(), stream_Tell(), VLC_EGENERIC, and VLC_SUCCESS.
| 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 | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References DEMUX_GET_LENGTH, DEMUX_GET_TIME, DEMUX_HAS_UNSUPPORTED_META, DEMUX_SET_POSITION, DEMUX_SET_TIME, demux_vaControlHelper(), demux_sys_t::i_bitrate_avg, demux_sys_t::i_pts, demux_sys_t::i_stream_offset, demux_sys_t::i_time_offset, demux_t::p_sys, p_sys, demux_t::s, stream_Size(), stream_Tell(), VLC_EGENERIC, and VLC_SUCCESS.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References es_format_t::audio, demux_sys_t::b_big_endian, demux_sys_t::b_estimate_bitrate, demux_sys_t::b_initial_sync_failed, es_format_t::b_packetized, demux_sys_t::b_start, codec_t::b_use_word, demux_sys_t::codec, es_out_Add(), es_out_Control(), es_out_Send(), ES_OUT_SET_PCR, demux_sys_t::f_fps, decoder_t::fmt_out, es_format_t::i_bitrate, demux_sys_t::i_bitrate_avg, block_t::i_buffer, demux_sys_t::i_bytes, es_format_t::i_cat, block_t::i_dts, demux_sys_t::i_frame_samples, demux_sys_t::i_frames, demux_sys_t::i_packet_size, demux_sys_t::i_pts, block_t::i_pts, audio_format_t::i_rate, demux_sys_t::i_time_offset, msg_Dbg, demux_t::out, block_t::p_buffer, demux_sys_t::p_es, block_t::p_next, demux_sys_t::p_packetizer, demux_t::p_sys, p_sys, decoder_t::pf_packetize, demux_t::s, stream_Block(), stream_Read(), stream_Tell(), swab(), VIDEO_ES, VLC_TS_0, VLC_TS_INVALID, and demux_sys_t::xing.
| static int DtsCheckSync | ( | const uint8_t * | p_peek, | |
| int * | pi_samples | |||
| ) | [static] |
| static int DtsInit | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_packet_size, demux_t::p_sys, p_sys, and VLC_SUCCESS.
| static int DtsProbe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
References DtsCheckSync(), GenericProbe(), WAVE_FORMAT_DTS, WAVE_FORMAT_PCM, and WAVE_FORMAT_UNKNOWN.
| static int EA52CheckSyncProbe | ( | const uint8_t * | p_peek, | |
| int * | pi_samples | |||
| ) | [static] |
| static int EA52Probe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
References EA52CheckSyncProbe(), GenericProbe(), VLC_A52_HEADER_SIZE, WAVE_FORMAT_A52, WAVE_FORMAT_PCM, and WAVE_FORMAT_UNKNOWN.
| static int GenericProbe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset, | |||
| const char * | ppsz_name[], | |||
| int(*)(const uint8_t *, int *) | pf_check, | |||
| int | i_check_size, | |||
| const int | pi_wav_format[] | |||
| ) | [static] |
References demux_IsForced(), i, msg_Err, demux_t::s, stream_Peek(), stream_Tell(), VLC_EGENERIC, VLC_SUCCESS, and WavSkipHeader().
Referenced by A52Probe(), DtsProbe(), EA52Probe(), and MlpProbe().
| static int MlpCheckSync | ( | const uint8_t * | p_peek, | |
| int * | pi_samples | |||
| ) | [static] |
| static int MlpInit | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_packet_size, demux_t::p_sys, p_sys, and VLC_SUCCESS.
| static int MlpProbe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
References GenericProbe(), MlpCheckSync(), WAVE_FORMAT_PCM, and WAVE_FORMAT_UNKNOWN.
| static int MpgaCheckSync | ( | const uint8_t * | p_peek | ) | [static] |
| static int MpgaGetFrameSamples | ( | uint32_t | h | ) | [static] |
| static int MpgaInit | ( | demux_t * | p_demux | ) | [static] |
References GetDWBE, demux_sys_t::i_bitrate_avg, demux_sys_t::i_bytes, demux_sys_t::i_frame_samples, demux_sys_t::i_frames, demux_sys_t::i_packet_size, MPGA_MODE, MPGA_VERSION, MpgaCheckSync(), MpgaGetFrameSamples(), MpgaXingGetDWBE(), MpgaXingSkip(), msg_Dbg, demux_t::p_sys, p_sys, demux_t::s, stream_Peek(), VLC_SUCCESS, and demux_sys_t::xing.
| static int MpgaProbe | ( | demux_t * | p_demux, | |
| int64_t * | pi_offset | |||
| ) | [static] |
| static uint32_t MpgaXingGetDWBE | ( | const uint8_t ** | pp_xing, | |
| int * | pi_xing, | |||
| uint32_t | i_default | |||
| ) | [static] |
| static void MpgaXingSkip | ( | const uint8_t ** | pp_xing, | |
| int * | pi_xing, | |||
| int | i_count | |||
| ) | [static] |
Referenced by MpgaInit(), and MpgaXingGetDWBE().
| static int OpenAudio | ( | vlc_object_t * | p_this | ) | [static] |
References AUDIO_ES, i, codec_t::i_codec, OpenCommon(), and VLC_EGENERIC.
| static int OpenCommon | ( | demux_t * | p_demux, | |
| int | i_cat, | |||
| const codec_t * | p_codec, | |||
| int64_t | i_bs_offset | |||
| ) | [static] |
References demux_sys_t::b_big_endian, demux_sys_t::b_estimate_bitrate, demux_sys_t::b_start, demux_sys_t::codec, DEMUX_INIT_COMMON, demux_PacketizerNew(), es_format_Init(), demux_sys_t::f_fps, demux_sys_t::i_bitrate_avg, codec_t::i_codec, demux_sys_t::i_stream_offset, msg_Dbg, demux_sys_t::p_es, demux_sys_t::p_packetizer, demux_t::p_sys, p_sys, codec_t::pf_init, codec_t::psz_name, demux_t::s, stream_Seek(), var_InheritFloat, VLC_EGENERIC, and VLC_SUCCESS.
| static int OpenVideo | ( | vlc_object_t * | p_this | ) | [static] |
References demux_IsForced(), demux_IsPathExtension(), msg_Warn, OpenCommon(), demux_t::s, stream_Peek(), VIDEO_ES, and VLC_EGENERIC.
| static int VideoInit | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_packet_size, demux_t::p_sys, p_sys, and VLC_SUCCESS.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| static int WavSkipHeader | ( | demux_t * | p_demux, | |
| int * | pi_skip, | |||
| const int | pi_format[] | |||
| ) | [static] |
References GetDWLE(), GetWLE(), demux_t::s, stream_Peek(), VLC_EGENERIC, VLC_SUCCESS, WAV_PROBE_SIZE, WAVE_FORMAT_PCM, and WAVE_FORMAT_UNKNOWN.
Referenced by GenericProbe(), and MpgaProbe().
Initial value:
{
( ((uint32_t) 'm' ) | ( ((uint32_t) 'p' ) << 8 ) | ( ((uint32_t) '4' ) << 16 ) | ( ((uint32_t) 'v' ) << 24 ) ) , false, "mp4 video", NULL, VideoInit
}
Initial value:
{
{ ( ((uint32_t) 'm' ) | ( ((uint32_t) 'p' ) << 8 ) | ( ((uint32_t) '4' ) << 16 ) | ( ((uint32_t) 'a' ) << 24 ) ) , false, "mp4 audio", AacProbe, AacInit },
{ ( ((uint32_t) 'm' ) | ( ((uint32_t) 'p' ) << 8 ) | ( ((uint32_t) 'g' ) << 16 ) | ( ((uint32_t) 'a' ) << 24 ) ) , false, "mpeg audio", MpgaProbe, MpgaInit },
{ ( ((uint32_t) 'a' ) | ( ((uint32_t) '5' ) << 8 ) | ( ((uint32_t) '2' ) << 16 ) | ( ((uint32_t) ' ' ) << 24 ) ) , true, "a52 audio", A52Probe, A52Init },
{ ( ((uint32_t) 'e' ) | ( ((uint32_t) 'a' ) << 8 ) | ( ((uint32_t) 'c' ) << 16 ) | ( ((uint32_t) '3' ) << 24 ) ) , true, "eac3 audio", EA52Probe, A52Init },
{ ( ((uint32_t) 'd' ) | ( ((uint32_t) 't' ) << 8 ) | ( ((uint32_t) 's' ) << 16 ) | ( ((uint32_t) ' ' ) << 24 ) ) , false, "dts audio", DtsProbe, DtsInit },
{ ( ((uint32_t) 't' ) | ( ((uint32_t) 'r' ) << 8 ) | ( ((uint32_t) 'h' ) << 16 ) | ( ((uint32_t) 'd' ) << 24 ) ) , false, "mlp audio", MlpProbe, MlpInit },
{ 0, false, NULL, NULL, NULL }
}
1.5.6