
| static void audio_del_buffer | ( | decoder_t * | p_dec, | |
| aout_buffer_t * | p_buffer | |||
| ) | [static] |
| static aout_buffer_t* audio_new_buffer | ( | decoder_t * | p_dec, | |
| int | i_samples | |||
| ) | [static] |
| static void audio_timer_close | ( | encoder_t * | p_encoder | ) | [inline, static] |
References STATS_TIMER_AUDIO_FRAME_ENCODING, stats_TimerClean, and stats_TimerDump.
Referenced by transcode_audio_close().
| static void audio_timer_start | ( | encoder_t * | p_encoder | ) | [inline, static] |
References STATS_TIMER_AUDIO_FRAME_ENCODING, and stats_TimerStart.
Referenced by transcode_audio_process().
| static void audio_timer_stop | ( | encoder_t * | p_encoder | ) | [inline, static] |
References STATS_TIMER_AUDIO_FRAME_ENCODING, and stats_TimerStop.
Referenced by transcode_audio_process().
| bool transcode_audio_add | ( | sout_stream_t * | p_stream, | |
| es_format_t * | p_fmt, | |||
| sout_stream_id_t * | id | |||
| ) |
References __MIN, es_format_t::audio, date_Init(), decoder_t::fmt_in, encoder_t::fmt_out, sout_stream_sys_t::i_abitrate, sout_stream_sys_t::i_acodec, audio_format_t::i_bitspersample, audio_format_t::i_channels, sout_stream_sys_t::i_channels, es_format_t::i_codec, audio_format_t::i_rate, sout_stream_sys_t::i_sample_rate, sout_stream_id_t::id, sout_stream_id_t::interpolated_pts, msg_Dbg, msg_Err, sout_stream_id_t::p_decoder, sout_stream_id_t::p_encoder, sout_stream_t::p_next, sout_stream_t::p_sys, p_sys, pi_channels_maps, sout_StreamIdAdd(), transcode_audio_close(), and transcode_audio_new().
Referenced by Add().
| void transcode_audio_close | ( | sout_stream_id_t * | id | ) |
References audio_timer_close(), filter_chain_Delete(), module_unneed, sout_stream_id_t::p_decoder, decoder_t::p_description, sout_stream_id_t::p_encoder, sout_stream_id_t::p_f_chain, encoder_t::p_module, decoder_t::p_module, sout_stream_id_t::p_uf_chain, and vlc_meta_Delete().
Referenced by Del(), transcode_audio_add(), and transcode_audio_new().
| static int transcode_audio_filter_allocation_init | ( | filter_t * | p_filter, | |
| void * | data | |||
| ) | [static] |
References transcode_audio_alloc(), VLC_SUCCESS, and VLC_UNUSED.
Referenced by transcode_audio_new().
| static int transcode_audio_filter_chain_build | ( | sout_stream_t * | p_stream, | |
| filter_chain_t * | p_chain, | |||
| const es_format_t * | p_dst, | |||
| const es_format_t * | p_src | |||
| ) | [static] |
References aout_FormatPrepare(), es_format_t::audio, filter_chain_AppendFilter(), filter_chain_GetFmtOut(), audio_format_t::i_channels, es_format_t::i_codec, audio_format_t::i_format, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, msg_Dbg, msg_Err, pi_channels_maps, transcode_audio_filter_needed(), VLC_CODEC_FL32, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by transcode_audio_new().
| static bool transcode_audio_filter_needed | ( | const es_format_t * | p_fmt1, | |
| const es_format_t * | p_fmt2 | |||
| ) | [static] |
References es_format_t::audio, audio_format_t::i_channels, es_format_t::i_codec, and audio_format_t::i_rate.
Referenced by transcode_audio_filter_chain_build().
| int transcode_audio_new | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id | |||
| ) |
References aout_BitsPerSample(), es_format_t::audio, audio_del_buffer(), AUDIO_ES, audio_new_buffer(), es_format_Init(), filter_chain_AppendFromString(), filter_chain_GetFmtOut(), filter_chain_New, filter_chain_Reset(), encoder_t::fmt_in, decoder_t::fmt_in, encoder_t::fmt_out, decoder_t::fmt_out, sout_stream_sys_t::i_acodec, es_format_t::i_cat, audio_format_t::i_channels, es_format_t::i_codec, es_format_t::i_extra, audio_format_t::i_format, audio_format_t::i_rate, module_need, module_unneed, msg_Err, sout_stream_sys_t::p_audio_cfg, sout_stream_id_t::p_decoder, sout_stream_sys_t::p_decoder, sout_stream_id_t::p_encoder, sout_stream_id_t::p_f_chain, encoder_t::p_module, decoder_t::p_module, sout_stream_t::p_sys, p_sys, sout_stream_id_t::p_uf_chain, sout_stream_sys_t::psz_aenc, sout_stream_sys_t::psz_af, transcode_audio_close(), transcode_audio_filter_allocation_init(), transcode_audio_filter_chain_build(), VLC_CODEC_FL32, VLC_CODEC_MP4A, VLC_EGENERIC, vlc_fourcc_GetCodec(), and VLC_SUCCESS.
Referenced by transcode_audio_add().
| int transcode_audio_process | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | in, | |||
| block_t ** | out | |||
| ) |
References audio_timer_start(), audio_timer_stop(), sout_stream_sys_t::b_master_sync, block_ChainAppend(), block_Release(), date_Get(), date_Increment(), date_Set(), filter_chain_AudioFilter(), block_t::i_dts, sout_stream_sys_t::i_master_drift, block_t::i_nb_samples, block_t::i_pts, sout_stream_id_t::interpolated_pts, MASTER_SYNC_MAX_DRIFT, msg_Dbg, sout_stream_id_t::p_decoder, sout_stream_id_t::p_encoder, sout_stream_id_t::p_f_chain, sout_stream_t::p_sout, sout_stream_t::p_sys, p_sys, sout_stream_id_t::p_uf_chain, decoder_t::pf_decode_audio, SOUT_STATISTIC_DECODED_AUDIO, sout_UpdateStatistic(), and VLC_SUCCESS.
Referenced by Send().
const int pi_channels_maps[6] [static] |
Initial value:
{
0,
0x1 , 0x2 | 0x4 ,
0x1 | 0x2 | 0x4 ,
0x2 | 0x4 | 0x20
| 0x40 ,
0x2 | 0x4 | 0x1
| 0x20 | 0x40
}
1.5.6