Lines Matching refs:PulseData
99 CPulseData *const PulseData, in CPulseData_Read() argument
109 PulseData->PulseDataPresent = 0; in CPulseData_Read()
111 if ((PulseData->PulseDataPresent = (UCHAR) FDKreadBit(bs)) != 0) { in CPulseData_Read()
116 PulseData->NumberPulse = (UCHAR) FDKreadBits(bs,2); in CPulseData_Read()
117 PulseData->PulseStartBand = (UCHAR) FDKreadBits(bs,6); in CPulseData_Read()
119 if (PulseData->PulseStartBand >= MaxSfBands) { in CPulseData_Read()
123 k = sfb_startlines[PulseData->PulseStartBand]; in CPulseData_Read()
125 for (i=0; i<=PulseData->NumberPulse; i++) { in CPulseData_Read()
126 PulseData->PulseOffset[i] = (UCHAR) FDKreadBits(bs,5); in CPulseData_Read()
127 PulseData->PulseAmp[i] = (UCHAR) FDKreadBits(bs,4); in CPulseData_Read()
128 k += PulseData->PulseOffset[i]; in CPulseData_Read()
140 void CPulseData_Apply(CPulseData *PulseData, /*!< pointer to pulse data side info */ in CPulseData_Apply() argument
146 if (PulseData->PulseDataPresent) in CPulseData_Apply()
148 k = pScaleFactorBandOffsets[PulseData->PulseStartBand]; in CPulseData_Apply()
150 for (i=0; i<=PulseData->NumberPulse; i++) in CPulseData_Apply()
152 k += PulseData->PulseOffset[i]; in CPulseData_Apply()
153 if (coef [k] > (FIXP_DBL)0) coef[k] += (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
154 else coef[k] -= (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()