Home
last modified time | relevance | path

Searched refs:nrOfSamples (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Dwebrtc_cng.c229 size_t nrOfSamples, uint8_t* SIDdata, in WebRtcCng_Encode() argument
259 if (nrOfSamples > WEBRTC_CNG_MAX_OUTSIZE_ORDER) { in WebRtcCng_Encode()
264 for (i = 0; i < nrOfSamples; i++) { in WebRtcCng_Encode()
268 factor = nrOfSamples; in WebRtcCng_Encode()
271 outEnergy = WebRtcSpl_Energy(speechBuf, nrOfSamples, &outShifts); in WebRtcCng_Encode()
287 WebRtcSpl_GetHanningWindow(hanningW, nrOfSamples / 2); in WebRtcCng_Encode()
288 for (i = 0; i < (nrOfSamples / 2); i++) in WebRtcCng_Encode()
289 hanningW[nrOfSamples - i - 1] = hanningW[i]; in WebRtcCng_Encode()
291 WebRtcSpl_ElementwiseVectorMult(speechBuf, hanningW, speechBuf, nrOfSamples, in WebRtcCng_Encode()
294 WebRtcSpl_AutoCorrelation(speechBuf, nrOfSamples, inst->enc_nrOfCoefs, in WebRtcCng_Encode()
[all …]
Dwebrtc_cng.h107 size_t nrOfSamples, uint8_t* SIDdata,
141 size_t nrOfSamples, int16_t new_period);
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c269 size_t nrOfSamples) { in WebRtcAec_GetBufferFarendError() argument
279 if (nrOfSamples != 80 && nrOfSamples != 160) in WebRtcAec_GetBufferFarendError()
288 size_t nrOfSamples) { in WebRtcAec_BufferFarend() argument
290 size_t newNrOfSamples = nrOfSamples; in WebRtcAec_BufferFarend()
296 nrOfSamples); in WebRtcAec_BufferFarend()
306 nrOfSamples, in WebRtcAec_BufferFarend()
342 size_t nrOfSamples, in WebRtcAec_Process() argument
357 if (nrOfSamples != 80 && nrOfSamples != 160) { in WebRtcAec_Process()
375 nrOfSamples, in WebRtcAec_Process()
383 nrOfSamples, in WebRtcAec_Process()
[all …]
Decho_cancellation.h116 size_t nrOfSamples);
135 size_t nrOfSamples);
164 size_t nrOfSamples,
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c198 size_t nrOfSamples) { in WebRtcAecm_GetBufferFarendError() argument
210 if (nrOfSamples != 80 && nrOfSamples != 160) in WebRtcAecm_GetBufferFarendError()
218 size_t nrOfSamples) { in WebRtcAecm_BufferFarend() argument
222 WebRtcAecm_GetBufferFarendError(aecmInst, farend, nrOfSamples); in WebRtcAecm_BufferFarend()
233 WebRtc_WriteBuffer(aecm->farendBuf, farend, nrOfSamples); in WebRtcAecm_BufferFarend()
240 size_t nrOfSamples, int16_t msInSndCardBuf) in WebRtcAecm_Process() argument
272 if (nrOfSamples != 80 && nrOfSamples != 160) in WebRtcAecm_Process()
289 nFrames = nrOfSamples / FRAME_LEN; in WebRtcAecm_Process()
298 memcpy(out, nearendNoisy, sizeof(short) * nrOfSamples); in WebRtcAecm_Process()
302 memcpy(out, nearendClean, sizeof(short) * nrOfSamples); in WebRtcAecm_Process()
Decho_control_mobile.h90 size_t nrOfSamples);
109 size_t nrOfSamples);
140 size_t nrOfSamples,