Searched refs:FRAMESAMPLES (Results 1 - 18 of 18) sorted by relevance
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | filterbanks.c | 126 WebRtc_Word16 tempin_ch1[FRAMESAMPLES/2 + QLOOKAHEAD]; 127 WebRtc_Word16 tempin_ch2[FRAMESAMPLES/2 + QLOOKAHEAD]; 132 WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata->HPstates_fix); 136 for (k=0;k<FRAMESAMPLES/2;k++) { 141 prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_16_16(2, k)]; 146 for (k=0;k<FRAMESAMPLES/2;k++) { 151 prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_16_16(2, k)]; 158 AllpassFilter2FixDec16(tempin_ch1,WebRtcIsacfix_kUpperApFactorsQ15, FRAMESAMPLES/2 , NUMBEROFCHANNELAPSECTIONS, prefiltdata->INSTAT1_fix); 159 AllpassFilter2FixDec16(tempin_ch2,WebRtcIsacfix_kLowerApFactorsQ15, FRAMESAMPLES/2 , NUMBEROFCHANNELAPSECTIONS, prefiltdata->INSTAT2_fix); 163 AllpassFilter2FixDec16(tempin_ch1 + FRAMESAMPLES/ [all...] |
H A D | transform.c | 24 static const WebRtc_Word16 kCosTab1[FRAMESAMPLES/2] = { 53 static const WebRtc_Word16 kSinTab1[FRAMESAMPLES/2] = { 82 static const WebRtc_Word16 kCosTab2[FRAMESAMPLES/4] = { 99 static const WebRtc_Word16 kSinTab2[FRAMESAMPLES/4] = { 123 WebRtc_Word32 tmpreQ16[FRAMESAMPLES/2], tmpimQ16[FRAMESAMPLES/2]; 131 for (k = 0; k < FRAMESAMPLES/2; k++) { 141 xrQ16 = WebRtcSpl_MaxAbsValueW32(tmpreQ16, FRAMESAMPLES/2); 142 yrQ16 = WebRtcSpl_MaxAbsValueW32(tmpimQ16, FRAMESAMPLES/2); 153 for (k=0; k<FRAMESAMPLES/ [all...] |
H A D | decode.c | 42 WebRtc_Word16 Vector_Word16_1[FRAMESAMPLES/2]; 43 WebRtc_Word16 Vector_Word16_2[FRAMESAMPLES/2]; 45 WebRtc_Word32 Vector_Word32_1[FRAMESAMPLES/2]; 46 WebRtc_Word32 Vector_Word32_2[FRAMESAMPLES/2]; 115 for (k=0; k<FRAMESAMPLES/2; k++) { 162 WEBRTC_SPL_MEMCPY_W16( (ISACdec_obj->plcstr_obj).prevPitchInvIn, Vector_Word16_1, FRAMESAMPLES/2 ); 172 WEBRTC_SPL_MEMCPY_W16( (ISACdec_obj->plcstr_obj).prevPitchInvOut, &(Vector_Word16_2[FRAMESAMPLES/2 - (PITCH_MAX_LAG + 10)]), PITCH_MAX_LAG ); 182 for (k = 0; k < FRAMESAMPLES/2; k++) 193 for (k = 0; k < FRAMESAMPLES/2; k++) 197 (ISACdec_obj->plcstr_obj).prevHP[k] = Vector_Word32_1[FRAMESAMPLES/ [all...] |
H A D | entropy_coding.c | 136 WebRtc_Word32 summ[FRAMESAMPLES/8]; 137 WebRtc_Word32 diff[FRAMESAMPLES/8]; 141 for (k = 0; k < FRAMESAMPLES/8; k++) { 142 summ[k] = WEBRTC_SPL_RSHIFT_W32(PSpecQ12[k] + PSpecQ12[FRAMESAMPLES/4-1 - k] + 16, 5); 143 diff[k] = WEBRTC_SPL_RSHIFT_W32(PSpecQ12[k] - PSpecQ12[FRAMESAMPLES/4-1 - k] + 16, 5); 147 for (n = 0; n < FRAMESAMPLES/8; n++) 153 for (n = 0; n < FRAMESAMPLES/8; n++) 160 for (n = 0; n < FRAMESAMPLES/8; n++) 174 WebRtc_Word32 diffQ16[FRAMESAMPLES/8]; 204 for (n = 0; n < FRAMESAMPLES/ [all...] |
H A D | settings.h | 37 #define FRAMESAMPLES 480 /* ((FRAMESIZE*FS)/1000) */ macro 141 #define PITCH_FRAME_LEN 240 /* (FRAMESAMPLES/2) 30 ms */
|
H A D | structs.h | 150 WebRtc_Word16 prevPitchInvIn[FRAMESAMPLES/2]; 151 WebRtc_Word16 prevPitchInvOut[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90 152 WebRtc_Word32 prevHP[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90 160 WebRtc_Word16 *lastPitchLP; // [FRAMESAMPLES/2]; saved 240; 174 WebRtc_Word16 overlapLP[ RECOVERY_OVERLAP ]; // [FRAMESAMPLES/2]; saved 160 181 WebRtc_Word16 *prevPitchLP; // [ FRAMESAMPLES/2 ]; saved 240 294 WebRtc_Word16 fre[FRAMESAMPLES]; 295 WebRtc_Word16 fim[FRAMESAMPLES]; 315 WebRtc_Word16 data_buffer_fix[FRAMESAMPLES]; // the size was MAX_FRAMESAMPLES
|
H A D | isacfix.c | 871 WebRtc_Word16 dummy[FRAMESAMPLES/2]; 909 memset(decoded, 0, sizeof(WebRtc_Word16) * FRAMESAMPLES); 931 if (number_of_samples>FRAMESAMPLES) { 932 WebRtcIsacfix_SplitAndFilter2(decoded + FRAMESAMPLES, decoded + FRAMESAMPLES/2, 967 WebRtc_Word16 outframeNB[FRAMESAMPLES]; 968 WebRtc_Word16 outframeWB[FRAMESAMPLES]; 969 WebRtc_Word16 dummy[FRAMESAMPLES/2];
|
H A D | encode.c | 45 WebRtc_Word16 LPandHP[FRAMESAMPLES/2 + QLOOKAHEAD]; 46 WebRtc_Word16 LP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; 47 WebRtc_Word16 HP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; 501 WebRtc_Word16 tmp_fre[FRAMESAMPLES]; 502 WebRtc_Word16 tmp_fim[FRAMESAMPLES];
|
H A D | initialize.c | 164 WebRtcSpl_ZerosArrayW16(State->prevPitchInvIn, FRAMESAMPLES/2);
|
H A D | lpc_masking_model.c | 381 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES/4 + QLOOKAHEAD) / 2; k++) { 385 for ( ; k < (FRAMESAMPLES/2 + QLOOKAHEAD) / 2; k++) { 389 for ( ; k < (WEBRTC_SPL_MUL_16_16(FRAMESAMPLES, 3)/4 + QLOOKAHEAD) / 2; k++) { 393 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) {
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | filterbanks.c | 53 in: a length FRAMESAMPLES array of input samples 91 float tempinoutvec[FRAMESAMPLES+MAX_AR_MODEL_ORDER]; 92 float tempin_ch1[FRAMESAMPLES+MAX_AR_MODEL_ORDER]; 93 float tempin_ch2[FRAMESAMPLES+MAX_AR_MODEL_ORDER]; 94 float in[FRAMESAMPLES]; 100 for (k=0;k<FRAMESAMPLES;k++) { 128 tempinoutvec[k] = in[FRAMESAMPLES-1-2*k]; 160 prefiltdata->INLABUF1_float[k]=in[FRAMESAMPLES-1-2*k]; 170 tempinoutvec[k] = in[FRAMESAMPLES-2-2*k]; 191 prefiltdata->INLABUF2_float[k]=in[FRAMESAMPLES [all...] |
H A D | entropy_coding.c | 59 WebRtc_Word32 summ[FRAMESAMPLES / 8]; 60 WebRtc_Word32 diff[FRAMESAMPLES / 8]; 65 for (k = 0; k < FRAMESAMPLES / 8; k++) { 71 for (n = 0; n < FRAMESAMPLES / 8; n++) { 79 for (n = 0; n < FRAMESAMPLES / 8; n++) 87 for (n = 0; n < FRAMESAMPLES / 8; n++) 100 WebRtc_Word32 diffQ16[FRAMESAMPLES / 8]; 134 for (n = 0; n < FRAMESAMPLES / 8; n++) { 138 for (n = 0; n < FRAMESAMPLES / 8; n++) { 157 for (n = 0; n < FRAMESAMPLES / [all...] |
H A D | settings.h | 39 #define FRAMESAMPLES 480 /* ((FRAMESIZE*FS)/1000) */ macro
|
H A D | encode.c | 234 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) { 653 double LP_lookahead[FRAMESAMPLES]; 678 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { 700 s2nr = WebRtcIsac_GetSnr(ISACencUB_obj->bottleneck, FRAMESAMPLES); 704 for (k = 0; k < FRAMESAMPLES; k++) { 795 &ISACencUB_obj->data_buffer_float[FRAMESAMPLES], 870 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { 894 s2nr = WebRtcIsac_GetSnr(ISACencUB_obj->bottleneck, FRAMESAMPLES); 1020 WebRtc_Word16 tmp_fre[FRAMESAMPLES], tmp_fim[FRAMESAMPLES]; [all...] |
H A D | lpc_analysis.c | 132 for ( ; k < (FRAMESAMPLES*3/4 + QLOOKAHEAD) / 2; k++) { 136 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { 184 for ( ; k < (FRAMESAMPLES*3/4) / 2; k++) { 188 for ( ; k < (FRAMESAMPLES) / 2; k++) {
|
H A D | structs.h | 287 WebRtc_Word16 fre[FRAMESAMPLES]; 288 WebRtc_Word16 fim[FRAMESAMPLES];
|
H A D | isac.c | 646 if (instLB->ISACencLB_obj.current_framesamples == FRAMESAMPLES) { 829 gain1 = WebRtcIsac_GetSnr(rateUB, FRAMESAMPLES); 832 FRAMESAMPLES); 1157 if (numSamplesLB > FRAMESAMPLES) { 1253 numSamplesUB = FRAMESAMPLES; 2230 instLB->ISACencLB_obj.new_framelength = FRAMESAMPLES;
|
H A D | decode.c | 170 signal_out + frame_nb * FRAMESAMPLES,
|
Completed in 1081 milliseconds