Home
last modified time | relevance | path

Searched refs:spkrPos (Results 1 – 1 of 1) sorted by relevance

/external/aac/libPCMutils/src/
Dpcmdmx_lib.cpp404 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()
[all …]