Lines Matching refs:PulseData
107 INT CPulseData_Read(HANDLE_FDK_BITSTREAM bs, CPulseData *const PulseData, in CPulseData_Read() argument
115 PulseData->PulseDataPresent = 0; in CPulseData_Read()
117 if ((PulseData->PulseDataPresent = (UCHAR)FDKreadBit(bs)) != 0) { in CPulseData_Read()
122 PulseData->NumberPulse = (UCHAR)FDKreadBits(bs, 2); in CPulseData_Read()
123 PulseData->PulseStartBand = (UCHAR)FDKreadBits(bs, 6); in CPulseData_Read()
125 if (PulseData->PulseStartBand >= MaxSfBands) { in CPulseData_Read()
129 k = sfb_startlines[PulseData->PulseStartBand]; in CPulseData_Read()
131 for (i = 0; i <= PulseData->NumberPulse; i++) { in CPulseData_Read()
132 PulseData->PulseOffset[i] = (UCHAR)FDKreadBits(bs, 5); in CPulseData_Read()
133 PulseData->PulseAmp[i] = (UCHAR)FDKreadBits(bs, 4); in CPulseData_Read()
134 k += PulseData->PulseOffset[i]; in CPulseData_Read()
146 CPulseData *PulseData, /*!< pointer to pulse data side info */ in CPulseData_Apply() argument
153 if (PulseData->PulseDataPresent) { in CPulseData_Apply()
154 k = pScaleFactorBandOffsets[PulseData->PulseStartBand]; in CPulseData_Apply()
156 for (i = 0; i <= PulseData->NumberPulse; i++) { in CPulseData_Apply()
157 k += PulseData->PulseOffset[i]; in CPulseData_Apply()
159 coef[k] += (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
161 coef[k] -= (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()