Searched refs:m4ac (Results 1 – 8 of 8) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | aacdec_template.c | 142 … (*channels >= MAX_CHANNELS - (type == TYPE_CPE || (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1))) { in che_configure() 148 (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1)) { in che_configure() 579 if (ac->oc[1].m4ac.ps == 1 && channels == 2) { in output_configure() 673 if (!ac->oc[1].m4ac.chan_config) { in get_che() 678 ac->oc[1].m4ac.chan_config == 1) { in get_che() 692 ac->oc[1].m4ac.chan_config = 2; in get_che() 693 ac->oc[1].m4ac.ps = 0; in get_che() 697 ac->oc[1].m4ac.chan_config == 2) { in get_che() 713 if (ac->oc[1].m4ac.sbr) in get_che() 714 ac->oc[1].m4ac.ps = -1; in get_che() [all …]
|
D | aacdec.c | 223 if (ac->oc[1].m4ac.object_type == AOT_AAC_LTP) { in apply_dependent_coupling() 257 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling() 288 MPEG4AudioConfig m4ac = { 0 }; in latm_decode_audio_specific_config() local 308 bits_consumed = decode_audio_specific_config_gb(NULL, avctx, &m4ac, in latm_decode_audio_specific_config() 320 ac->oc[1].m4ac.sample_rate != m4ac.sample_rate || in latm_decode_audio_specific_config() 321 ac->oc[1].m4ac.chan_config != m4ac.chan_config) { in latm_decode_audio_specific_config() 324 …INFO, "audio config changed (sample_rate=%d, chan_config=%d)\n", m4ac.sample_rate, m4ac.chan_confi… in latm_decode_audio_specific_config() 512 &latmctx->aac_ctx, avctx, &latmctx->aac_ctx.oc[1].m4ac, in latm_decode_frame() 528 switch (latmctx->aac_ctx.oc[1].m4ac.object_type) { in latm_decode_frame()
|
D | aacdec_fixed.c | 365 if (ac->oc[1].m4ac.object_type == AOT_AAC_LTP) { in apply_dependent_coupling_fixed() 428 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling_fixed()
|
D | aacsbr_template.c | 951 if (!ac->oc[1].m4ac.ps) { 1122 …sbr->sample_rate = 2 * ac->oc[1].m4ac.sample_rate; //TODO use the nominal sample rate for arbitrar… 1123 if (!ac->oc[1].m4ac.ext_sample_rate) 1124 ac->oc[1].m4ac.ext_sample_rate = 2 * ac->oc[1].m4ac.sample_rate; 1478 int downsampled = ac->oc[1].m4ac.ext_sample_rate < sbr->sample_rate; 1546 if (ac->oc[1].m4ac.ps == 1) {
|
D | aac.h | 126 MPEG4AudioConfig m4ac; member
|
D | alsdec.c | 298 MPEG4AudioConfig m4ac = {0}; in read_specific_config() local 307 config_offset = avpriv_mpeg4audio_get_config2(&m4ac, avctx->extradata, in read_specific_config() 320 avctx->sample_rate = m4ac.sample_rate; in read_specific_config() 324 if (avctx->ch_layout.nb_channels != m4ac.channels) { in read_specific_config() 327 avctx->ch_layout.nb_channels = m4ac.channels; in read_specific_config()
|
/third_party/ffmpeg/libavformat/ |
D | latmenc.c | 62 MPEG4AudioConfig m4ac; in latm_decode_extradata() local 68 ctx->off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s); in latm_decode_extradata() 79 if (m4ac.object_type > AOT_SBR && m4ac.object_type != AOT_ALS) { in latm_decode_extradata() 80 … av_log(s, AV_LOG_ERROR, "Muxing MPEG-4 AOT %d in LATM is not supported\n", m4ac.object_type); in latm_decode_extradata() 83 ctx->channel_conf = m4ac.chan_config; in latm_decode_extradata() 84 ctx->object_type = m4ac.object_type; in latm_decode_extradata()
|
D | adtsenc.c | 55 MPEG4AudioConfig m4ac; in adts_decode_extradata() local 61 off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s); in adts_decode_extradata() 65 adts->objecttype = m4ac.object_type - 1; in adts_decode_extradata() 66 adts->sample_rate_index = m4ac.sampling_index; in adts_decode_extradata() 67 adts->channel_conf = m4ac.chan_config; in adts_decode_extradata()
|