Lines Matching refs:pMpegSurroundDecoder
355 CMpegSurroundDecoder *pMpegSurroundDecoder, int initFlags, in updateMpegSurroundDecoderStatus() argument
357 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in updateMpegSurroundDecoderStatus()
359 if ((pMpegSurroundDecoder->mpegSurroundSscIsGlobalCfg != 0) && in updateMpegSurroundDecoderStatus()
360 (pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] >= in updateMpegSurroundDecoderStatus()
363 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in updateMpegSurroundDecoderStatus()
366 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in updateMpegSurroundDecoderStatus()
369 pMpegSurroundDecoder->ancStartStopPrev = ancStartStopPrev; in updateMpegSurroundDecoderStatus()
373 CMpegSurroundDecoder **pMpegSurroundDecoder, int stereoConfigIndex,
378 CMpegSurroundDecoder *pMpegSurroundDecoder) { in mpegSurroundDecoder_IsFullMpegSurroundDecoderInstanceAvailable() argument
381 if (pMpegSurroundDecoder->pSpatialDec != NULL) { in mpegSurroundDecoder_IsFullMpegSurroundDecoderInstanceAvailable()
389 CMpegSurroundDecoder **pMpegSurroundDecoder, int stereoConfigIndex, in mpegSurroundDecoder_Open() argument
393 error = mpegSurroundDecoder_Create(pMpegSurroundDecoder, stereoConfigIndex, in mpegSurroundDecoder_Open()
511 CMpegSurroundDecoder *pMpegSurroundDecoder) { in initMpegSurroundDecoder() argument
514 int upmixTypeCurr = pMpegSurroundDecoder->upmixType; in initMpegSurroundDecoder()
516 FDK_ASSERT(pMpegSurroundDecoder != NULL); in initMpegSurroundDecoder()
519 &pMpegSurroundDecoder->spatialSpecificConfigBackup; in initMpegSurroundDecoder()
521 &pMpegSurroundDecoder in initMpegSurroundDecoder()
522 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameDecode]; in initMpegSurroundDecoder()
524 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode]; in initMpegSurroundDecoder()
535 &pMpegSurroundDecoder->mpegSurroundUserParams, in initMpegSurroundDecoder()
536 &pMpegSurroundDecoder->decConfig, pSSCinput, in initMpegSurroundDecoder()
537 &pMpegSurroundDecoder->upmixType); in initMpegSurroundDecoder()
561 pMpegSurroundDecoder->upmixType), /* upmixType changed */ in initMpegSurroundDecoder()
573 pMpegSurroundDecoder->pSpatialDec, in initMpegSurroundDecoder()
574 &pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameDecode], in initMpegSurroundDecoder()
575 pSSCtarget, nrOfQmfBands, pMpegSurroundDecoder->upmixType, in initMpegSurroundDecoder()
576 &pMpegSurroundDecoder->mpegSurroundUserParams, initFlags); in initMpegSurroundDecoder()
584 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in initMpegSurroundDecoder()
591 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] = in initMpegSurroundDecoder()
600 CMpegSurroundDecoder *pMpegSurroundDecoder) { in mpegSurroundDecoder_Init() argument
603 if (pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode]) { in mpegSurroundDecoder_Init()
604 err = initMpegSurroundDecoder(pMpegSurroundDecoder); in mpegSurroundDecoder_Init()
613 CMpegSurroundDecoder **pMpegSurroundDecoder, int stereoConfigIndex, in mpegSurroundDecoder_Create() argument
623 if (*pMpegSurroundDecoder == NULL) { in mpegSurroundDecoder_Create()
624 FDK_ALLOCATE_MEMORY_1D(*pMpegSurroundDecoder, 1, CMpegSurroundDecoder) in mpegSurroundDecoder_Create()
627 err = SpatialDecCreateBsFrame(&(*pMpegSurroundDecoder)->bsFrames[i], in mpegSurroundDecoder_Create()
628 &(*pMpegSurroundDecoder)->llState); in mpegSurroundDecoder_Create()
630 sacDec = *pMpegSurroundDecoder; in mpegSurroundDecoder_Create()
634 (*pMpegSurroundDecoder)->pQmfDomain = pQmfDomain; in mpegSurroundDecoder_Create()
636 (*pMpegSurroundDecoder)->bsFrameDelay = 1; in mpegSurroundDecoder_Create()
637 (*pMpegSurroundDecoder)->bsFrameParse = 0; in mpegSurroundDecoder_Create()
638 (*pMpegSurroundDecoder)->bsFrameDecode = 0; in mpegSurroundDecoder_Create()
642 sacDec = *pMpegSurroundDecoder; in mpegSurroundDecoder_Create()
678 *pMpegSurroundDecoder = sacDec; in mpegSurroundDecoder_Create()
689 *pMpegSurroundDecoder = NULL; in mpegSurroundDecoder_Create()
701 CMpegSurroundDecoder *pMpegSurroundDecoder, HANDLE_FDK_BITSTREAM hBs, in mpegSurroundDecoder_Config() argument
709 &pMpegSurroundDecoder->spatialSpecificConfigBackup; in mpegSurroundDecoder_Config()
724 hBs, &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Config()
728 pMpegSurroundDecoder->spatialSpecificConfigBackup.nInputChannels; in mpegSurroundDecoder_Config()
745 hBs, &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Config()
748 pMpegSurroundDecoder->spatialSpecificConfigBackup.nInputChannels; in mpegSurroundDecoder_Config()
777 err = mpegSurroundDecoder_Open(&pMpegSurroundDecoder, stereoConfigIndex, in mpegSurroundDecoder_Config()
787 &pMpegSurroundDecoder in mpegSurroundDecoder_Config()
788 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameParse]; in mpegSurroundDecoder_Config()
791 &pMpegSurroundDecoder->spatialSpecificConfigBackup, sscParse)) { in mpegSurroundDecoder_Config()
792 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameParse] |= in mpegSurroundDecoder_Config()
795 if (pMpegSurroundDecoder->pSpatialDec == NULL) { in mpegSurroundDecoder_Config()
799 SpatialDecInitParserContext(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Config()
800 pMpegSurroundDecoder->pSpatialDec->pConfigCurrent = in mpegSurroundDecoder_Config()
801 &pMpegSurroundDecoder in mpegSurroundDecoder_Config()
802 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameDecode]; in mpegSurroundDecoder_Config()
808 pMpegSurroundDecoder->mpegSurroundSscIsGlobalCfg = 1; in mpegSurroundDecoder_Config()
819 CMpegSurroundDecoder *pMpegSurroundDecoder, int mpsDataBits) { in mpegSurroundOperationMode() argument
824 (pMpegSurroundDecoder->mpegSurroundUserParams.blindEnable == 0)) { in mpegSurroundOperationMode()
828 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundOperationMode()
1051 CMpegSurroundDecoder *pMpegSurroundDecoder, in mpegSurroundDecoder_ConfigureQmfDomain() argument
1057 if (pMpegSurroundDecoder == NULL) { in mpegSurroundDecoder_ConfigureQmfDomain()
1061 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_ConfigureQmfDomain()
1063 pGC = &pMpegSurroundDecoder->pQmfDomain->globalConf; in mpegSurroundDecoder_ConfigureQmfDomain()
1064 if (pMpegSurroundDecoder->mpegSurroundSscIsGlobalCfg) { in mpegSurroundDecoder_ConfigureQmfDomain()
1066 &pMpegSurroundDecoder->spatialSpecificConfigBackup; in mpegSurroundDecoder_ConfigureQmfDomain()
1086 pMpegSurroundDecoder->pSpatialDec->createParams.maxNumInputChannels; in mpegSurroundDecoder_ConfigureQmfDomain()
1089 pMpegSurroundDecoder->pSpatialDec->createParams.maxNumOutputChannels; in mpegSurroundDecoder_ConfigureQmfDomain()
1094 pMpegSurroundDecoder->pSpatialDec->createParams.maxNumInputChannels); in mpegSurroundDecoder_ConfigureQmfDomain()
1185 CMpegSurroundDecoder *pMpegSurroundDecoder, HANDLE_FDK_BITSTREAM hBs, in mpegSurroundDecoder_ParseNoHeader() argument
1191 if (pMpegSurroundDecoder == NULL || hBs == NULL) { in mpegSurroundDecoder_ParseNoHeader()
1195 sscParse = &pMpegSurroundDecoder in mpegSurroundDecoder_ParseNoHeader()
1196 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameParse]; in mpegSurroundDecoder_ParseNoHeader()
1203 if (pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameParse]) { in mpegSurroundDecoder_ParseNoHeader()
1204 FDKmemcpy(sscParse, &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_ParseNoHeader()
1206 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameParse] = in mpegSurroundDecoder_ParseNoHeader()
1214 pMpegSurroundDecoder->pSpatialDec, in mpegSurroundDecoder_ParseNoHeader()
1215 &pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameParse], in mpegSurroundDecoder_ParseNoHeader()
1216 hBs, sscParse, (UPMIXTYPE)pMpegSurroundDecoder->upmixType, in mpegSurroundDecoder_ParseNoHeader()
1219 pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameParse] in mpegSurroundDecoder_ParseNoHeader()
1227 pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameParse] in mpegSurroundDecoder_ParseNoHeader()
1240 static int isValidAncType(CMpegSurroundDecoder *pMpegSurroundDecoder, in isValidAncType() argument
1250 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in isValidAncType()
1261 static int isValidAncStartStop(CMpegSurroundDecoder *pMpegSurroundDecoder, in isValidAncStartStop() argument
1268 if ((pMpegSurroundDecoder->ancStartStopPrev == MPEGS_START) || in isValidAncStartStop()
1269 (pMpegSurroundDecoder->ancStartStopPrev == MPEGS_CONTINUE)) { in isValidAncStartStop()
1278 if ((pMpegSurroundDecoder->ancStartStopPrev == MPEGS_STOP) || in isValidAncStartStop()
1279 (pMpegSurroundDecoder->ancStartStopPrev == MPEGS_START_STOP)) { in isValidAncStartStop()
1291 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in isValidAncStartStop()
1295 pMpegSurroundDecoder->ancStartStopPrev = (MPEGS_ANCSTARTSTOP)ancStartStop; in isValidAncStartStop()
1301 int mpegSurroundDecoder_Parse(CMpegSurroundDecoder *pMpegSurroundDecoder, in mpegSurroundDecoder_Parse() argument
1315 if (pMpegSurroundDecoder == NULL) { in mpegSurroundDecoder_Parse()
1319 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Parse()
1323 sscParse = &pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1324 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameParse]; in mpegSurroundDecoder_Parse()
1325 bsFrame = &pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameParse]; in mpegSurroundDecoder_Parse()
1341 if (isValidAncType(pMpegSurroundDecoder, ancType)) { in mpegSurroundDecoder_Parse()
1343 if (isValidAncStartStop(pMpegSurroundDecoder, ancStartStop)) { in mpegSurroundDecoder_Parse()
1353 pMpegSurroundDecoder->mpsData[i] = FDKreadBits(hBs, 8); in mpegSurroundDecoder_Parse()
1355 pMpegSurroundDecoder->mpsDataBits = mpsDataBits; in mpegSurroundDecoder_Parse()
1362 if ((pMpegSurroundDecoder->mpsDataBits + mpsDataBits) > in mpegSurroundDecoder_Parse()
1368 pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1369 ->mpsData[(pMpegSurroundDecoder->mpsDataBits / 8) + i] = in mpegSurroundDecoder_Parse()
1372 pMpegSurroundDecoder->mpsDataBits += mpsDataBits; in mpegSurroundDecoder_Parse()
1373 FDKinitBitStream(&mpsBsData, pMpegSurroundDecoder->mpsData, in mpegSurroundDecoder_Parse()
1375 pMpegSurroundDecoder->mpsDataBits, BS_READER); in mpegSurroundDecoder_Parse()
1380 pMpegSurroundDecoder->mpsDataBits = mpsDataBits; in mpegSurroundDecoder_Parse()
1394 pMpegSurroundDecoder->spatialSpecificConfigBackup; in mpegSurroundDecoder_Parse()
1401 &pMpegSurroundDecoder->spatialSpecificConfigBackup, coreCodec, in mpegSurroundDecoder_Parse()
1402 pMpegSurroundDecoder->upmixType); in mpegSurroundDecoder_Parse()
1414 &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Parse()
1418 pMpegSurroundDecoder->spatialSpecificConfigBackup = in mpegSurroundDecoder_Parse()
1423 pMpegSurroundDecoder->mpsDataBits -= parseResult; in mpegSurroundDecoder_Parse()
1427 &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Parse()
1429 pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1430 ->initFlags[pMpegSurroundDecoder->bsFrameParse] |= in mpegSurroundDecoder_Parse()
1432 SpatialDecInitParserContext(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Parse()
1435 pMpegSurroundDecoder->mpegSurroundSscIsGlobalCfg = 0; in mpegSurroundDecoder_Parse()
1441 if (pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1442 ->initFlags[pMpegSurroundDecoder->bsFrameParse] & in mpegSurroundDecoder_Parse()
1451 if (pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1452 ->initFlags[pMpegSurroundDecoder->bsFrameParse]) { in mpegSurroundDecoder_Parse()
1454 &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Parse()
1456 pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1457 ->fOnSync[pMpegSurroundDecoder->bsFrameParse] = in mpegSurroundDecoder_Parse()
1461 if (pMpegSurroundDecoder in mpegSurroundDecoder_Parse()
1462 ->fOnSync[pMpegSurroundDecoder->bsFrameParse] >= in mpegSurroundDecoder_Parse()
1476 pMpegSurroundDecoder->pSpatialDec, bsFrame, hMpsBsData, in mpegSurroundDecoder_Parse()
1477 sscParse, (UPMIXTYPE)pMpegSurroundDecoder->upmixType, in mpegSurroundDecoder_Parse()
1487 (nbits > pMpegSurroundDecoder->mpsDataBits) || in mpegSurroundDecoder_Parse()
1488 (pMpegSurroundDecoder->mpsDataBits > nbits + 7 && in mpegSurroundDecoder_Parse()
1494 pMpegSurroundDecoder->mpsDataBits -= nbits; in mpegSurroundDecoder_Parse()
1504 pMpegSurroundDecoder->ancStartStopPrev = ancStartStop; in mpegSurroundDecoder_Parse()
1506 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundDecoder_Parse()
1509 pMpegSurroundDecoder->mpsDataBits = 0; in mpegSurroundDecoder_Parse()
1524 int mpegSurroundDecoder_Apply(CMpegSurroundDecoder *pMpegSurroundDecoder, in mpegSurroundDecoder_Apply() argument
1540 if (pMpegSurroundDecoder == NULL) { in mpegSurroundDecoder_Apply()
1544 FDK_ASSERT(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Apply()
1554 pMpegSurroundDecoder->pSpatialDec->sacInDataHeadroom = inDataHeadroom; in mpegSurroundDecoder_Apply()
1557 pMpegSurroundDecoder->pSpatialDec->pConfigCurrent = in mpegSurroundDecoder_Apply()
1558 &pMpegSurroundDecoder in mpegSurroundDecoder_Apply()
1559 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameDecode]; in mpegSurroundDecoder_Apply()
1560 newData = pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameParse] in mpegSurroundDecoder_Apply()
1563 switch (mpegSurroundOperationMode(pMpegSurroundDecoder, 1000)) { in mpegSurroundDecoder_Apply()
1565 if (pMpegSurroundDecoder in mpegSurroundDecoder_Apply()
1566 ->initFlags[pMpegSurroundDecoder->bsFrameDecode]) { in mpegSurroundDecoder_Apply()
1567 err = initMpegSurroundDecoder(pMpegSurroundDecoder); in mpegSurroundDecoder_Apply()
1571 if ((pMpegSurroundDecoder in mpegSurroundDecoder_Apply()
1572 ->fOnSync[pMpegSurroundDecoder->bsFrameDecode] != in mpegSurroundDecoder_Apply()
1574 (pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameDecode] in mpegSurroundDecoder_Apply()
1578 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in mpegSurroundDecoder_Apply()
1585 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in mpegSurroundDecoder_Apply()
1596 if (pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] != in mpegSurroundDecoder_Apply()
1618 if (pMpegSurroundDecoder->mpegSurroundUserParams.bypassMode) { in mpegSurroundDecoder_Apply()
1622 if (pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode]) { in mpegSurroundDecoder_Apply()
1628 if (pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] & in mpegSurroundDecoder_Apply()
1632 &pMpegSurroundDecoder->spatialSpecificConfigBackup, coreCodec, in mpegSurroundDecoder_Apply()
1636 pMpegSurroundDecoder->mpegSurroundDecoderLevel, in mpegSurroundDecoder_Apply()
1637 pMpegSurroundDecoder->mpegSurroundUserParams.blindEnable)) { in mpegSurroundDecoder_Apply()
1644 &pMpegSurroundDecoder->spatialSpecificConfigBackup, in mpegSurroundDecoder_Apply()
1645 &pMpegSurroundDecoder->spatialSpecificConfig in mpegSurroundDecoder_Apply()
1646 [pMpegSurroundDecoder->bsFrameDecode]) == MPS_UNEQUAL_SSC) { in mpegSurroundDecoder_Apply()
1647 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_Apply()
1649 SpatialDecInitParserContext(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Apply()
1658 err = initMpegSurroundDecoder(pMpegSurroundDecoder); in mpegSurroundDecoder_Apply()
1663 pMpegSurroundDecoder->fOnSync[pMpegSurroundDecoder->bsFrameDecode] = in mpegSurroundDecoder_Apply()
1681 if (pMpegSurroundDecoder->pQmfDomain->globalConf.nBandsAnalysis == 0) { in mpegSurroundDecoder_Apply()
1687 pMpegSurroundDecoder->pSpatialDec->numOutputChannelsAT * in mpegSurroundDecoder_Apply()
1688 pMpegSurroundDecoder->pQmfDomain->globalConf.nBandsSynthesis) / in mpegSurroundDecoder_Apply()
1689 pMpegSurroundDecoder->pQmfDomain->globalConf.nBandsAnalysis; in mpegSurroundDecoder_Apply()
1695 if ((pMpegSurroundDecoder->pSpatialDec->pConfigCurrent->syntaxFlags & in mpegSurroundDecoder_Apply()
1697 (pMpegSurroundDecoder->pSpatialDec->stereoConfigIndex > 1)) { in mpegSurroundDecoder_Apply()
1703 pMpegSurroundDecoder->pQmfDomain->globalConf.nBandsSynthesis) / in mpegSurroundDecoder_Apply()
1704 pMpegSurroundDecoder->pQmfDomain->globalConf.nBandsAnalysis; in mpegSurroundDecoder_Apply()
1714 if (pMpegSurroundDecoder->mpegSurroundUseTimeInterface) { in mpegSurroundDecoder_Apply()
1725 pMpegSurroundDecoder->pSpatialDec, in mpegSurroundDecoder_Apply()
1726 &pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameDecode], in mpegSurroundDecoder_Apply()
1727 pMpegSurroundDecoder->mpegSurroundUseTimeInterface ? INPUTMODE_TIME in mpegSurroundDecoder_Apply()
1731 *nChannels = pMpegSurroundDecoder->pSpatialDec->numOutputChannelsAT; in mpegSurroundDecoder_Apply()
1735 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundDecoder_Apply()
1743 (pMpegSurroundDecoder->pSpatialDec->errInt != in mpegSurroundDecoder_Apply()
1746 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundDecoder_Apply()
1753 !(pMpegSurroundDecoder->upmixType == UPMIX_TYPE_BYPASS)) { in mpegSurroundDecoder_Apply()
1754 SpatialDecChannelProperties(pMpegSurroundDecoder->pSpatialDec, channelType, in mpegSurroundDecoder_Apply()
1763 pMpegSurroundDecoder->pSpatialDec->numParameterSetsPrev = in mpegSurroundDecoder_Apply()
1764 pMpegSurroundDecoder->bsFrames[pMpegSurroundDecoder->bsFrameDecode] in mpegSurroundDecoder_Apply()
1775 CMpegSurroundDecoder *pMpegSurroundDecoder) { in mpegSurroundDecoder_FreeMem() argument
1778 if (pMpegSurroundDecoder != NULL) { in mpegSurroundDecoder_FreeMem()
1779 FDK_SpatialDecClose(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_FreeMem()
1780 pMpegSurroundDecoder->pSpatialDec = NULL; in mpegSurroundDecoder_FreeMem()
1789 void mpegSurroundDecoder_Close(CMpegSurroundDecoder *pMpegSurroundDecoder) { in mpegSurroundDecoder_Close() argument
1790 if (pMpegSurroundDecoder != NULL) { in mpegSurroundDecoder_Close()
1791 FDK_SpatialDecClose(pMpegSurroundDecoder->pSpatialDec); in mpegSurroundDecoder_Close()
1792 pMpegSurroundDecoder->pSpatialDec = NULL; in mpegSurroundDecoder_Close()
1795 SpatialDecCloseBsFrame(&pMpegSurroundDecoder->bsFrames[i]); in mpegSurroundDecoder_Close()
1798 FDK_FREE_MEMORY_1D(pMpegSurroundDecoder); in mpegSurroundDecoder_Close()
1839 CMpegSurroundDecoder *pMpegSurroundDecoder, const SACDEC_PARAM param, in mpegSurroundDecoder_SetParam() argument
1845 if (pMpegSurroundDecoder != NULL) { in mpegSurroundDecoder_SetParam()
1847 pUserParams = &pMpegSurroundDecoder->mpegSurroundUserParams; in mpegSurroundDecoder_SetParam()
1868 pMpegSurroundDecoder in mpegSurroundDecoder_SetParam()
1869 ->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1882 if (pMpegSurroundDecoder->mpegSurroundUseTimeInterface != (UCHAR)value) { in mpegSurroundDecoder_SetParam()
1883 pMpegSurroundDecoder->mpegSurroundUseTimeInterface = (UCHAR)value; in mpegSurroundDecoder_SetParam()
1884 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1891 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundDecoder_SetParam()
1900 updateMpegSurroundDecoderStatus(pMpegSurroundDecoder, in mpegSurroundDecoder_SetParam()
1915 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1929 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1943 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1957 pMpegSurroundDecoder->initFlags[pMpegSurroundDecoder->bsFrameDecode] |= in mpegSurroundDecoder_SetParam()
1972 CMpegSurroundDecoder *pMpegSurroundDecoder, int *bsPseudoLr) { in mpegSurroundDecoder_IsPseudoLR() argument
1973 if (pMpegSurroundDecoder != NULL) { in mpegSurroundDecoder_IsPseudoLR()
1975 &pMpegSurroundDecoder in mpegSurroundDecoder_IsPseudoLR()
1976 ->spatialSpecificConfig[pMpegSurroundDecoder->bsFrameDecode]; in mpegSurroundDecoder_IsPseudoLR()