Home
last modified time | relevance | path

Searched refs:m4ac (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacdec_template.c140 … (*channels >= MAX_CHANNELS - (type == TYPE_CPE || (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1))) { in che_configure()
146 (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1)) { in che_configure()
571 if (ac->oc[1].m4ac.ps == 1 && channels == 2) { in output_configure()
659 if (!ac->oc[1].m4ac.chan_config) { in get_che()
664 ac->oc[1].m4ac.chan_config == 1) { in get_che()
678 ac->oc[1].m4ac.chan_config = 2; in get_che()
679 ac->oc[1].m4ac.ps = 0; in get_che()
683 ac->oc[1].m4ac.chan_config == 2) { in get_che()
697 ac->oc[1].m4ac.chan_config = 1; in get_che()
698 if (ac->oc[1].m4ac.sbr) in get_che()
[all …]
Daacdec.c224 if (ac->oc[1].m4ac.object_type == AOT_AAC_LTP) { in apply_dependent_coupling()
258 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling()
289 MPEG4AudioConfig m4ac = { 0 }; in latm_decode_audio_specific_config() local
309 bits_consumed = decode_audio_specific_config_gb(NULL, avctx, &m4ac, in latm_decode_audio_specific_config()
321 ac->oc[1].m4ac.sample_rate != m4ac.sample_rate || in latm_decode_audio_specific_config()
322 ac->oc[1].m4ac.chan_config != m4ac.chan_config) { in latm_decode_audio_specific_config()
325 …INFO, "audio config changed (sample_rate=%d, chan_config=%d)\n", m4ac.sample_rate, m4ac.chan_confi… in latm_decode_audio_specific_config()
513 &latmctx->aac_ctx, avctx, &latmctx->aac_ctx.oc[1].m4ac, in latm_decode_frame()
529 switch (latmctx->aac_ctx.oc[1].m4ac.object_type) { in latm_decode_frame()
Daacdec_fixed.c366 if (ac->oc[1].m4ac.object_type == AOT_AAC_LTP) { in apply_dependent_coupling_fixed()
429 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling_fixed()
Daacsbr_template.c951 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) {
Daac.h125 MPEG4AudioConfig m4ac; member
Dalsdec.c297 MPEG4AudioConfig m4ac = {0}; in read_specific_config() local
306 config_offset = avpriv_mpeg4audio_get_config2(&m4ac, avctx->extradata, in read_specific_config()
319 avctx->sample_rate = m4ac.sample_rate; in read_specific_config()
322 avctx->channels = m4ac.channels; in read_specific_config()
/third_party/ffmpeg/libavformat/
Dlatmenc.c59 MPEG4AudioConfig m4ac; in latm_decode_extradata() local
65 ctx->off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s); in latm_decode_extradata()
76 if (m4ac.object_type > AOT_SBR && m4ac.object_type != AOT_ALS) { in latm_decode_extradata()
77 … av_log(s, AV_LOG_ERROR, "Muxing MPEG-4 AOT %d in LATM is not supported\n", m4ac.object_type); in latm_decode_extradata()
80 ctx->channel_conf = m4ac.chan_config; in latm_decode_extradata()
81 ctx->object_type = m4ac.object_type; in latm_decode_extradata()
Dadtsenc.c53 MPEG4AudioConfig m4ac; in adts_decode_extradata() local
59 off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s); in adts_decode_extradata()
63 adts->objecttype = m4ac.object_type - 1; in adts_decode_extradata()
64 adts->sample_rate_index = m4ac.sampling_index; in adts_decode_extradata()
65 adts->channel_conf = m4ac.chan_config; in adts_decode_extradata()