Home | History | Annotate | Download | only in downmix

Lines Matching full:accumulate

323     const bool accumulate =
330 if (accumulate) {
353 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) {
363 Downmix_foldFromQuad(pSrc, pDst, numFrames, accumulate);
367 Downmix_foldFrom5Point1(pSrc, pDst, numFrames, accumulate);
370 Downmix_foldFrom7Point1(pSrc, pDst, numFrames, accumulate);
374 downmixInputChannelMask, pSrc, pDst, numFrames, accumulate)) {
813 * accumulate whether to mix (when true) the result of the downmix with the contents of pDst,
821 void Downmix_foldFromQuad(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) {
826 if (accumulate) {
859 * accumulate whether to mix (when true) the result of the downmix with the contents of pDst,
867 void Downmix_foldFrom5Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) {
875 // code is mostly duplicated between the two values of accumulate to avoid repeating the test
877 if (accumulate) {
886 // accumulate in destination
903 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above
904 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above
922 * accumulate whether to mix (when true) the result of the downmix with the contents of pDst,
930 void Downmix_foldFrom7Point1(int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) {
940 // code is mostly duplicated between the two values of accumulate to avoid repeating the test
942 if (accumulate) {
951 //accumulate in destination
968 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above
969 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above
994 * accumulate whether to mix (when true) the result of the downmix with the contents of pDst,
1005 uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) {
1032 // code is mostly duplicated between the two values of accumulate to avoid repeating the test
1034 if (accumulate) {
1056 // accumulate in destination
1086 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above
1087 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above