
Data Structures | |
| struct | decoder_sys_t |
| struct | aob_group_t |
Defines | |
| #define | LPCM_VOB_HEADER_LEN (6) |
| #define | LPCM_AOB_HEADER_LEN (11) |
| #define | LPCM_BD_HEADER_LEN (4) |
Enumerations | |
| enum | { LPCM_VOB, LPCM_AOB, LPCM_BD } |
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 * | DecodeFrame (decoder_t *, block_t **) |
| static int | VobHeader (unsigned *pi_rate, unsigned *pi_channels, unsigned *pi_original_channels, unsigned *pi_bits, const uint8_t *p_header) |
| static void | VobExtract (aout_buffer_t *, block_t *, unsigned i_bits) |
| static int | AobHeader (unsigned *pi_rate, unsigned *pi_channels, unsigned *pi_layout, unsigned *pi_bits, unsigned *pi_padding, aob_group_t g[2], const uint8_t *p_header) |
| static void | AobExtract (aout_buffer_t *, block_t *, unsigned i_bits, aob_group_t p_group[2]) |
| static int | BdHeader (unsigned *pi_rate, unsigned *pi_channels, unsigned *pi_original_channels, unsigned *pi_bits, const uint8_t *p_header) |
| static void | BdExtract (aout_buffer_t *, block_t *) |
| static int | OpenCommon (vlc_object_t *p_this, bool b_packetizer) |
Variables | |
| static const unsigned | p_aob_group1 [21][6] |
| static const unsigned | p_aob_group2 [21][6] |
| #define LPCM_AOB_HEADER_LEN (11) |
Referenced by AobHeader(), and OpenCommon().
| #define LPCM_BD_HEADER_LEN (4) |
Referenced by OpenCommon().
| #define LPCM_VOB_HEADER_LEN (6) |
Referenced by OpenCommon().
| static void AobExtract | ( | aout_buffer_t * | p_aout_buffer, | |
| block_t * | p_block, | |||
| unsigned | i_bits, | |||
| aob_group_t | p_group[2] | |||
| ) | [static] |
References aob_group_t::b_used, i, block_t::i_buffer, aob_group_t::i_channels, block_t::p_buffer, and aob_group_t::pi_position.
Referenced by DecodeFrame().
| static int AobHeader | ( | unsigned * | pi_rate, | |
| unsigned * | pi_channels, | |||
| unsigned * | pi_layout, | |||
| unsigned * | pi_bits, | |||
| unsigned * | pi_padding, | |||
| aob_group_t | g[2], | |||
| const uint8_t * | p_header | |||
| ) | [static] |
References aob_group_t::b_used, GetWBE, i, aob_group_t::i_channels, LPCM_AOB_HEADER_LEN, p_aob_group1, p_aob_group2, aob_group_t::pi_position, pi_vlc_chan_order_wg4, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by DecodeFrame().
| static void BdExtract | ( | aout_buffer_t * | p_aout_buffer, | |
| block_t * | p_block | |||
| ) | [static] |
| static int BdHeader | ( | unsigned * | pi_rate, | |
| unsigned * | pi_channels, | |||
| unsigned * | pi_original_channels, | |||
| unsigned * | pi_bits, | |||
| const uint8_t * | p_header | |||
| ) | [static] |
References AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_LFE, AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_REARCENTER, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, AOUT_CHAN_RIGHT, and GetDWBE.
Referenced by DecodeFrame().
| static void CloseCommon | ( | vlc_object_t * | p_this | ) | [static] |
References decoder_t::p_sys.
References AobExtract(), AobHeader(), AOUT_CHAN_PHYSMASK, es_format_t::audio, decoder_sys_t::b_packetizer, BdExtract(), BdHeader(), block_Release(), date_Get(), date_Increment(), date_Init(), date_Set(), decoder_NewAudioBuffer(), decoder_sys_t::end_date, decoder_t::fmt_out, audio_format_t::i_bitspersample, block_t::i_buffer, audio_format_t::i_channels, es_format_t::i_codec, block_t::i_dts, decoder_sys_t::i_header_size, block_t::i_length, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, block_t::i_pts, audio_format_t::i_rate, decoder_sys_t::i_type, LPCM_AOB, LPCM_BD, LPCM_VOB, msg_Err, msg_Warn, block_t::p_buffer, decoder_t::p_sys, p_sys, VLC_CODEC_S16B, VLC_CODEC_S24B, VLC_TS_INVALID, VobExtract(), and VobHeader().
Referenced by DecodeBlock(), OpenCommon(), and OpenDecoder().
| static int OpenCommon | ( | vlc_object_t * | p_this, | |
| bool | b_packetizer | |||
| ) | [static] |
References es_format_t::audio, AUDIO_ES, decoder_sys_t::b_packetizer, date_Set(), DecodeFrame(), decoder_sys_t::end_date, decoder_t::fmt_in, decoder_t::fmt_out, audio_format_t::i_bitspersample, es_format_t::i_cat, es_format_t::i_codec, decoder_sys_t::i_header_size, decoder_sys_t::i_type, i_type, LPCM_AOB, LPCM_AOB_HEADER_LEN, LPCM_BD, LPCM_BD_HEADER_LEN, LPCM_VOB, LPCM_VOB_HEADER_LEN, decoder_t::p_sys, p_sys, decoder_t::pf_decode_audio, decoder_t::pf_packetize, VLC_CODEC_BD_LPCM, VLC_CODEC_DVD_LPCM, VLC_CODEC_DVDA_LPCM, VLC_CODEC_S16B, VLC_CODEC_S24B, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int OpenDecoder | ( | vlc_object_t * | p_this | ) | [static] |
References OpenCommon().
| 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 | ) |
| static void VobExtract | ( | aout_buffer_t * | p_aout_buffer, | |
| block_t * | p_block, | |||
| unsigned | i_bits | |||
| ) | [static] |
| static int VobHeader | ( | unsigned * | pi_rate, | |
| unsigned * | pi_channels, | |||
| unsigned * | pi_original_channels, | |||
| unsigned * | pi_bits, | |||
| const uint8_t * | p_header | |||
| ) | [static] |
References AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_LFE, AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, and AOUT_CHAN_RIGHT.
Referenced by DecodeFrame().
const unsigned p_aob_group1[21][6] [static] |
Initial value:
{
{ 0x1 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0 },
{ 0x2 , 0x4 , 0x1 , 0 },
{ 0x2 , 0x4 , 0x1 , 0 },
{ 0x2 , 0x4 , 0x1 , 0 },
{ 0x2 , 0x4 , 0x1 , 0 },
{ 0x2 , 0x4 , 0x1 , 0 },
{ 0x2 , 0x4 , 0x20 , 0x40 , 0 },
{ 0x2 , 0x4 , 0x20 , 0x40 , 0 },
{ 0x2 , 0x4 , 0x20 , 0x40 , 0 },
}
Referenced by AobHeader().
const unsigned p_aob_group2[21][6] [static] |
Initial value:
{
{ 0 },
{ 0 },
{ 0x10 , 0 },
{ 0x20 , 0x40 , 0 },
{ 0x1000 , 0 },
{ 0x1000 , 0x10 , 0 },
{ 0x1000 , 0x20 , 0x40 , 0 },
{ 0x1 , 0 },
{ 0x1 , 0x10 , 0 },
{ 0x1 , 0x20 , 0x40 , 0 },
{ 0x1 , 0x1000 , 0 },
{ 0x1 , 0x1000 , 0x10 , 0 },
{ 0x1 , 0x1000 , 0x20 , 0x40 , 0 },
{ 0x10 , 0 },
{ 0x20 , 0x40 , 0 },
{ 0x1000 , 0 },
{ 0x1000 , 0x10 , 0 },
{ 0x1000 , 0x20 , 0x40 , 0 },
{ 0x1000 , 0 },
{ 0x1 , 0 },
{ 0x1 , 0x1000 , 0 },
}
Referenced by AobHeader().
1.5.6