Lines Matching refs:hSbrGrid
228 static void calcCtrlSignal(HANDLE_SBR_GRID hSbrGrid, FRAME_CLASS frameClass,
233 static void ctrlSignal2FrameInfo(HANDLE_SBR_GRID hSbrGrid,
320 HANDLE_SBR_GRID hSbrGrid, int tranPosInternal,
662 HANDLE_SBR_GRID hSbrGrid, int tranPosInternal, in generateFixFixOnly() argument
701 hSbrGrid->v_f[i] = hSbrFrameInfo->freqRes[i]; in generateFixFixOnly()
716 hSbrGrid->frameClass = FIXFIXonly; in generateFixFixOnly()
717 hSbrGrid->bs_abs_bord = tranPosInternal; in generateFixFixOnly()
718 hSbrGrid->bs_num_env = nEnv; in generateFixFixOnly()
1513 static void calcCtrlSignal(HANDLE_SBR_GRID hSbrGrid, FRAME_CLASS frameClass, in calcCtrlSignal() argument
1519 INT *v_f = hSbrGrid->v_f; in calcCtrlSignal()
1520 INT *v_fLR = hSbrGrid->v_fLR; in calcCtrlSignal()
1521 INT *v_r = hSbrGrid->bs_rel_bord; in calcCtrlSignal()
1522 INT *v_rL = hSbrGrid->bs_rel_bord_0; in calcCtrlSignal()
1523 INT *v_rR = hSbrGrid->bs_rel_bord_1; in calcCtrlSignal()
1555 hSbrGrid->frameClass = frameClass; in calcCtrlSignal()
1556 hSbrGrid->bs_abs_bord = a; in calcCtrlSignal()
1557 hSbrGrid->n = n; in calcCtrlSignal()
1558 hSbrGrid->p = p; in calcCtrlSignal()
1582 hSbrGrid->frameClass = frameClass; in calcCtrlSignal()
1583 hSbrGrid->bs_abs_bord = a; in calcCtrlSignal()
1584 hSbrGrid->n = n; in calcCtrlSignal()
1585 hSbrGrid->p = p; in calcCtrlSignal()
1664 hSbrGrid->frameClass = frameClass; in calcCtrlSignal()
1665 hSbrGrid->bs_abs_bord_0 = aL; in calcCtrlSignal()
1666 hSbrGrid->bs_abs_bord_1 = aR; in calcCtrlSignal()
1667 hSbrGrid->bs_num_rel_0 = nL; in calcCtrlSignal()
1668 hSbrGrid->bs_num_rel_1 = nR; in calcCtrlSignal()
1669 hSbrGrid->p = p; in calcCtrlSignal()
1785 HANDLE_SBR_GRID hSbrGrid, /* input : the grid handle */ in ctrlSignal2FrameInfo() argument
1792 INT *v_r = hSbrGrid->bs_rel_bord; in ctrlSignal2FrameInfo()
1793 INT *v_f = hSbrGrid->v_f; in ctrlSignal2FrameInfo()
1795 FRAME_CLASS frameClass = hSbrGrid->frameClass; in ctrlSignal2FrameInfo()
1796 INT bufferFrameStart = hSbrGrid->bufferFrameStart; in ctrlSignal2FrameInfo()
1797 INT numberTimeSlots = hSbrGrid->numberTimeSlots; in ctrlSignal2FrameInfo()
1801 createDefFrameInfo(hSbrFrameInfo, hSbrGrid->bs_num_env, numberTimeSlots); in ctrlSignal2FrameInfo()
1805 hSbrGrid->v_f[i] = hSbrFrameInfo->freqRes[i] = in ctrlSignal2FrameInfo()
1812 nEnv = hSbrGrid->n + 1; /* read n [SBR_NUM_BITS bits] */ /*? snd*/ in ctrlSignal2FrameInfo()
1817 border = hSbrGrid->bs_abs_bord; /* read the absolute border */ in ctrlSignal2FrameInfo()
1845 p = hSbrGrid->p; in ctrlSignal2FrameInfo()
1878 p = hSbrGrid->p; in ctrlSignal2FrameInfo()
1904 nEnv = hSbrGrid->bs_num_rel_0 + hSbrGrid->bs_num_rel_1 + 1; in ctrlSignal2FrameInfo()
1908 hSbrFrameInfo->borders[0] = border = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1910 for (k = 0, i = 1; k < hSbrGrid->bs_num_rel_0; k++, i++) { in ctrlSignal2FrameInfo()
1911 border += hSbrGrid->bs_rel_bord_0[k]; in ctrlSignal2FrameInfo()
1915 border = hSbrGrid->bs_abs_bord_1; in ctrlSignal2FrameInfo()
1918 for (k = 0, i = nEnv - 1; k < hSbrGrid->bs_num_rel_1; k++, i--) { in ctrlSignal2FrameInfo()
1919 border -= hSbrGrid->bs_rel_bord_1[k]; in ctrlSignal2FrameInfo()
1923 p = hSbrGrid->p; in ctrlSignal2FrameInfo()
1931 hSbrFrameInfo->freqRes[k] = (FREQ_RES)hSbrGrid->v_fLR[k]; in ctrlSignal2FrameInfo()
1936 hSbrFrameInfo->bordersNoise[0] = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1937 hSbrFrameInfo->bordersNoise[1] = hSbrGrid->bs_abs_bord_1; in ctrlSignal2FrameInfo()
1940 hSbrFrameInfo->bordersNoise[0] = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1948 hSbrFrameInfo->bordersNoise[2] = hSbrGrid->bs_abs_bord_1; in ctrlSignal2FrameInfo()