• Home
  • Raw
  • Download

Lines Matching refs:h_ps_d

109 SBR_ERROR ResetPsDec(HANDLE_PS_DEC h_ps_d);
245 int DecodePs(struct PS_DEC *h_ps_d, /*!< PS handle */ in DecodePs() argument
253 h_ps_d->specificTo.mpeg.pCoef = pScratch; in DecodePs()
256 pBsData = &h_ps_d->bsData[h_ps_d->processSlot].mpeg; in DecodePs()
259 (h_ps_d->bPsDataAvail[h_ps_d->processSlot] == ppt_mpeg) ? 1 : 0; in DecodePs()
264 if ((h_ps_d->psDecodedPrv && !frameError && !bPsDataAvail) || in DecodePs()
265 (!h_ps_d->psDecodedPrv && in DecodePs()
270 h_ps_d->bPsDataAvail[h_ps_d->processSlot] = ppt_none; in DecodePs()
290 aPrevIidIndex = h_ps_d->specificTo.mpeg.aIidPrevFrameIndex; in DecodePs()
291 aPrevIccIndex = h_ps_d->specificTo.mpeg.aIccPrevFrameIndex; in DecodePs()
314 pBsData->bFineIidQ = h_ps_d->specificTo.mpeg.bPrevFrameFineIidQ; in DecodePs()
315 pBsData->freqResIid = h_ps_d->specificTo.mpeg.prevFreqResIid; in DecodePs()
318 h_ps_d->specificTo.mpeg.aIidPrevFrameIndex[gr]; in DecodePs()
327 pBsData->freqResIcc = h_ps_d->specificTo.mpeg.prevFreqResIcc; in DecodePs()
330 h_ps_d->specificTo.mpeg.aIccPrevFrameIndex[gr]; in DecodePs()
340 h_ps_d->specificTo.mpeg.bPrevFrameFineIidQ = pBsData->bFineIidQ; in DecodePs()
343 h_ps_d->specificTo.mpeg.prevFreqResIid = pBsData->freqResIid; in DecodePs()
346 h_ps_d->specificTo.mpeg.prevFreqResIcc = pBsData->freqResIcc; in DecodePs()
350 h_ps_d->specificTo.mpeg.aIidPrevFrameIndex[gr] = in DecodePs()
354 h_ps_d->specificTo.mpeg.aIccPrevFrameIndex[gr] = in DecodePs()
359 h_ps_d->bPsDataAvail[h_ps_d->processSlot] = ppt_none; in DecodePs()
367 (env * h_ps_d->noSubSamples) / pBsData->noEnv; in DecodePs()
369 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples; in DecodePs()
378 if (pBsData->aEnvStartStop[pBsData->noEnv] < h_ps_d->noSubSamples) { in DecodePs()
388 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples; in DecodePs()
394 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env); in DecodePs()
410 h_ps_d->specificTo.mpeg.pCoef->aaIidIndexMapped[env][i] = in DecodePs()
414 h_ps_d->specificTo.mpeg.pCoef->aaIccIndexMapped[env][i] = in DecodePs()
429 map34IndexTo20(h_ps_d->specificTo.mpeg.pCoef->aaIidIndexMapped[env], in DecodePs()
432 map34IndexTo20(h_ps_d->specificTo.mpeg.pCoef->aaIccIndexMapped[env], in DecodePs()
450 HANDLE_PS_DEC h_ps_d, /*!< handle to struct PS_DEC */ in ReadPsData() argument
462 if (!h_ps_d) return 0; in ReadPsData()
464 pBsData = &h_ps_d->bsData[h_ps_d->bsReadSlot].mpeg; in ReadPsData()
466 if (h_ps_d->bsReadSlot != h_ps_d->bsLastSlot) { in ReadPsData()
468 FDKmemcpy(pBsData, &h_ps_d->bsData[h_ps_d->bsLastSlot].mpeg, in ReadPsData()
509 h_ps_d->bPsDataAvail[h_ps_d->bsReadSlot] = ppt_none; in ReadPsData()
591 h_ps_d->bPsDataAvail[h_ps_d->bsReadSlot] = ppt_mpeg; in ReadPsData()