
Data Structures | |
| struct | decoder_sys_t |
Defines | |
| #define | MAD_BUFFER_GUARD 8 |
| #define | MPGA_HEADER_SIZE 4 |
Enumerations | |
| enum | { STATE_NOSYNC, STATE_SYNC, STATE_HEADER, STATE_NEXT_SYNC, STATE_GET_DATA, STATE_SEND_DATA } |
Functions | |
| static int | OpenDecoder (vlc_object_t *) |
| static int | OpenPacketizer (vlc_object_t *) |
| static void | CloseDecoder (vlc_object_t *) |
| static void * | DecodeBlock (decoder_t *, block_t **) |
| static uint8_t * | GetOutBuffer (decoder_t *, block_t **) |
| static aout_buffer_t * | GetAoutBuffer (decoder_t *) |
| static block_t * | GetSoutBuffer (decoder_t *) |
| static int | SyncInfo (uint32_t i_header, unsigned int *pi_channels, unsigned int *pi_channels_conf, unsigned int *pi_sample_rate, unsigned int *pi_bit_rate, unsigned int *pi_frame_length, unsigned int *pi_max_frame_size, unsigned int *pi_layer) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int | Open (vlc_object_t *p_this) |
| #define MAD_BUFFER_GUARD 8 |
Referenced by DecodeBlock(), GetAoutBuffer(), and GetOutBuffer().
| #define MPGA_HEADER_SIZE 4 |
Referenced by DecodeBlock(), and Open().
| anonymous enum |
| static void CloseDecoder | ( | vlc_object_t * | p_this | ) | [static] |
References block_BytestreamRelease(), decoder_sys_t::bytestream, decoder_t::p_sys, and p_sys.
References __MIN, decoder_sys_t::b_discontinuity, decoder_sys_t::b_packetizer, block_BytestreamEmpty(), block_BytestreamFlush(), block_BytestreamPop(), block_BytestreamPush(), BLOCK_FLAG_CORRUPTED, BLOCK_FLAG_DISCONTINUITY, block_GetBytes(), block_PeekBytes(), block_PeekOffsetBytes(), block_Release(), block_SkipByte(), block_WaitBytes(), decoder_sys_t::bytestream, date_Get(), date_Set(), decoder_sys_t::end_date, decoder_t::fmt_in, GetOutBuffer(), decoder_sys_t::i_bit_rate, block_t::i_buffer, decoder_sys_t::i_channels, decoder_sys_t::i_channels_conf, decoder_sys_t::i_frame_length, decoder_sys_t::i_frame_size, decoder_sys_t::i_free_frame_size, decoder_sys_t::i_layer, decoder_sys_t::i_max_frame_size, es_format_t::i_profile, block_t::i_pts, decoder_sys_t::i_pts, decoder_sys_t::i_rate, decoder_sys_t::i_state, MAD_BUFFER_GUARD, MPGA_HEADER_SIZE, msg_Dbg, block_bytestream_t::p_block, decoder_t::p_sys, p_sys, STATE_GET_DATA, STATE_HEADER, STATE_NEXT_SYNC, STATE_NOSYNC, STATE_SEND_DATA, STATE_SYNC, SyncInfo(), VLC_SUCCESS, and VLC_TS_INVALID.
| static aout_buffer_t * GetAoutBuffer | ( | decoder_t * | p_dec | ) | [static] |
References decoder_sys_t::b_discontinuity, BLOCK_FLAG_DISCONTINUITY, block_Realloc(), date_Get(), date_Increment(), decoder_NewAudioBuffer(), decoder_sys_t::end_date, block_t::i_flags, decoder_sys_t::i_frame_length, decoder_sys_t::i_frame_size, block_t::i_length, block_t::i_pts, MAD_BUFFER_GUARD, decoder_t::p_sys, and p_sys.
References AOUT_CHAN_PHYSMASK, es_format_t::audio, decoder_sys_t::b_packetizer, date_Init(), date_Set(), decoder_sys_t::end_date, decoder_t::fmt_out, GetAoutBuffer(), GetSoutBuffer(), decoder_sys_t::i_bit_rate, es_format_t::i_bitrate, audio_format_t::i_bytes_per_frame, audio_format_t::i_channels, decoder_sys_t::i_channels, decoder_sys_t::i_channels_conf, decoder_sys_t::i_frame_length, audio_format_t::i_frame_length, decoder_sys_t::i_max_frame_size, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, decoder_sys_t::i_pts, decoder_sys_t::i_rate, audio_format_t::i_rate, MAD_BUFFER_GUARD, msg_Dbg, block_t::p_buffer, decoder_t::p_sys, and p_sys.
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
References es_format_t::audio, AUDIO_ES, decoder_sys_t::b_discontinuity, decoder_sys_t::b_packetizer, block_BytestreamInit(), decoder_sys_t::bytestream, date_Set(), DecodeBlock(), decoder_sys_t::end_date, decoder_t::fmt_in, decoder_t::fmt_out, es_format_t::i_cat, es_format_t::i_codec, decoder_sys_t::i_free_frame_size, decoder_sys_t::i_pts, audio_format_t::i_rate, decoder_sys_t::i_state, MPGA_HEADER_SIZE, decoder_t::p_sys, p_sys, decoder_t::pf_decode_audio, decoder_t::pf_packetize, STATE_NOSYNC, VLC_CODEC_MPGA, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and VLC_TS_INVALID.
| static int OpenDecoder | ( | vlc_object_t * | p_this | ) | [static] |
References module_exists(), Open(), and VLC_EGENERIC.
| static int OpenPacketizer | ( | vlc_object_t * | p_this | ) | [static] |
References decoder_sys_t::b_packetizer, Open(), decoder_t::p_sys, and VLC_SUCCESS.
| static int SyncInfo | ( | uint32_t | i_header, | |
| unsigned int * | pi_channels, | |||
| unsigned int * | pi_channels_conf, | |||
| unsigned int * | pi_sample_rate, | |||
| unsigned int * | pi_bit_rate, | |||
| unsigned int * | pi_frame_length, | |||
| unsigned int * | pi_max_frame_size, | |||
| unsigned int * | pi_layer | |||
| ) | [static] |
References AOUT_CHAN_CENTER, AOUT_CHAN_DUALMONO, AOUT_CHAN_LEFT, and AOUT_CHAN_RIGHT.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6