Lines Matching refs:h_ps_d
91 SBR_ERROR ResetPsDec(HANDLE_PS_DEC h_ps_d);
92 void ResetPsDeCor (HANDLE_PS_DEC h_ps_d);
240 DecodePs( struct PS_DEC *h_ps_d, /*!< PS handle */
248 pBsData = &h_ps_d->bsData[h_ps_d->processSlot].mpeg;
250 bPsDataAvail = (h_ps_d->bPsDataAvail[h_ps_d->processSlot] == ppt_mpeg) ? 1 : 0;
255 if ( ( h_ps_d->psDecodedPrv && !frameError && !bPsDataAvail)
256 || (!h_ps_d->psDecodedPrv && (frameError || !bPsDataAvail || !bPsHeaderValid)) ) {
260 h_ps_d->bPsDataAvail[h_ps_d->processSlot] = ppt_none;
280 aPrevIidIndex = h_ps_d->specificTo.mpeg.aIidPrevFrameIndex;
281 aPrevIccIndex = h_ps_d->specificTo.mpeg.aIccPrevFrameIndex;
315 h_ps_d->specificTo.mpeg.aIidPrevFrameIndex[gr];
327 h_ps_d->specificTo.mpeg.aIccPrevFrameIndex[gr];
339 h_ps_d->specificTo.mpeg.aIidPrevFrameIndex[gr] =
343 h_ps_d->specificTo.mpeg.aIccPrevFrameIndex[gr] =
348 h_ps_d->bPsDataAvail[h_ps_d->processSlot] = ppt_none;
356 (env * h_ps_d->noSubSamples) / pBsData->noEnv;
358 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples;
362 else { /* if (h_ps_d->bFrameClass == 0) */
368 if (pBsData->aEnvStartStop[pBsData->noEnv] < h_ps_d->noSubSamples) {
378 pBsData->aEnvStartStop[pBsData->noEnv] = h_ps_d->noSubSamples;
384 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env);
395 } /* if (h_ps_d->bFrameClass == 0) ... else */
401 h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][i] = pBsData->aaIidIndex[env][i];
404 h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][i] = pBsData->aaIccIndex[env][i];
417 map34IndexTo20 (h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env], NO_HI_RES_IID_BINS);
419 map34IndexTo20 (h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env], NO_HI_RES_ICC_BINS);
437 h_ps_d, /*!< handle to struct PS_DEC */
450 if (!h_ps_d)
453 pBsData = &h_ps_d->bsData[h_ps_d->bsReadSlot].mpeg;
455 if (h_ps_d->bsReadSlot != h_ps_d->bsLastSlot) {
457 FDKmemcpy(pBsData, &h_ps_d->bsData[h_ps_d->bsLastSlot].mpeg, sizeof(MPEG_PS_BS_DATA));
498 h_ps_d->bPsDataAvail[h_ps_d->bsReadSlot] = ppt_none;
587 h_ps_d->bPsDataAvail[h_ps_d->bsReadSlot] = ppt_mpeg;