Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dsettings.h50 #define FRAMESAMPLES_10ms ((10*FS)/1000) macro
51 #define SWBFRAMESAMPLES_10ms (FRAMESAMPLES_10ms * 2)
Dencode.c228 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_EncodeLb()
234 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) { in WebRtcIsac_EncodeLb()
235 ISACencLB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeLb()
674 FRAMESAMPLES_10ms * sizeof(float)); in WebRtcIsac_EncodeUb16()
678 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { in WebRtcIsac_EncodeUb16()
679 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeUb16()
866 FRAMESAMPLES_10ms * sizeof(float)); in WebRtcIsac_EncodeUb12()
870 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { in WebRtcIsac_EncodeUb12()
871 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeUb12()
Disac.c196 (FRAMESAMPLES_10ms << 1)) && in GetSendBandwidthInfo()
492 float inFrame[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
493 WebRtc_Word16 speechInLB[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
494 WebRtc_Word16 speechInUB[FRAMESAMPLES_10ms]; in WebRtcIsac_Encode()
522 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
526 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
554 for (k = 0; k < FRAMESAMPLES_10ms; k++) { in WebRtcIsac_Encode()
1276 speechIdx += FRAMESAMPLES_10ms; in Decode()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c29 #define FRAMESAMPLES_10ms 160 macro
115 WebRtc_Word16 shortdata[FRAMESAMPLES_10ms]; in main()
435 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms); in main()
437 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms/2)); in main()
464 cur_framesmpls += FRAMESAMPLES_10ms; in main()
Dkenny.c25 #define FRAMESAMPLES_10ms 160 /* number of samples per 10ms frame */ macro
111 WebRtc_Word16 shortdata[FRAMESAMPLES_10ms]; in main()
560 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms); in main()
562 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms/2)); in main()
637 cur_framesmpls += FRAMESAMPLES_10ms; in main()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c386 WebRtc_Word16 speechInWB[FRAMESAMPLES_10ms]; in WebRtcIsacfix_EncodeNb()
387 WebRtc_Word16 Vector_Word16_1[FRAMESAMPLES_10ms/2]; in WebRtcIsacfix_EncodeNb()
388 WebRtc_Word16 Vector_Word16_2[FRAMESAMPLES_10ms/2]; in WebRtcIsacfix_EncodeNb()
407 for (k=0;k<FRAMESAMPLES_10ms/2;k++) { in WebRtcIsacfix_EncodeNb()
411 …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.c78 for(k=0; k<FRAMESAMPLES_10ms; k++) { in WebRtcIsacfix_EncodeImpl()
83 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) { in WebRtcIsacfix_EncodeImpl()
84 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms; in WebRtcIsacfix_EncodeImpl()
Dbandwidth_estimator.c371 if (arrTimeDiff < frameSizeSampl - FRAMESAMPLES_10ms) { in WebRtcIsacfix_UpdateUplinkBwImpl()
372 arrTimeDiff = frameSizeSampl - FRAMESAMPLES_10ms; in WebRtcIsacfix_UpdateUplinkBwImpl()