Lines Matching refs:hSbrFrameInfo
319 static void generateFixFixOnly(HANDLE_SBR_FRAME_INFO hSbrFrameInfo,
661 static void generateFixFixOnly(HANDLE_SBR_FRAME_INFO hSbrFrameInfo, in generateFixFixOnly() argument
687 for (i = 1; i < nEnv; i++) hSbrFrameInfo->borders[i] = pTable[i + 2]; in generateFixFixOnly()
690 hSbrFrameInfo->borders[0] = 0; in generateFixFixOnly()
691 hSbrFrameInfo->borders[nEnv] = numberTimeSlots; in generateFixFixOnly()
695 k = hSbrFrameInfo->borders[i + 1] - hSbrFrameInfo->borders[i]; in generateFixFixOnly()
697 hSbrFrameInfo->freqRes[i] = freqResTable[k]; in generateFixFixOnly()
699 hSbrFrameInfo->freqRes[i] = FREQ_RES_LOW; in generateFixFixOnly()
701 hSbrGrid->v_f[i] = hSbrFrameInfo->freqRes[i]; in generateFixFixOnly()
704 hSbrFrameInfo->nEnvelopes = nEnv; in generateFixFixOnly()
705 hSbrFrameInfo->shortEnv = pTable[2]; in generateFixFixOnly()
710 hSbrFrameInfo->bordersNoise[0] = 0; in generateFixFixOnly()
711 hSbrFrameInfo->bordersNoise[1] = in generateFixFixOnly()
712 hSbrFrameInfo->borders[tranIdx ? tranIdx : 1]; in generateFixFixOnly()
713 hSbrFrameInfo->bordersNoise[2] = numberTimeSlots; in generateFixFixOnly()
714 hSbrFrameInfo->nNoiseEnvelopes = 2; in generateFixFixOnly()
1695 static void createDefFrameInfo(HANDLE_SBR_FRAME_INFO hSbrFrameInfo, INT nEnv, in createDefFrameInfo() argument
1701 FDKmemcpy(hSbrFrameInfo, &frameInfo1_1920, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1704 FDKmemcpy(hSbrFrameInfo, &frameInfo1_2048, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1707 FDKmemcpy(hSbrFrameInfo, &frameInfo1_1152, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1710 FDKmemcpy(hSbrFrameInfo, &frameInfo1_2304, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1713 FDKmemcpy(hSbrFrameInfo, &frameInfo1_512LD, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1722 FDKmemcpy(hSbrFrameInfo, &frameInfo2_1920, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1725 FDKmemcpy(hSbrFrameInfo, &frameInfo2_2048, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1728 FDKmemcpy(hSbrFrameInfo, &frameInfo2_1152, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1731 FDKmemcpy(hSbrFrameInfo, &frameInfo2_2304, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1734 FDKmemcpy(hSbrFrameInfo, &frameInfo2_512LD, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1743 FDKmemcpy(hSbrFrameInfo, &frameInfo4_1920, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1746 FDKmemcpy(hSbrFrameInfo, &frameInfo4_2048, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1749 FDKmemcpy(hSbrFrameInfo, &frameInfo4_1152, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1752 FDKmemcpy(hSbrFrameInfo, &frameInfo4_2304, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1755 FDKmemcpy(hSbrFrameInfo, &frameInfo4_512LD, sizeof(SBR_FRAME_INFO)); in createDefFrameInfo()
1786 HANDLE_SBR_FRAME_INFO hSbrFrameInfo, /* output: the frame info handle */ in ctrlSignal2FrameInfo() argument
1801 createDefFrameInfo(hSbrFrameInfo, hSbrGrid->bs_num_env, numberTimeSlots); in ctrlSignal2FrameInfo()
1803 frameSplit = (hSbrFrameInfo->nEnvelopes > 1); in ctrlSignal2FrameInfo()
1804 for (i = 0; i < hSbrFrameInfo->nEnvelopes; i++) { in ctrlSignal2FrameInfo()
1805 hSbrGrid->v_f[i] = hSbrFrameInfo->freqRes[i] = in ctrlSignal2FrameInfo()
1815 hSbrFrameInfo->nEnvelopes = nEnv; in ctrlSignal2FrameInfo()
1820 hSbrFrameInfo->nNoiseEnvelopes = 1; in ctrlSignal2FrameInfo()
1822 hSbrFrameInfo->nNoiseEnvelopes = 2; in ctrlSignal2FrameInfo()
1833 hSbrFrameInfo->borders[0] = in ctrlSignal2FrameInfo()
1836 hSbrFrameInfo->borders[nEnv] = border; in ctrlSignal2FrameInfo()
1840 hSbrFrameInfo->borders[i] = border; in ctrlSignal2FrameInfo()
1847 hSbrFrameInfo->shortEnv = 0; in ctrlSignal2FrameInfo()
1849 hSbrFrameInfo->shortEnv = nEnv + 1 - p; in ctrlSignal2FrameInfo()
1853 hSbrFrameInfo->freqRes[i] = (FREQ_RES)v_f[k]; in ctrlSignal2FrameInfo()
1859 hSbrFrameInfo->bordersNoise[1] = hSbrFrameInfo->borders[nEnv - 1]; in ctrlSignal2FrameInfo()
1861 hSbrFrameInfo->bordersNoise[1] = in ctrlSignal2FrameInfo()
1862 hSbrFrameInfo->borders[hSbrFrameInfo->shortEnv]; in ctrlSignal2FrameInfo()
1869 hSbrFrameInfo->borders[0] = border; in ctrlSignal2FrameInfo()
1873 hSbrFrameInfo->borders[k + 1] = border; in ctrlSignal2FrameInfo()
1876 hSbrFrameInfo->borders[nEnv] = bufferFrameStart + numberTimeSlots; in ctrlSignal2FrameInfo()
1880 hSbrFrameInfo->shortEnv = 0; in ctrlSignal2FrameInfo()
1882 hSbrFrameInfo->shortEnv = p - 1; in ctrlSignal2FrameInfo()
1886 hSbrFrameInfo->freqRes[k] = (FREQ_RES)v_f[k]; in ctrlSignal2FrameInfo()
1891 hSbrFrameInfo->bordersNoise[1] = hSbrFrameInfo->borders[1]; in ctrlSignal2FrameInfo()
1894 hSbrFrameInfo->bordersNoise[1] = hSbrFrameInfo->borders[nEnv - 1]; in ctrlSignal2FrameInfo()
1897 hSbrFrameInfo->bordersNoise[1] = in ctrlSignal2FrameInfo()
1898 hSbrFrameInfo->borders[hSbrFrameInfo->shortEnv]; in ctrlSignal2FrameInfo()
1906 hSbrFrameInfo->nEnvelopes = nEnv; in ctrlSignal2FrameInfo()
1908 hSbrFrameInfo->borders[0] = border = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1912 hSbrFrameInfo->borders[i] = border; in ctrlSignal2FrameInfo()
1916 hSbrFrameInfo->borders[nEnv] = border; in ctrlSignal2FrameInfo()
1920 hSbrFrameInfo->borders[i] = border; in ctrlSignal2FrameInfo()
1925 hSbrFrameInfo->shortEnv = 0; in ctrlSignal2FrameInfo()
1927 hSbrFrameInfo->shortEnv = nEnv + 1 - p; in ctrlSignal2FrameInfo()
1931 hSbrFrameInfo->freqRes[k] = (FREQ_RES)hSbrGrid->v_fLR[k]; in ctrlSignal2FrameInfo()
1935 hSbrFrameInfo->nNoiseEnvelopes = 1; in ctrlSignal2FrameInfo()
1936 hSbrFrameInfo->bordersNoise[0] = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1937 hSbrFrameInfo->bordersNoise[1] = hSbrGrid->bs_abs_bord_1; in ctrlSignal2FrameInfo()
1939 hSbrFrameInfo->nNoiseEnvelopes = 2; in ctrlSignal2FrameInfo()
1940 hSbrFrameInfo->bordersNoise[0] = hSbrGrid->bs_abs_bord_0; in ctrlSignal2FrameInfo()
1943 hSbrFrameInfo->bordersNoise[1] = hSbrFrameInfo->borders[nEnv - 1]; in ctrlSignal2FrameInfo()
1945 hSbrFrameInfo->bordersNoise[1] = in ctrlSignal2FrameInfo()
1946 hSbrFrameInfo->borders[hSbrFrameInfo->shortEnv]; in ctrlSignal2FrameInfo()
1948 hSbrFrameInfo->bordersNoise[2] = hSbrGrid->bs_abs_bord_1; in ctrlSignal2FrameInfo()
1958 hSbrFrameInfo->bordersNoise[0] = hSbrFrameInfo->borders[0]; in ctrlSignal2FrameInfo()
1960 hSbrFrameInfo->bordersNoise[1] = hSbrFrameInfo->borders[nEnv]; in ctrlSignal2FrameInfo()
1962 hSbrFrameInfo->bordersNoise[2] = hSbrFrameInfo->borders[nEnv]; in ctrlSignal2FrameInfo()