Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Darith_routines_logist.c82 WebRtc_Word16 *dataQ7, /* input: data vector */ in WebRtcIsac_EncLogisticMulti2() argument
103 cdf_lo = piecewise((*dataQ7 - 64) * *envQ8); in WebRtcIsac_EncLogisticMulti2()
104 cdf_hi = piecewise((*dataQ7 + 64) * *envQ8); in WebRtcIsac_EncLogisticMulti2()
109 if (*dataQ7 > 0) { in WebRtcIsac_EncLogisticMulti2()
110 *dataQ7 -= 128; in WebRtcIsac_EncLogisticMulti2()
112 cdf_lo = piecewise((*dataQ7 - 64) * *envQ8); in WebRtcIsac_EncLogisticMulti2()
114 *dataQ7 += 128; in WebRtcIsac_EncLogisticMulti2()
116 cdf_hi = piecewise((*dataQ7 + 64) * *envQ8); in WebRtcIsac_EncLogisticMulti2()
120 dataQ7++; in WebRtcIsac_EncLogisticMulti2()
172 WebRtc_Word16 *dataQ7, /* output: data vector */ in WebRtcIsac_DecLogisticMulti2() argument
[all …]
Dentropy_coding.c398 WebRtc_Word16 dataQ7[FRAMESAMPLES]; in WebRtcIsac_EncodeSpec() local
436 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
440 dataQ7[k + 1] = val; in WebRtcIsac_EncodeSpec()
444 dataQ7[k + 2] = val; in WebRtcIsac_EncodeSpec()
448 dataQ7[k + 3] = val; in WebRtcIsac_EncodeSpec()
458 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
462 dataQ7[k + 1] = val; in WebRtcIsac_EncodeSpec()
468 dataQ7[k + 2] = val; in WebRtcIsac_EncodeSpec()
472 dataQ7[k + 3] = val; in WebRtcIsac_EncodeSpec()
482 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
[all …]
Darith_routines.h26 WebRtc_Word16 *dataQ7, /* input: data vector */
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Darith_routines_logist.c100 WebRtc_Word16 *dataQ7, in WebRtcIsacfix_EncLogisticMulti2() argument
126 cdfLo = WebRtcIsacfix_Piecewise(WEBRTC_SPL_MUL_16_U16(*dataQ7 - 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
127 cdfHi = WebRtcIsacfix_Piecewise(WEBRTC_SPL_MUL_16_U16(*dataQ7 + 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
132 if (*dataQ7 > 0) { in WebRtcIsacfix_EncLogisticMulti2()
133 *dataQ7 -= 128; in WebRtcIsacfix_EncLogisticMulti2()
136 WEBRTC_SPL_MUL_16_U16(*dataQ7 - 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
138 *dataQ7 += 128; in WebRtcIsacfix_EncLogisticMulti2()
141 WEBRTC_SPL_MUL_16_U16(*dataQ7 + 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
145 dataQ7++; in WebRtcIsacfix_EncLogisticMulti2()
231 WebRtc_Word16 WebRtcIsacfix_DecLogisticMulti2(WebRtc_Word16 *dataQ7, in WebRtcIsacfix_DecLogisticMulti2() argument
[all …]
Dentropy_coding.c498 WebRtc_Word16 dataQ7[FRAMESAMPLES]; in WebRtcIsacfix_EncodeSpec() local
515 GenerateDitherQ7(dataQ7, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeSpec()
521 val = ((*fr++ + dataQ7[k] + 64) & 0xFF80) - dataQ7[k]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
522 dataQ7[k] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
525 val = ((*fi++ + dataQ7[k+1] + 64) & 0xFF80) - dataQ7[k+1]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
526 dataQ7[k+1] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
529 val = ((*fr++ + dataQ7[k+2] + 64) & 0xFF80) - dataQ7[k+2]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
530 dataQ7[k+2] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
533 val = ((*fi++ + dataQ7[k+3] + 64) & 0xFF80) - dataQ7[k+3]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
534 dataQ7[k+3] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
[all …]
Darith_routins.h41 WebRtc_Word16 *dataQ7,