Home
last modified time | relevance | path

Searched refs:FRAMESAMPLES_HALF (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dtransform.c17 static double costab1[FRAMESAMPLES_HALF];
18 static double sintab1[FRAMESAMPLES_HALF];
27 fact = PI / (FRAMESAMPLES_HALF); in WebRtcIsac_InitTransform()
29 for (k = 0; k < FRAMESAMPLES_HALF; k++) { in WebRtcIsac_InitTransform()
35 fact = PI * ((double) (FRAMESAMPLES_HALF - 1)) / ((double) FRAMESAMPLES_HALF); in WebRtcIsac_InitTransform()
55 double tmpre[FRAMESAMPLES_HALF], tmpim[FRAMESAMPLES_HALF]; in WebRtcIsac_Time2Spec()
58 dims[0] = FRAMESAMPLES_HALF; in WebRtcIsac_Time2Spec()
62 fact = 0.5 / sqrt(FRAMESAMPLES_HALF); in WebRtcIsac_Time2Spec()
63 for (k = 0; k < FRAMESAMPLES_HALF; k++) { in WebRtcIsac_Time2Spec()
76 xr = tmpre[k] + tmpre[FRAMESAMPLES_HALF - 1 - k]; in WebRtcIsac_Time2Spec()
[all …]
Ddecode.c45 float LP_dec_float[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
46 float HP_dec_float[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
48 double LPw[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
49 double HPw[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
50 double LPw_pf[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
55 double real_f[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
56 double imag_f[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeLb()
146 for (k = 0; k < FRAMESAMPLES_HALF; k++) { in WebRtcIsac_DecodeLb()
152 for (k = 0; k < FRAMESAMPLES_HALF; k++) { in WebRtcIsac_DecodeLb()
188 double halfFrameFirst[FRAMESAMPLES_HALF]; in WebRtcIsac_DecodeUb16()
[all …]
Dfilterbanks.c127 for (k=0;k<FRAMESAMPLES_HALF;k++) { in WebRtcIsac_SplitAndFilterFloat()
133FRAMESAMPLES_HALF, NUMBEROFCOMPOSITEAPSECTIONS, CompositeAPFilterState); in WebRtcIsac_SplitAndFilterFloat()
137 for (k=0;k<FRAMESAMPLES_HALF;k++) { in WebRtcIsac_SplitAndFilterFloat()
138 tempin_ch1[FRAMESAMPLES_HALF+QLOOKAHEAD-1-k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
169 for (k=0;k<FRAMESAMPLES_HALF;k++) { in WebRtcIsac_SplitAndFilterFloat()
174FRAMESAMPLES_HALF, NUMBEROFCOMPOSITEAPSECTIONS, CompositeAPFilterState); in WebRtcIsac_SplitAndFilterFloat()
176 for (k=0;k<FRAMESAMPLES_HALF;k++) { in WebRtcIsac_SplitAndFilterFloat()
177 tempin_ch2[FRAMESAMPLES_HALF+QLOOKAHEAD-1-k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
218FRAMESAMPLES_HALF, NUMBEROFCHANNELAPSECTIONS, prefiltdata->INSTAT1_float); in WebRtcIsac_SplitAndFilterFloat()
220FRAMESAMPLES_HALF, NUMBEROFCHANNELAPSECTIONS, prefiltdata->INSTAT2_float); in WebRtcIsac_SplitAndFilterFloat()
[all …]
Dencode.c190 float LP[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
191 float HP[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
193 double LP_lookahead[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
194 double HP_lookahead[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
195 double LP_lookahead_pf[FRAMESAMPLES_HALF + QLOOKAHEAD]; in WebRtcIsac_EncodeLb()
196 double LPw[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
198 double HPw[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
199 double LPw_pf[FRAMESAMPLES_HALF]; in WebRtcIsac_EncodeLb()
200 WebRtc_Word16 fre[FRAMESAMPLES_HALF]; /* Q7 */ in WebRtcIsac_EncodeLb()
201 WebRtc_Word16 fim[FRAMESAMPLES_HALF]; /* Q7 */ in WebRtcIsac_EncodeLb()
[all …]
Dsettings.h40 #define FRAMESAMPLES_HALF 240 macro
112 #define PITCH_FRAME_LEN (FRAMESAMPLES_HALF) /* 30 ms */
Dstructs.h305 WebRtc_Word16 realFFT[FRAMESAMPLES_HALF];
306 WebRtc_Word16 imagFFT[FRAMESAMPLES_HALF];
Dlpc_analysis.c128 for ( ; k < (FRAMESAMPLES_HALF + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
180 for ( ; k < (FRAMESAMPLES_HALF) / 2; k++) { in WebRtcIsac_GetVarsUB()
418 WebRtcIsac_GetVarsUB(&inSignal[FRAMESAMPLES_HALF], in WebRtcIsac_GetLpcCoefUb()
Dentropy_coding.c296 num_dft_coeff = FRAMESAMPLES_HALF; in WebRtcIsac_DecodeSpec()
362 for (k = 0, i = 0; k < FRAMESAMPLES_HALF; k += 4) { in WebRtcIsac_DecodeSpec()
384 fr[(FRAMESAMPLES_HALF) - 1 - i] = (double)data[k + 2] / 128.0; in WebRtcIsac_DecodeSpec()
385 fi[(FRAMESAMPLES_HALF) - 1 - i] = (double)data[k + 3] / 128.0; in WebRtcIsac_DecodeSpec()
427 num_dft_coeff = FRAMESAMPLES_HALF; in WebRtcIsac_EncodeSpec()
456 for (k = 0, j = 0; k < FRAMESAMPLES_HALF; k += 4) { in WebRtcIsac_EncodeSpec()
489 val = ((fr[(FRAMESAMPLES_HALF) - 1 - j] + ditherQ7[k + 2] + 64) & in WebRtcIsac_EncodeSpec()
494 val = ((fi[(FRAMESAMPLES_HALF) - 1 - j] + ditherQ7[k + 3] + 64) & in WebRtcIsac_EncodeSpec()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c248 WebRtc_Word16 Vector_Word16_Extended_1[FRAMESAMPLES_HALF + NOISE_FILTER_LEN]; in WebRtcIsacfix_DecodePlcImpl()
250 WebRtc_Word16 Vector_Word16_Extended_2[FRAMESAMPLES_HALF + NOISE_FILTER_LEN]; in WebRtcIsacfix_DecodePlcImpl()
252 WebRtc_Word32 Vector_Word32_1[FRAMESAMPLES_HALF]; in WebRtcIsacfix_DecodePlcImpl()
253 WebRtc_Word32 Vector_Word32_2[FRAMESAMPLES_HALF]; in WebRtcIsacfix_DecodePlcImpl()
317 &((ISACdec_obj->plcstr_obj).prevPitchInvIn[FRAMESAMPLES_HALF - lag0]); in WebRtcIsacfix_DecodePlcImpl()
320 if ( (FRAMESAMPLES_HALF - 2*lag0 - 10) > 0 ) in WebRtcIsacfix_DecodePlcImpl()
332 FRAMESAMPLES_HALF - 2*lag0 - 10 + i + k ] ) ) ); in WebRtcIsacfix_DecodePlcImpl()
342 FRAMESAMPLES_HALF - lag0*2 - 10 + minIdx] ); in WebRtcIsacfix_DecodePlcImpl()
352 &(ISACdec_obj->plcstr_obj).prevPitchInvIn[FRAMESAMPLES_HALF - lag0], in WebRtcIsacfix_DecodePlcImpl()
471 for( i = 0; i < FRAMESAMPLES_HALF; i++ ) in WebRtcIsacfix_DecodePlcImpl()
[all …]
Dencode.c238 for (k = 0; k < FRAMESAMPLES_HALF; k++) { in WebRtcIsacfix_EncodeImpl()
239 …(ISACenc_obj->SaveEnc_ptr)->fre[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LP16… in WebRtcIsacfix_EncodeImpl()
240 …(ISACenc_obj->SaveEnc_ptr)->fim[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LPan… in WebRtcIsacfix_EncodeImpl()
349 for(k = 0; k < FRAMESAMPLES_HALF; k++) in WebRtcIsacfix_EncodeImpl()
358 for(k = 0; k < FRAMESAMPLES_HALF; k++) in WebRtcIsacfix_EncodeImpl()
360 …(ISACenc_obj->SaveEnc_ptr)->fre[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LP16… in WebRtcIsacfix_EncodeImpl()
361 …(ISACenc_obj->SaveEnc_ptr)->fim[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LPan… in WebRtcIsacfix_EncodeImpl()
544 for (ii = 0; ii < (FRAMESAMPLES_HALF*(1+SaveEnc_str->startIdx)); ii++) { in WebRtcIsacfix_EncodeStoredData()
553 for (ii = 0; ii < (FRAMESAMPLES_HALF*(1+SaveEnc_str->startIdx)); ii++) { in WebRtcIsacfix_EncodeStoredData()
615 … status = WebRtcIsacfix_EncodeSpec(&tmp_fre[ii*FRAMESAMPLES_HALF], &tmp_fim[ii*FRAMESAMPLES_HALF], in WebRtcIsacfix_EncodeStoredData()
Dsettings.h38 #define FRAMESAMPLES_HALF 240 macro