Home
last modified time | relevance | path

Searched refs:targetIdx (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/modules/audio_processing/agc/
Danalog_agc.c549 stt->targetIdxOffset = WEBRTC_SPL_RSHIFT_W16((3 * zeros) - stt->targetIdx - 2, 2); in WebRtcAgc_UpdateAgcThresholds()
573 stt->targetIdx = ANALOG_TARGET_LEVEL + OFFSET_ENV_TO_RMS; in WebRtcAgc_UpdateAgcThresholds()
575 stt->targetIdx += stt->targetIdxOffset; in WebRtcAgc_UpdateAgcThresholds()
579 stt->analogTargetLevel = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx]; /* ex. -20 dBov */ in WebRtcAgc_UpdateAgcThresholds()
580 stt->startUpperLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx - 1];/* -19 dBov */ in WebRtcAgc_UpdateAgcThresholds()
581 stt->startLowerLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx + 1];/* -21 dBov */ in WebRtcAgc_UpdateAgcThresholds()
582 stt->upperPrimaryLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx - 2];/* -18 dBov */ in WebRtcAgc_UpdateAgcThresholds()
583 stt->lowerPrimaryLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx + 2];/* -22 dBov */ in WebRtcAgc_UpdateAgcThresholds()
584 stt->upperSecondaryLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx - 5];/* -15 dBov */ in WebRtcAgc_UpdateAgcThresholds()
585 stt->lowerSecondaryLimit = RXX_BUFFER_LEN * kTargetLevelTable[stt->targetIdx + 5];/* -25 dBov */ in WebRtcAgc_UpdateAgcThresholds()
[all …]
Danalog_agc.h70 WebRtc_UWord16 targetIdx; // Table index for corresponding target level member