• Home
  • Raw
  • Download

Lines Matching refs:pPvcDynamicData

396                  PVC_DYNAMIC_DATA *pPvcDynamicData, const UCHAR pvcMode,  in pvcInitFrame()  argument
400 pPvcDynamicData->pvc_mode = pvcMode; in pvcInitFrame()
401 pPvcDynamicData->kx = kx; in pvcInitFrame()
402 pPvcDynamicData->RATE = RATE; in pvcInitFrame()
409 pPvcDynamicData->nbHigh = 8; in pvcInitFrame()
410 pPvcDynamicData->pPVCTab1 = (const UCHAR *)g_3a_pvcTab1_mode1; in pvcInitFrame()
411 pPvcDynamicData->pPVCTab2 = (const UCHAR *)g_2a_pvcTab2_mode1; in pvcInitFrame()
412 pPvcDynamicData->pPVCTab1_dp = g_a_pvcTab1_dp_mode1; in pvcInitFrame()
413 pPvcDynamicData->pScalingCoef = g_a_scalingCoef_mode1; in pvcInitFrame()
417 pPvcDynamicData->nbHigh = 6; in pvcInitFrame()
418 pPvcDynamicData->pPVCTab1 = (const UCHAR *)g_3a_pvcTab1_mode2; in pvcInitFrame()
419 pPvcDynamicData->pPVCTab2 = (const UCHAR *)g_2a_pvcTab2_mode2; in pvcInitFrame()
420 pPvcDynamicData->pPVCTab1_dp = g_a_pvcTab1_dp_mode2; in pvcInitFrame()
421 pPvcDynamicData->pScalingCoef = g_a_scalingCoef_mode2; in pvcInitFrame()
429 pPvcDynamicData->pvcBorder0 = pvcBorder0; in pvcInitFrame()
432 pPvcDynamicData->pPvcID = pPvcID; in pvcInitFrame()
434 pPvcDynamicData->ns = ns; in pvcInitFrame()
437 pPvcDynamicData->pSCcoeffs = pvc_SC_16; in pvcInitFrame()
440 pPvcDynamicData->pSCcoeffs = pvc_SC_12; in pvcInitFrame()
443 pPvcDynamicData->pSCcoeffs = pvc_SC_4; in pvcInitFrame()
446 pPvcDynamicData->pSCcoeffs = pvc_SC_3; in pvcInitFrame()
459 pPvcDynamicData->pastEsgSlotsAvail = 0; in pvcInitFrame()
461 pPvcDynamicData->pastEsgSlotsAvail = PVC_NS_MAX - pvcBorder0_last; in pvcInitFrame()
468 pPvcDynamicData->sg_offset_low[i] = temp; in pvcInitFrame()
473 for (i = 0; i <= pPvcDynamicData->nbHigh; i++) { in pvcInitFrame()
474 pPvcDynamicData->sg_offset_high_kx[i] = temp; in pvcInitFrame()
483 PVC_DYNAMIC_DATA *pPvcDynamicData, FIXP_DBL **qmfBufferReal, in pvcDecodeFrame() argument
489 int RATE = pPvcDynamicData->RATE; in pvcDecodeFrame()
490 int pvcBorder0 = pPvcDynamicData->pvcBorder0; in pvcDecodeFrame()
493 int *pPredEsg_exp = &pPvcDynamicData->predEsg_exp[t]; in pvcDecodeFrame()
494 predictedEsgSlot = pPvcDynamicData->predEsg[t]; in pvcDecodeFrame()
497 pPvcStaticData, pPvcDynamicData, &qmfBufferReal[t * RATE], in pvcDecodeFrame()
507 PVC_DYNAMIC_DATA *pPvcDynamicData, in pvcDecodeTimeSlot() argument
513 int RATE = pPvcDynamicData->RATE; in pvcDecodeTimeSlot()
515 const SCHAR *sg_borders = pPvcDynamicData->sg_offset_low; in pvcDecodeTimeSlot()
563 for (i = 0; i < pPvcDynamicData->ns; i++) { in pvcDecodeTimeSlot()
564 SCcoeff = pPvcDynamicData->pSCcoeffs[i]; in pvcDecodeTimeSlot()
570 if (i >= pPvcDynamicData->pastEsgSlotsAvail) { in pvcDecodeTimeSlot()
588 int pvcTab2ID = (int)pPvcDynamicData->pPvcID[timeSlotNumber]; in pvcDecodeTimeSlot()
590 if (pvcTab2ID < pPvcDynamicData->pPVCTab1_dp[0]) { in pvcDecodeTimeSlot()
592 } else if (pvcTab2ID < pPvcDynamicData->pPVCTab1_dp[1]) { in pvcDecodeTimeSlot()
597 pTab1 = &(pPvcDynamicData in pvcDecodeTimeSlot()
598 ->pPVCTab1[pvcTab1ID * PVC_NBLOW * pPvcDynamicData->nbHigh]); in pvcDecodeTimeSlot()
599 pTab2 = &(pPvcDynamicData->pPVCTab2[pvcTab2ID * pPvcDynamicData->nbHigh]); in pvcDecodeTimeSlot()
600 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in pvcDecodeTimeSlot()
608 pPvcDynamicData->pScalingCoef[3]); in pvcDecodeTimeSlot()
613 (SHORT)(SCHAR)pTab1[kb * pPvcDynamicData->nbHigh + ksg] << 8); in pvcDecodeTimeSlot()
614 predCoeff_exp = -(pPvcDynamicData->pScalingCoef[kb] + 1 - in pvcDecodeTimeSlot()
631 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in pvcDecodeTimeSlot()
640 pPvcDynamicData->pastEsgSlotsAvail = in pvcDecodeTimeSlot()
641 fMin(pPvcDynamicData->pastEsgSlotsAvail + 1, PVC_NS_MAX - 1); in pvcDecodeTimeSlot()
647 PVC_DYNAMIC_DATA *pPvcDynamicData) { in pvcEndFrame() argument
648 pPvcStaticData->pvc_mode_last = pPvcDynamicData->pvc_mode; in pvcEndFrame()
649 pPvcStaticData->kx_last = pPvcDynamicData->kx; in pvcEndFrame()
651 if (pPvcDynamicData->pvc_mode == 0) return; in pvcEndFrame()
655 for (t = pPvcDynamicData->pvcBorder0; t < PVC_NTIMESLOT; t++) { in pvcEndFrame()
656 if (pPvcDynamicData->predEsg_exp[t] > max) { in pvcEndFrame()
657 max = pPvcDynamicData->predEsg_exp[t]; in pvcEndFrame()
660 pPvcDynamicData->predEsg_expMax = max; in pvcEndFrame()
665 void expandPredEsg(const PVC_DYNAMIC_DATA *pPvcDynamicData, const int timeSlot, in expandPredEsg() argument
669 const FIXP_DBL *predEsg = pPvcDynamicData->predEsg[timeSlot]; in expandPredEsg()
671 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in expandPredEsg()
672 for (; k < pPvcDynamicData->sg_offset_high_kx[ksg + 1]; k++) { in expandPredEsg()
674 pOutput_exp[k] = (SCHAR)pPvcDynamicData->predEsg_exp[timeSlot]; in expandPredEsg()
680 pOutput_exp[k] = (SCHAR)pPvcDynamicData->predEsg_exp[timeSlot]; in expandPredEsg()