Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Darith_routines_logist.c82 int16_t *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 int16_t *dataQ7, /* output: data vector */ in WebRtcIsac_DecLogisticMulti2() argument
[all …]
Dentropy_coding.c393 int16_t dataQ7[FRAMESAMPLES]; in WebRtcIsac_EncodeSpec() local
431 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
435 dataQ7[k + 1] = val; in WebRtcIsac_EncodeSpec()
439 dataQ7[k + 2] = val; in WebRtcIsac_EncodeSpec()
443 dataQ7[k + 3] = val; in WebRtcIsac_EncodeSpec()
453 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
457 dataQ7[k + 1] = val; in WebRtcIsac_EncodeSpec()
463 dataQ7[k + 2] = val; in WebRtcIsac_EncodeSpec()
467 dataQ7[k + 3] = val; in WebRtcIsac_EncodeSpec()
477 dataQ7[k] = val; in WebRtcIsac_EncodeSpec()
[all …]
Darith_routines.h26 int16_t *dataQ7, /* input: data vector */
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Darith_routines_logist.c99 int16_t *dataQ7, in WebRtcIsacfix_EncLogisticMulti2() argument
125 cdfLo = WebRtcIsacfix_Piecewise(WEBRTC_SPL_MUL_16_U16(*dataQ7 - 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
126 cdfHi = WebRtcIsacfix_Piecewise(WEBRTC_SPL_MUL_16_U16(*dataQ7 + 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
131 if (*dataQ7 > 0) { in WebRtcIsacfix_EncLogisticMulti2()
132 *dataQ7 -= 128; in WebRtcIsacfix_EncLogisticMulti2()
135 WEBRTC_SPL_MUL_16_U16(*dataQ7 - 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
137 *dataQ7 += 128; in WebRtcIsacfix_EncLogisticMulti2()
140 WEBRTC_SPL_MUL_16_U16(*dataQ7 + 64, *envQ8)); in WebRtcIsacfix_EncLogisticMulti2()
144 dataQ7++; in WebRtcIsacfix_EncLogisticMulti2()
229 int WebRtcIsacfix_DecLogisticMulti2(int16_t *dataQ7, in WebRtcIsacfix_DecLogisticMulti2() argument
[all …]
Dentropy_coding.c525 int16_t dataQ7[FRAMESAMPLES]; in WebRtcIsacfix_EncodeSpec() local
542 GenerateDitherQ7(dataQ7, streamdata->W_upper, FRAMESAMPLES, AvgPitchGain_Q12); in WebRtcIsacfix_EncodeSpec()
548 val = ((*fr++ + dataQ7[k] + 64) & 0xFF80) - dataQ7[k]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
549 dataQ7[k] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
552 val = ((*fi++ + dataQ7[k+1] + 64) & 0xFF80) - dataQ7[k+1]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
553 dataQ7[k+1] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
556 val = ((*fr++ + dataQ7[k+2] + 64) & 0xFF80) - dataQ7[k+2]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
557 dataQ7[k+2] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
560 val = ((*fi++ + dataQ7[k+3] + 64) & 0xFF80) - dataQ7[k+3]; /* Data = Dither */ in WebRtcIsacfix_EncodeSpec()
561 dataQ7[k+3] = val; /* New value in Data */ in WebRtcIsacfix_EncodeSpec()
[all …]
Darith_routins.h41 int16_t *dataQ7,