Searched refs:amp (Results 1 – 4 of 4) sorted by relevance
/system/media/audio_utils/ |
D | power.cpp | 176 const float amp = (float)*samplitudes++; in energyMonoVector() local 177 accumulator += amp * amp; in energyMonoVector() 203 const float amp = (float)samplitudes[i]; in energyMonoVector() local 204 accumulator += amp * amp; in energyMonoVector()
|
/system/bt/embdrv/g722/ |
D | g722_decode.cc | 45 static __inline int16_t __ssat16(int32_t amp) in __ssat16() argument 50 amp16 = (int16_t) amp; in __ssat16() 51 if (amp == amp16) in __ssat16() 53 if (amp > 0x7fff) in __ssat16() 264 uint32_t g722_decode(g722_decode_state_t *s, int16_t amp[], const uint8_t g722_data[], int len, uin… in g722_decode() argument 410 amp[outlen++] = ((int16_t) (xout1 >> 4) + 2048); in g722_decode() 411 amp[outlen++] = ((int16_t) (xout2 >> 4) + 2048); in g722_decode() 415 amp[outlen++] = xout1; in g722_decode() 416 amp[outlen++] = xout2; in g722_decode()
|
D | g722_encode.cc | 46 static __inline int16_t saturate(int32_t amp) in saturate() argument 51 amp16 = (int16_t) amp; in saturate() 52 if (amp == amp16) in saturate() 54 if (amp > 0x7FFF) in saturate() 272 const int16_t amp[], int len) in g722_encode() argument 306 xhigh = amp[j++] >> 1; in g722_encode() 316 s->x[22] = amp[j++]; in g722_encode() 317 s->x[23] = amp[j++]; in g722_encode()
|
D | g722_enc_dec.h | 138 int g722_encode(g722_encode_state_t *s, uint8_t g722_data[], const int16_t amp[], int len); 142 uint32_t g722_decode(g722_decode_state_t *s, int16_t amp[], const uint8_t g722_data[], int len, uin…
|