Home
last modified time | relevance | path

Searched refs:prog_config (Results 1 – 15 of 15) sorted by relevance

/external/opencore/codecs_v2/audio/aac/dec/src/
Dpvmp4setaudioconfig.cpp206 pVars->prog_config.sampling_rate_idx = 0; in PVMP4SetAudioConfig()
209 pVars->prog_config.sampling_rate_idx = 1; in PVMP4SetAudioConfig()
212 pVars->prog_config.sampling_rate_idx = 2; in PVMP4SetAudioConfig()
215 pVars->prog_config.sampling_rate_idx = 3; in PVMP4SetAudioConfig()
218 pVars->prog_config.sampling_rate_idx = 4; in PVMP4SetAudioConfig()
221 pVars->prog_config.sampling_rate_idx = 5; in PVMP4SetAudioConfig()
224 pVars->prog_config.sampling_rate_idx = 6; in PVMP4SetAudioConfig()
227 pVars->prog_config.sampling_rate_idx = 7; in PVMP4SetAudioConfig()
230 pVars->prog_config.sampling_rate_idx = 8; in PVMP4SetAudioConfig()
233 pVars->prog_config.sampling_rate_idx = 9; in PVMP4SetAudioConfig()
[all …]
Dget_adts_header.cpp410 pVars->prog_config.CRC_absent = ((UInt)(adts_header >> 12)) & 0x0001; in get_adts_header()
428 pVars->prog_config.profile = (lower_16 >> 10) & 0x3; in get_adts_header()
430 if (pVars->prog_config.profile == MP4AUDIO_AAC_SSR) in get_adts_header()
439 pVars->prog_config.sampling_rate_idx = (lower_16 >> 6) & 0xF; in get_adts_header()
496 pVars->prog_config.front.ele_is_cpe[0] = channel_configuration; in get_adts_header()
499 pVars->prog_config.front.num_ele = 1; in get_adts_header()
502 pVars->prog_config.front.ele_tag[0] = 0; in get_adts_header()
505 pVars->prog_config.mono_mix.present = 0; in get_adts_header()
506 pVars->prog_config.stereo_mix.present = 0; in get_adts_header()
507 pVars->prog_config.matrix_mix.present = 0; in get_adts_header()
[all …]
Dget_audio_specific_config.cpp345 pVars->prog_config.sampling_rate_idx = temp & 0xf; in get_audio_specific_config()
347 if (pVars->prog_config.sampling_rate_idx > 0xb) in get_audio_specific_config()
353 if (pVars->prog_config.sampling_rate_idx == 0xf) /* escape sequence */ in get_audio_specific_config()
466 … samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate ? 2 : 1; in get_audio_specific_config()
468 … if ((Int)extensionSamplingFrequencyIndex == pVars->prog_config.sampling_rate_idx) in get_audio_specific_config()
473 if (pVars->prog_config.sampling_rate_idx < 6) in get_audio_specific_config()
480 pVars->prog_config.sampling_rate_idx = extensionSamplingFrequencyIndex; in get_audio_specific_config()
534 if ((pVars->prog_config.sampling_rate_idx >= 6) && (pVars->aacPlusEnabled == true) && in get_audio_specific_config()
538 pVars->prog_config.sampling_rate_idx -= 3; in get_audio_specific_config()
557 … samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate ? 2 : 1; in get_audio_specific_config()
[all …]
Dget_ga_specific_config.cpp370 pVars->prog_config.front.ele_is_cpe[0] = 0; /* default to mono */ in get_GA_specific_config()
372 pVars->prog_config.front.ele_tag[0] = 0; in get_GA_specific_config()
384 pVars->prog_config.front.ele_is_cpe[0] = channel_config; in get_GA_specific_config()
385 pVars->prog_config.front.ele_tag[0] = 0; in get_GA_specific_config()
391 pVars->prog_config.sampling_rate_idx, in get_GA_specific_config()
392 pVars->prog_config.front.ele_tag[0], in get_GA_specific_config()
393 pVars->prog_config.front.ele_is_cpe[0], in get_GA_specific_config()
Dget_prog_config.cpp497 if (!pVars->adif_test && pScratchPCE->sampling_rate_idx != pVars->prog_config.sampling_rate_idx) in get_prog_config()
720 &pVars->prog_config, in get_prog_config()
728 (tMP4AudioObjectType)(pVars->prog_config.profile + 1), in get_prog_config()
729 pVars->prog_config.sampling_rate_idx, in get_prog_config()
730 pVars->prog_config.front.ele_tag[0], in get_prog_config()
731 pVars->prog_config.front.ele_is_cpe[0], in get_prog_config()
Dpvmp4audiodecoderframe.cpp597 pVars->prog_config.file_is_adts = FALSE; in PVMP4AudioDecodeFrame()
601 pVars->prog_config.file_is_adts = TRUE; in PVMP4AudioDecodeFrame()
604 else if ((pVars->bno == 1) && (pVars->prog_config.file_is_adts == FALSE)) in PVMP4AudioDecodeFrame()
639 if (pVars->prog_config.file_is_adts == TRUE) in PVMP4AudioDecodeFrame()
646 if (pVars->prog_config.headerless_frames) in PVMP4AudioDecodeFrame()
648 pVars->prog_config.headerless_frames--; /* raw data block counter */ in PVMP4AudioDecodeFrame()
1423 if (pVars->prog_config.file_is_adts == TRUE) in PVMP4AudioDecodeFrame()
1426 pVars->prog_config.headerless_frames = 0; /* synchronization forced */ in PVMP4AudioDecodeFrame()
Dget_adif_header.cpp423 if ((pVars->prog_config.sampling_rate_idx >= 6) && (pVars->aacPlusEnabled == true) && in get_adif_header()
427 pVars->prog_config.sampling_rate_idx -= 3; in get_adif_header()
Dpvmp4audiodecoderinitlibrary.cpp406 pVars->prog_config.sampling_rate_idx += 3; in PVMP4AudioDecoderDisableAacPlus()
411 pExt->samplingRate = samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate; in PVMP4AudioDecoderDisableAacPlus()
Ds_tdec_int_file.h158 ProgConfig prog_config; member
Dpvmp4audiodecoderconfig.cpp236 samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate; in PVMP4AudioDecoderConfig()
/external/opencore/codecs_v2/audio/aac/dec/util/getactualaacconfig/src/
Dget_audio_specific_config.cpp345 pVars->prog_config.sampling_rate_idx = temp & 0xf; in get_audio_specific_config()
347 if (pVars->prog_config.sampling_rate_idx > 0xb) in get_audio_specific_config()
353 if (pVars->prog_config.sampling_rate_idx == 0xf) /* escape sequence */ in get_audio_specific_config()
466 … samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate ? 2 : 1; in get_audio_specific_config()
468 … if ((Int)extensionSamplingFrequencyIndex == pVars->prog_config.sampling_rate_idx) in get_audio_specific_config()
473 if (pVars->prog_config.sampling_rate_idx < 6) in get_audio_specific_config()
480 pVars->prog_config.sampling_rate_idx = extensionSamplingFrequencyIndex; in get_audio_specific_config()
534 if ((pVars->prog_config.sampling_rate_idx >= 6) && (pVars->aacPlusEnabled == true) && in get_audio_specific_config()
538 pVars->prog_config.sampling_rate_idx -= 3; in get_audio_specific_config()
557 … samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate ? 2 : 1; in get_audio_specific_config()
[all …]
Dget_ga_specific_config.cpp370 pVars->prog_config.front.ele_is_cpe[0] = 0; /* default to mono */ in get_GA_specific_config()
372 pVars->prog_config.front.ele_tag[0] = 0; in get_GA_specific_config()
384 pVars->prog_config.front.ele_is_cpe[0] = channel_config; in get_GA_specific_config()
385 pVars->prog_config.front.ele_tag[0] = 0; in get_GA_specific_config()
391 pVars->prog_config.sampling_rate_idx, in get_GA_specific_config()
392 pVars->prog_config.front.ele_tag[0], in get_GA_specific_config()
393 pVars->prog_config.front.ele_is_cpe[0], in get_GA_specific_config()
Dget_prog_config.cpp497 if (!pVars->adif_test && pScratchPCE->sampling_rate_idx != pVars->prog_config.sampling_rate_idx) in get_prog_config()
720 &pVars->prog_config, in get_prog_config()
728 (tMP4AudioObjectType)(pVars->prog_config.profile + 1), in get_prog_config()
729 pVars->prog_config.sampling_rate_idx, in get_prog_config()
730 pVars->prog_config.front.ele_tag[0], in get_prog_config()
731 pVars->prog_config.front.ele_is_cpe[0], in get_prog_config()
Dpvmp4audiodecoderinitlibrary.cpp406 pVars->prog_config.sampling_rate_idx += 3; in PVMP4AudioDecoderDisableAacPlus()
411 pExt->samplingRate = samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate; in PVMP4AudioDecoderDisableAacPlus()
Dgetactualaacconfig.cpp271 *SamplingRateIndex = pVars->prog_config.sampling_rate_idx; in OSCL_DLL_ENTRY_POINT_DEFAULT()