Lines Matching refs:spkrPos
404 PCM_DMX_SPEAKER_POSITION spkrPos = {0, 0, 0}; in getSpeakerPos() local
435 spkrPos.x = (offset < 0) ? -PCMDMX_SPKR_POS_X_MAX_WIDTH in getSpeakerPos()
437 spkrPos.y = /* 1x */ PCMDMX_SPKR_POS_Y_SPREAD + (SCHAR)fAbs(offset) - 1; in getSpeakerPos()
438 spkrPos.z = 0; in getSpeakerPos()
442 spkrPos.x = (SCHAR)offset * (SCHAR)spread; in getSpeakerPos()
444 spkrPos.y = 0; in getSpeakerPos()
445 spkrPos.z = SP_Z_LFE; in getSpeakerPos()
447 spkrPos.y = (SCHAR)fMax((SCHAR)chGrp - 1, 0) * PCMDMX_SPKR_POS_Y_SPREAD; in getSpeakerPos()
448 spkrPos.z = (SCHAR)chType >> 4; in getSpeakerPos()
449 if (spkrPos.z == 2) { /* ACT_BOTTOM */ in getSpeakerPos()
450 spkrPos.z = -1; in getSpeakerPos()
452 spkrPos.z *= PCMDMX_SPKR_POS_Z_SPREAD; in getSpeakerPos()
455 return spkrPos; in getSpeakerPos()
555 PCM_DMX_SPEAKER_POSITION spkrPos[(8)]; in getChannelMode() local
569 FDKmemclear(spkrPos, (8) * sizeof(PCM_DMX_SPEAKER_POSITION)); in getChannelMode()
614 spkrPos[ch] = getSpeakerPos(channelType[ch], channelIndices[ch], in getChannelMode()
619 UINT dist = getSpeakerDistance(spkrPos[ch], spkrSlotPos[mapCh]); in getChannelMode()
648 UINT dist = getSpeakerDistance(spkrPos[ch], spkrSlotPos[mapCh]); in getChannelMode()
656 (((spkrPos[ch].x != 0) && (spkrSlotPos[mapPos].x != 0)) /* XOR */ in getChannelMode()
657 || ((spkrPos[ch].x == 0) && in getChannelMode()
677 UINT dist = getSpeakerDistance(spkrPos[mapCh], spkrSlotPos[ch]); in getChannelMode()
688 if ((spkrPos[mapPos].x == 0) && (spkrSlotPos[ch].x != 0) && in getChannelMode()