Lines Matching refs:pDst
313 int16_t *pSrc, *pDst; in Downmix_Process() local
337 pDst = outBuffer->s16; in Downmix_Process()
349 pDst[0] = clamp16(pDst[0] + pSrc[0]); in Downmix_Process()
350 pDst[1] = clamp16(pDst[1] + pSrc[1]); in Downmix_Process()
352 pDst += 2; in Downmix_Process()
357 pDst[0] = pSrc[0]; in Downmix_Process()
358 pDst[1] = pSrc[1]; in Downmix_Process()
360 pDst += 2; in Downmix_Process()
370 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
380 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
384 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
387 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
391 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
412 LVM_FLOAT *pSrc, *pDst; in Downmix_Process() local
436 pDst = (LVM_FLOAT *) outBuffer->s16; in Downmix_Process()
448 pDst[0] = clamp_float(pDst[0] + pSrc[0]); in Downmix_Process()
449 pDst[1] = clamp_float(pDst[1] + pSrc[1]); in Downmix_Process()
451 pDst += 2; in Downmix_Process()
456 pDst[0] = pSrc[0]; in Downmix_Process()
457 pDst[1] = pSrc[1]; in Downmix_Process()
459 pDst += 2; in Downmix_Process()
469 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
480 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
484 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
487 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate); in Downmix_Process()
491 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) { in Downmix_Process()
944 void Downmix_foldFromQuad(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFromQuad() argument
952 pDst[0] = clamp16(pDst[0] + ((pSrc[0] + pSrc[2]) >> 1)); in Downmix_foldFromQuad()
954 pDst[1] = clamp16(pDst[1] + ((pSrc[1] + pSrc[3]) >> 1)); in Downmix_foldFromQuad()
956 pDst += 2; in Downmix_foldFromQuad()
962 pDst[0] = clamp16((pSrc[0] + pSrc[2]) >> 1); in Downmix_foldFromQuad()
964 pDst[1] = clamp16((pSrc[1] + pSrc[3]) >> 1); in Downmix_foldFromQuad()
966 pDst += 2; in Downmix_foldFromQuad()
972 void Downmix_foldFromQuad(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFromQuad() argument
980 pDst[0] = clamp_float(pDst[0] + ((pSrc[0] + pSrc[2]) / 2.0f)); in Downmix_foldFromQuad()
982 pDst[1] = clamp_float(pDst[1] + ((pSrc[1] + pSrc[3]) / 2.0f)); in Downmix_foldFromQuad()
984 pDst += 2; in Downmix_foldFromQuad()
990 pDst[0] = clamp_float((pSrc[0] + pSrc[2]) / 2.0f); in Downmix_foldFromQuad()
992 pDst[1] = clamp_float((pSrc[1] + pSrc[3]) / 2.0f); in Downmix_foldFromQuad()
994 pDst += 2; in Downmix_foldFromQuad()
1019 void Downmix_foldFrom5Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom5Point1() argument
1039 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom5Point1()
1040 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom5Point1()
1042 pDst += 2; in Downmix_foldFrom5Point1()
1055 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1056 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1058 pDst += 2; in Downmix_foldFrom5Point1()
1064 void Downmix_foldFrom5Point1(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom5Point1() argument
1084 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom5Point1()
1085 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom5Point1()
1087 pDst += 2; in Downmix_foldFrom5Point1()
1100 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1101 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
1103 pDst += 2; in Downmix_foldFrom5Point1()
1128 void Downmix_foldFrom7Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom7Point1() argument
1150 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom7Point1()
1151 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom7Point1()
1153 pDst += 2; in Downmix_foldFrom7Point1()
1166 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1167 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1169 pDst += 2; in Downmix_foldFrom7Point1()
1175 void Downmix_foldFrom7Point1(LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldFrom7Point1() argument
1197 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom7Point1()
1198 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom7Point1()
1200 pDst += 2; in Downmix_foldFrom7Point1()
1213 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1214 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1216 pDst += 2; in Downmix_foldFrom7Point1()
1250 uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) { in Downmix_foldGeneric() argument
1302 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldGeneric()
1303 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldGeneric()
1305 pDst += 2; in Downmix_foldGeneric()
1331 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()
1332 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()
1334 pDst += 2; in Downmix_foldGeneric()
1342 uint32_t mask, LVM_FLOAT *pSrc, LVM_FLOAT *pDst, size_t numFrames, bool accumulate) { in Downmix_foldGeneric() argument
1394 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldGeneric()
1395 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldGeneric()
1397 pDst += 2; in Downmix_foldGeneric()
1423 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldGeneric()
1424 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldGeneric()
1426 pDst += 2; in Downmix_foldGeneric()