• 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()
562 for (i = 0; i < pPvcDynamicData->ns; i++) { in pvcDecodeTimeSlot()
563 SCcoeff = pPvcDynamicData->pSCcoeffs[i]; in pvcDecodeTimeSlot()
569 if (i >= pPvcDynamicData->pastEsgSlotsAvail) { in pvcDecodeTimeSlot()
587 int pvcTab2ID = (int)pPvcDynamicData->pPvcID[timeSlotNumber]; in pvcDecodeTimeSlot()
589 if (pvcTab2ID < pPvcDynamicData->pPVCTab1_dp[0]) { in pvcDecodeTimeSlot()
591 } else if (pvcTab2ID < pPvcDynamicData->pPVCTab1_dp[1]) { in pvcDecodeTimeSlot()
596 pTab1 = &(pPvcDynamicData in pvcDecodeTimeSlot()
597 ->pPVCTab1[pvcTab1ID * PVC_NBLOW * pPvcDynamicData->nbHigh]); in pvcDecodeTimeSlot()
598 pTab2 = &(pPvcDynamicData->pPVCTab2[pvcTab2ID * pPvcDynamicData->nbHigh]); in pvcDecodeTimeSlot()
599 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in pvcDecodeTimeSlot()
607 pPvcDynamicData->pScalingCoef[3]); in pvcDecodeTimeSlot()
612 (SHORT)(SCHAR)pTab1[kb * pPvcDynamicData->nbHigh + ksg] << 8); in pvcDecodeTimeSlot()
613 predCoeff_exp = pPvcDynamicData->pScalingCoef[kb] + in pvcDecodeTimeSlot()
630 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in pvcDecodeTimeSlot()
639 pPvcDynamicData->pastEsgSlotsAvail = in pvcDecodeTimeSlot()
640 fMin(pPvcDynamicData->pastEsgSlotsAvail + 1, PVC_NS_MAX - 1); in pvcDecodeTimeSlot()
646 PVC_DYNAMIC_DATA *pPvcDynamicData) { in pvcEndFrame() argument
647 pPvcStaticData->pvc_mode_last = pPvcDynamicData->pvc_mode; in pvcEndFrame()
648 pPvcStaticData->kx_last = pPvcDynamicData->kx; in pvcEndFrame()
650 if (pPvcDynamicData->pvc_mode == 0) return; in pvcEndFrame()
654 for (t = pPvcDynamicData->pvcBorder0; t < PVC_NTIMESLOT; t++) { in pvcEndFrame()
655 if (pPvcDynamicData->predEsg_exp[t] > max) { in pvcEndFrame()
656 max = pPvcDynamicData->predEsg_exp[t]; in pvcEndFrame()
659 pPvcDynamicData->predEsg_expMax = max; in pvcEndFrame()
664 void expandPredEsg(const PVC_DYNAMIC_DATA *pPvcDynamicData, const int timeSlot, in expandPredEsg() argument
668 const FIXP_DBL *predEsg = pPvcDynamicData->predEsg[timeSlot]; in expandPredEsg()
670 for (ksg = 0; ksg < pPvcDynamicData->nbHigh; ksg++) { in expandPredEsg()
671 for (; k < pPvcDynamicData->sg_offset_high_kx[ksg + 1]; k++) { in expandPredEsg()
673 pOutput_exp[k] = (SCHAR)pPvcDynamicData->predEsg_exp[timeSlot]; in expandPredEsg()
679 pOutput_exp[k] = (SCHAR)pPvcDynamicData->predEsg_exp[timeSlot]; in expandPredEsg()