Home
last modified time | relevance | path

Searched refs:FRAMESAMPLES_10ms (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c29 #define FRAMESAMPLES_10ms 160 macro
105 int16_t shortdata[FRAMESAMPLES_10ms]; in main()
400 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms); in main()
402 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms / 2)); in main()
434 cur_framesmpls += FRAMESAMPLES_10ms; in main()
Dkenny.cc26 #define FRAMESAMPLES_10ms 160 /* number of samples per 10ms frame */ macro
116 int16_t shortdata[FRAMESAMPLES_10ms]; in main()
550 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms); in main()
552 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms/2)); in main()
631 cur_framesmpls += FRAMESAMPLES_10ms; in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dsettings.h50 #define FRAMESAMPLES_10ms ((10*FS)/1000) macro
51 #define SWBFRAMESAMPLES_10ms (FRAMESAMPLES_10ms * 2)
Dencode.c229 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_EncodeLb()
235 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) { in WebRtcIsac_EncodeLb()
236 ISACencLB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeLb()
677 FRAMESAMPLES_10ms * sizeof(float)); in WebRtcIsac_EncodeUb16()
681 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { in WebRtcIsac_EncodeUb16()
682 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeUb16()
871 FRAMESAMPLES_10ms * sizeof(float)); in WebRtcIsac_EncodeUb12()
875 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { in WebRtcIsac_EncodeUb12()
876 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeUb12()
Disac.c197 (FRAMESAMPLES_10ms << 1)) && in GetSendBandwidthInfo()
503 float inFrame[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
504 int16_t speechInLB[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
505 int16_t speechInUB[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
532 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
536 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
565 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
1285 FRAMESAMPLES_10ms, &decoded[(speechIdx << 1)], in Decode()
1289 speechIdx += FRAMESAMPLES_10ms; in Decode()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c467 int16_t speechInWB[FRAMESAMPLES_10ms]; in WebRtcIsacfix_EncodeNb()
468 int16_t Vector_Word16_1[FRAMESAMPLES_10ms/2]; in WebRtcIsacfix_EncodeNb()
469 int16_t Vector_Word16_2[FRAMESAMPLES_10ms/2]; in WebRtcIsacfix_EncodeNb()
488 for (k=0;k<FRAMESAMPLES_10ms/2;k++) { in WebRtcIsacfix_EncodeNb()
492 …16_1, Vector_Word16_2, speechInWB, &ISAC_inst->ISACenc_obj.interpolatorstr_obj, FRAMESAMPLES_10ms); in WebRtcIsacfix_EncodeNb()
Dsettings.h42 #define FRAMESAMPLES_10ms 160 /* ((10*FS)/1000) */ macro
Dencode.c81 for(k=0; k<FRAMESAMPLES_10ms; k++) { in WebRtcIsacfix_EncodeImpl()
86 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) { in WebRtcIsacfix_EncodeImpl()
87 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms; in WebRtcIsacfix_EncodeImpl()
Dbandwidth_estimator.c376 if (arrTimeDiff < frameSizeSampl - FRAMESAMPLES_10ms) { in WebRtcIsacfix_UpdateUplinkBwImpl()
377 arrTimeDiff = frameSizeSampl - FRAMESAMPLES_10ms; in WebRtcIsacfix_UpdateUplinkBwImpl()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc31 #define FRAMESAMPLES_10ms 160 /* number of samples per 10ms frame */ macro
395 samplesIn10Ms = FRAMESAMPLES_10ms; in main()