Searched refs:in_near (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | analog_agc.c | 284 int WebRtcAgc_VirtualMic(void *agcInst, int16_t* const* in_near, in WebRtcAgc_VirtualMic() argument 313 frameNrg = (uint32_t)(in_near[0][0] * in_near[0][0]); in WebRtcAgc_VirtualMic() 321 nrg = (uint32_t)(in_near[0][sampleCntr] * in_near[0][sampleCntr]); in WebRtcAgc_VirtualMic() 327 ((in_near[0][sampleCntr] ^ in_near[0][sampleCntr - 1]) < 0); in WebRtcAgc_VirtualMic() 374 tmpFlt = (in_near[0][ii] * gain) >> 10; in WebRtcAgc_VirtualMic() 399 in_near[0][ii] = (int16_t)tmpFlt; in WebRtcAgc_VirtualMic() 402 tmpFlt = (in_near[j][ii] * gain) >> 10; in WebRtcAgc_VirtualMic() 411 in_near[j][ii] = (int16_t)tmpFlt; in WebRtcAgc_VirtualMic() 419 if (WebRtcAgc_AddMic(agcInst, in_near, num_bands, samples) != 0) in WebRtcAgc_VirtualMic() 1136 int WebRtcAgc_Process(void *agcInst, const int16_t* const* in_near, in WebRtcAgc_Process() argument [all …]
|
D | digital_agc.c | 295 const int16_t* const* in_near, in WebRtcAgc_ProcessDigital() argument 333 if (in_near[i] != out[i]) in WebRtcAgc_ProcessDigital() 336 memcpy(out[i], in_near[i], 10 * L * sizeof(in_near[i][0])); in WebRtcAgc_ProcessDigital()
|