
Data Structures | |
| struct | decoder_sys_t |
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 | CloseCommon (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| 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 | OpenCommon (vlc_object_t *p_this, bool b_packetizer) |
| anonymous enum |
| static void CloseCommon | ( | 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_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_sys_t::frame, GetOutBuffer(), block_t::i_buffer, block_t::i_pts, decoder_sys_t::i_pts, vlc_a52_header_t::i_size, decoder_sys_t::i_state, 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, vlc_a52_header_Parse(), VLC_A52_HEADER_SIZE, VLC_SUCCESS, and VLC_TS_INVALID.
Referenced by Create(), DecoderOpen(), Open(), OpenCommon(), OpenDecoder(), and OpenDecoderCommon().
| static aout_buffer_t * GetAoutBuffer | ( | decoder_t * | p_dec | ) | [static] |
References date_Get(), date_Increment(), decoder_NewAudioBuffer(), decoder_sys_t::end_date, decoder_sys_t::frame, block_t::i_length, block_t::i_pts, vlc_a52_header_t::i_samples, decoder_t::p_sys, and p_sys.
Referenced by GetOutBuffer().
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, decoder_sys_t::frame, GetAoutBuffer(), GetSoutBuffer(), es_format_t::i_bitrate, vlc_a52_header_t::i_bitrate, audio_format_t::i_bytes_per_frame, audio_format_t::i_channels, vlc_a52_header_t::i_channels, vlc_a52_header_t::i_channels_conf, audio_format_t::i_frame_length, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, decoder_sys_t::i_pts, vlc_a52_header_t::i_rate, audio_format_t::i_rate, vlc_a52_header_t::i_samples, vlc_a52_header_t::i_size, msg_Dbg, block_t::p_buffer, decoder_t::p_sys, and p_sys.
Referenced by DecodeBlock().
References block_New, date_Get(), date_Increment(), decoder_sys_t::end_date, decoder_sys_t::frame, block_t::i_dts, block_t::i_length, block_t::i_pts, vlc_a52_header_t::i_samples, vlc_a52_header_t::i_size, decoder_t::p_sys, and p_sys.
Referenced by GetOutBuffer().
| static int OpenCommon | ( | vlc_object_t * | p_this, | |
| bool | b_packetizer | |||
| ) | [static] |
References es_format_t::audio, AUDIO_ES, 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, audio_format_t::i_bytes_per_frame, es_format_t::i_cat, es_format_t::i_codec, i_codec, decoder_sys_t::i_pts, audio_format_t::i_rate, decoder_sys_t::i_state, decoder_t::p_sys, p_sys, decoder_t::pf_decode_audio, decoder_t::pf_packetize, STATE_NOSYNC, VLC_CODEC_A52, VLC_CODEC_EAC3, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and VLC_TS_INVALID.
| static int OpenDecoder | ( | vlc_object_t * | p_this | ) | [static] |
| static int OpenPacketizer | ( | vlc_object_t * | p_this | ) | [static] |
References OpenCommon().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6