Lines Matching refs:pDst
311 int16_t *pSrc, *pDst; in Downmix_Process() local
335 pDst = outBuffer->s16; in Downmix_Process()
347 pDst[0] = clamp16(pDst[0] + pSrc[0]); in Downmix_Process()
348 pDst[1] = clamp16(pDst[1] + pSrc[1]); in Downmix_Process()
350 pDst += 2; in Downmix_Process()
355 pDst[0] = pSrc[0]; in Downmix_Process()
356 pDst[1] = pSrc[1]; in Downmix_Process()
358 pDst += 2; in Downmix_Process()
368 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
378 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
382 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
385 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
389 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
410 LVM_FLOAT *pSrc, *pDst; in Downmix_Process() local
434 pDst = (LVM_FLOAT *) outBuffer->s16; in Downmix_Process()
446 pDst[0] = clamp_float(pDst[0] + pSrc[0]); in Downmix_Process()
447 pDst[1] = clamp_float(pDst[1] + pSrc[1]); in Downmix_Process()
449 pDst += 2; in Downmix_Process()
454 pDst[0] = pSrc[0]; in Downmix_Process()
455 pDst[1] = pSrc[1]; in Downmix_Process()
457 pDst += 2; in Downmix_Process()
467 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
478 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
482 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
485 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
489 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
942 void Downmix_foldFromQuad(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFromQuad() argument
950 pDst[0] = clamp16(pDst[0] + ((pSrc[0] + pSrc[2]) >> 1)); in Downmix_foldFromQuad()
952 pDst[1] = clamp16(pDst[1] + ((pSrc[1] + pSrc[3]) >> 1)); in Downmix_foldFromQuad()
954 pDst += 2; in Downmix_foldFromQuad()
960 pDst[0] = clamp16((pSrc[0] + pSrc[2]) >> 1); in Downmix_foldFromQuad()
962 pDst[1] = clamp16((pSrc[1] + pSrc[3]) >> 1); in Downmix_foldFromQuad()
964 pDst += 2; in Downmix_foldFromQuad()
970 void Downmix_foldFromQuad(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFromQuad() argument
978 pDst[0] = clamp_float(pDst[0] + ((pSrc[0] + pSrc[2]) / 2.0f)); in Downmix_foldFromQuad()
980 pDst[1] = clamp_float(pDst[1] + ((pSrc[1] + pSrc[3]) / 2.0f)); in Downmix_foldFromQuad()
982 pDst += 2; in Downmix_foldFromQuad()
988 pDst[0] = clamp_float((pSrc[0] + pSrc[2]) / 2.0f); in Downmix_foldFromQuad()
990 pDst[1] = clamp_float((pSrc[1] + pSrc[3]) / 2.0f); in Downmix_foldFromQuad()
992 pDst += 2; in Downmix_foldFromQuad()
1017 void Downmix_foldFrom5Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom5Point1() argument
1037 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom5Point1()
1038 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom5Point1()
1040 pDst += 2; in Downmix_foldFrom5Point1()
1053 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1054 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1056 pDst += 2; in Downmix_foldFrom5Point1()
1062 void Downmix_foldFrom5Point1(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom5Point1() argument
1082 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom5Point1()
1083 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom5Point1()
1085 pDst += 2; in Downmix_foldFrom5Point1()
1098 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1099 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1101 pDst += 2; in Downmix_foldFrom5Point1()
1126 void Downmix_foldFrom7Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom7Point1() argument
1148 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom7Point1()
1149 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom7Point1()
1151 pDst += 2; in Downmix_foldFrom7Point1()
1164 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1165 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1167 pDst += 2; in Downmix_foldFrom7Point1()
1173 void Downmix_foldFrom7Point1(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom7Point1() argument
1195 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom7Point1()
1196 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom7Point1()
1198 pDst += 2; in Downmix_foldFrom7Point1()
1211 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1212 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1214 pDst += 2; in Downmix_foldFrom7Point1()
1248 uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldGeneric() argument
1300 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldGeneric()
1301 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldGeneric()
1303 pDst += 2; in Downmix_foldGeneric()
1329 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()
1330 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()
1332 pDst += 2; in Downmix_foldGeneric()
1340 uint32_t mask, LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldGeneric() argument
1392 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldGeneric()
1393 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldGeneric()
1395 pDst += 2; in Downmix_foldGeneric()
1421 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldGeneric()
1422 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldGeneric()
1424 pDst += 2; in Downmix_foldGeneric()