Home
last modified time | relevance | path

Searched refs:API_fs_Hz (Results 1 – 4 of 4) sorted by relevance

/external/libopus/silk/
Dcontrol_audio_bandwidth.c48 fs_Hz = silk_min( psEncC->desiredInternal_fs_Hz, psEncC->API_fs_Hz ); in silk_control_audio_bandwidth()
50 …} else if( fs_Hz > psEncC->API_fs_Hz || fs_Hz > psEncC->maxInternal_fs_Hz || fs_Hz < psEncC->minIn… in silk_control_audio_bandwidth()
52 fs_Hz = psEncC->API_fs_Hz; in silk_control_audio_bandwidth()
Dcontrol_codec.c78 psEnc->sCmn.API_fs_Hz = encControl->API_sampleRate; in silk_control_encoder()
89 if( psEnc->sCmn.API_fs_Hz != psEnc->sCmn.prev_API_fs_Hz && psEnc->sCmn.fs_kHz > 0 ) { in silk_control_encoder()
143 if( psEnc->sCmn.fs_kHz != fs_kHz || psEnc->sCmn.prev_API_fs_Hz != psEnc->sCmn.API_fs_Hz ) in silk_setup_resamplers()
147 …ret += silk_resampler_init( &psEnc->sCmn.resampler_state, psEnc->sCmn.API_fs_Hz, fs_kHz * 1000, 1 … in silk_setup_resamplers()
173 …er_init( temp_resampler_state, silk_SMULBB( psEnc->sCmn.fs_kHz, 1000 ), psEnc->sCmn.API_fs_Hz, 0 ); in silk_setup_resamplers()
176 api_buf_samples = buf_length_ms * silk_DIV32_16( psEnc->sCmn.API_fs_Hz, 1000 ); in silk_setup_resamplers()
183 …ret += silk_resampler_init( &psEnc->sCmn.resampler_state, psEnc->sCmn.API_fs_Hz, silk_SMULBB( fs_k… in silk_setup_resamplers()
194 psEnc->sCmn.prev_API_fs_Hz = psEnc->sCmn.API_fs_Hz; in silk_setup_resamplers()
Denc_API.c116 encStatus->API_sampleRate = state_Fxx[ 0 ].sCmn.API_fs_Hz; in silk_QueryEncoder()
259 psEnc->state_Fxx[ 0 ].sCmn.API_fs_Hz, in silk_Encode()
265 …nSamplesFromInput = silk_DIV32_16( nSamplesToBuffer * psEnc->state_Fxx[ 0 ].sCmn.API_fs_Hz, psEnc-… in silk_Encode()
Dstructs.h147 …opus_int32 API_fs_Hz; /* API sampling frequency (Hz) … member