• Home
  • Raw
  • Download

Lines Matching refs:streamInfo

143         (self->streamInfo.aacSamplesPerFrame >  in aacDecoder_setMetadataExpiry()
145 FIXP_DBL frameTime = fDivNorm(self->streamInfo.aacSampleRate, in aacDecoder_setMetadataExpiry()
146 self->streamInfo.aacSamplesPerFrame * 1000); in aacDecoder_setMetadataExpiry()
885 self->streamInfo.numLostAccessUnits = 0; in aacDecoder_SetParam()
886 self->streamInfo.numBadBytes = 0; in aacDecoder_SetParam()
887 self->streamInfo.numTotalBytes = 0; in aacDecoder_SetParam()
1164 self->streamInfo.numLostAccessUnits = 0; in aacDecoder_DecodeFrame()
1178 self->streamInfo.numChannels = 0; in aacDecoder_DecodeFrame()
1199 self->streamInfo.numLostAccessUnits = in aacDecoder_DecodeFrame()
1219 if (self->streamInfo.numLostAccessUnits > 0) { in aacDecoder_DecodeFrame()
1220 self->streamInfo.numLostAccessUnits--; in aacDecoder_DecodeFrame()
1299 self->streamInfo.numLostAccessUnits = 0; in aacDecoder_DecodeFrame()
1300 self->streamInfo.numBadBytes = 0; in aacDecoder_DecodeFrame()
1301 self->streamInfo.numTotalBytes = 0; in aacDecoder_DecodeFrame()
1306 self->streamInfo.outputDelay = 0; in aacDecoder_DecodeFrame()
1330 self->streamInfo.aacSamplesPerFrame + 0); in aacDecoder_DecodeFrame()
1362 self->streamInfo.sampleRate = self->streamInfo.aacSampleRate; in aacDecoder_DecodeFrame()
1363 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
1366 self->streamInfo.numChannels = self->streamInfo.aacNumChannels; in aacDecoder_DecodeFrame()
1371 1 * (self->streamInfo.aacSamplesPerFrame + 0) + 0, in aacDecoder_DecodeFrame()
1372 self->streamInfo.frameSize, 0); in aacDecoder_DecodeFrame()
1380 isSupportedMpsConfig(self->streamInfo.aot, in aacDecoder_DecodeFrame()
1381 self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1409 (UINT)self->streamInfo.aacSampleRate, self->streamInfo.aot); in aacDecoder_DecodeFrame()
1412 self->streamInfo.aacSamplesPerFrame / in aacDecoder_DecodeFrame()
1444 int chIdx, numCoreChannel = self->streamInfo.numChannels; in aacDecoder_DecodeFrame()
1455 if (self->streamInfo.aot == AOT_ER_AAC_ELD) { in aacDecoder_DecodeFrame()
1480 sizeof(INT_PCM) * (self->streamInfo.numChannels) * in aacDecoder_DecodeFrame()
1481 (self->streamInfo.frameSize)); in aacDecoder_DecodeFrame()
1485 timeDataSize, &self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1486 &self->streamInfo.sampleRate, in aacDecoder_DecodeFrame()
1495 if (self->streamInfo.aacSampleRate != self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1496 if (self->streamInfo.aacSampleRate >> 2 == in aacDecoder_DecodeFrame()
1497 self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1498 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1499 self->streamInfo.aacSamplesPerFrame >> 2; in aacDecoder_DecodeFrame()
1500 self->streamInfo.outputDelay = self->streamInfo.outputDelay >> 2; in aacDecoder_DecodeFrame()
1501 } else if (self->streamInfo.aacSampleRate >> 1 == in aacDecoder_DecodeFrame()
1502 self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1503 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1504 self->streamInfo.aacSamplesPerFrame >> 1; in aacDecoder_DecodeFrame()
1505 self->streamInfo.outputDelay = self->streamInfo.outputDelay >> 1; in aacDecoder_DecodeFrame()
1506 } else if (self->streamInfo.aacSampleRate << 1 == in aacDecoder_DecodeFrame()
1507 self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1508 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1510 self->streamInfo.outputDelay = self->streamInfo.outputDelay << 1; in aacDecoder_DecodeFrame()
1511 } else if (self->streamInfo.aacSampleRate << 2 == in aacDecoder_DecodeFrame()
1512 self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1513 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1515 self->streamInfo.outputDelay = self->streamInfo.outputDelay << 2; in aacDecoder_DecodeFrame()
1516 } else if (self->streamInfo.frameSize == 768) { in aacDecoder_DecodeFrame()
1517 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1518 (self->streamInfo.aacSamplesPerFrame << 3) / 3; in aacDecoder_DecodeFrame()
1519 self->streamInfo.outputDelay = in aacDecoder_DecodeFrame()
1520 (self->streamInfo.outputDelay << 3) / 3; in aacDecoder_DecodeFrame()
1526 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
1528 self->streamInfo.outputDelay += in aacDecoder_DecodeFrame()
1534 for (chIdx = numCoreChannel; chIdx < self->streamInfo.numChannels; in aacDecoder_DecodeFrame()
1549 nChannels = self->streamInfo.numChannels; in aacDecoder_DecodeFrame()
1550 frameSize = self->streamInfo.frameSize; in aacDecoder_DecodeFrame()
1555 if (self->streamInfo.aot == AOT_USAC) { in aacDecoder_DecodeFrame()
1568 self->streamInfo.aacSamplesPerFrame, &nChannels, &frameSize, in aacDecoder_DecodeFrame()
1569 self->streamInfo.sampleRate, self->streamInfo.aot, in aacDecoder_DecodeFrame()
1579 self->streamInfo.numChannels = nChannels; in aacDecoder_DecodeFrame()
1580 self->streamInfo.frameSize = frameSize; in aacDecoder_DecodeFrame()
1581 self->streamInfo.outputDelay += mpegSurroundDecoder_GetDelay( in aacDecoder_DecodeFrame()
1589 self->streamInfo.numChannels = self->mpsOutChannelsLast; in aacDecoder_DecodeFrame()
1590 self->streamInfo.frameSize = self->mpsFrameSizeLast; in aacDecoder_DecodeFrame()
1616 timeDataSize, &self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1617 &self->streamInfo.sampleRate, in aacDecoder_DecodeFrame()
1625 if (self->streamInfo.aacSampleRate != self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1626 if (self->streamInfo.frameSize == 768) { in aacDecoder_DecodeFrame()
1627 self->streamInfo.frameSize = in aacDecoder_DecodeFrame()
1628 (self->streamInfo.aacSamplesPerFrame * 8) / 3; in aacDecoder_DecodeFrame()
1629 } else if (self->streamInfo.aacSampleRate << 2 == in aacDecoder_DecodeFrame()
1630 self->streamInfo.sampleRate) { in aacDecoder_DecodeFrame()
1631 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1634 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame in aacDecoder_DecodeFrame()
1653 self->streamInfo.frameSize * self->streamInfo.numChannels; in aacDecoder_DecodeFrame()
1682 self->streamInfo.sampleRate); in aacDecoder_DecodeFrame()
1684 self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1693 self->streamInfo.frameSize; in aacDecoder_DecodeFrame()
1695 for (ch = 0; ch < self->streamInfo.numChannels; ch++) { in aacDecoder_DecodeFrame()
1709 if ((self->streamInfo.numChannels > 1) && in aacDecoder_DecodeFrame()
1714 (INT)(2 * self->streamInfo.numChannels * in aacDecoder_DecodeFrame()
1715 self->streamInfo.frameSize * sizeof(PCM_DEC))) { in aacDecoder_DecodeFrame()
1722 self->streamInfo.numChannels * self->streamInfo.frameSize; in aacDecoder_DecodeFrame()
1724 pTimeDataPcmPost, drcWorkBuffer, self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1725 self->streamInfo.frameSize, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1735 self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1736 self->streamInfo.frameSize, channelGain, in aacDecoder_DecodeFrame()
1737 drcWorkBuffer, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1741 for (ch = 0; ch < self->streamInfo.numChannels; ch++) { in aacDecoder_DecodeFrame()
1744 drcWorkBuffer, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1750 &self->streamInfo.numChannels); /* self->streamInfo.numChannels in aacDecoder_DecodeFrame()
1753 for (ch = 0; ch < self->streamInfo.numChannels; ch++) { in aacDecoder_DecodeFrame()
1757 drcWorkBuffer, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1762 drcWorkBuffer, pTimeDataPcmPost, self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1763 self->streamInfo.frameSize, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1768 if (self->streamInfo.extAot != AOT_AAC_SLS) { in aacDecoder_DecodeFrame()
1789 self->streamInfo.frameSize, &self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1814 int blockLength = self->streamInfo.frameSize; in aacDecoder_DecodeFrame()
1817 pcmLimiter_SetNChannels(self->hLimiter, self->streamInfo.numChannels); in aacDecoder_DecodeFrame()
1818 pcmLimiter_SetSampleRate(self->hLimiter, self->streamInfo.sampleRate); in aacDecoder_DecodeFrame()
1821 if ((self->streamInfo.numChannels == 1) || (self->sbrEnabled) || in aacDecoder_DecodeFrame()
1829 self->streamInfo.numChannels, blockLength, in aacDecoder_DecodeFrame()
1830 self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1835 self->extGainDelay, self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1839 self->streamInfo.outputDelay += pcmLimiter_GetDelay(self->hLimiter); in aacDecoder_DecodeFrame()
1845 if ((self->streamInfo.numChannels == 1) || (self->sbrEnabled) || in aacDecoder_DecodeFrame()
1849 self->streamInfo.frameSize * self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1855 self->streamInfo.frameSize * self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1859 self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1860 self->streamInfo.frameSize, in aacDecoder_DecodeFrame()
1861 self->streamInfo.frameSize); in aacDecoder_DecodeFrame()
1870 self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1871 self->streamInfo.frameSize, 1); in aacDecoder_DecodeFrame()
1877 for (int ch = 0; ch < self->streamInfo.numChannels; ch++) { in aacDecoder_DecodeFrame()
1889 self->streamInfo.numChannels, in aacDecoder_DecodeFrame()
1890 self->streamInfo.frameSize, 1); in aacDecoder_DecodeFrame()
1902 self->streamInfo.flags = self->flags[0]; in aacDecoder_DecodeFrame()
1921 self->streamInfo.frameSize = 0; in aacDecoder_DecodeFrame()
1942 aacDecoder_UpdateBitStreamCounters(&self->streamInfo, hBs, nBits, in aacDecoder_DecodeFrame()
1944 if (((self->streamInfo.numChannels <= 0) || in aacDecoder_DecodeFrame()
1945 (self->streamInfo.frameSize <= 0) || in aacDecoder_DecodeFrame()
1946 (self->streamInfo.sampleRate <= 0)) && in aacDecoder_DecodeFrame()
1954 self->streamInfo.numChannels * self->streamInfo.frameSize) { in aacDecoder_DecodeFrame()
1961 self->streamInfo.numChannels * self->streamInfo.frameSize * in aacDecoder_DecodeFrame()