Lines Matching refs:band
113 int group,band; in CJointStereo_Read() local
129 for (band=0; band<scaleFactorBandsTransmitted; band++) in CJointStereo_Read()
131 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs,1) << group); in CJointStereo_Read()
138 for (band=0; band<scaleFactorBandsTransmitted; band++) in CJointStereo_Read()
140 pJointStereoData->MsUsed[band] = 255 ; /* set all flags to 1 */ in CJointStereo_Read()
168 int band; in CJointStereo_ApplyMS() local
176 for (band=0; band<scaleFactorBandsTransmitted; band++) in CJointStereo_ApplyMS()
178 if (pJointStereoData->MsUsed[band] & groupMask) in CJointStereo_ApplyMS()
180 int lScale=leftScale[band]; in CJointStereo_ApplyMS()
181 int rScale=rightScale[band]; in CJointStereo_ApplyMS()
190 leftScale[band]=commonScale; in CJointStereo_ApplyMS()
191 rightScale[band]=commonScale; in CJointStereo_ApplyMS()
198 … for (int index=pScaleFactorBandOffsets[band]; index<pScaleFactorBandOffsets[band+1]; index++) in CJointStereo_ApplyMS()
246 int band; in CJointStereo_ApplyIS() local
251 for (band=0; band<scaleFactorBandsTransmitted; band++) in CJointStereo_ApplyIS()
253 if ((CodeBook [band] == INTENSITY_HCB) || in CJointStereo_ApplyIS()
254 (CodeBook [band] == INTENSITY_HCB2)) in CJointStereo_ApplyIS()
256 int bandScale = -(ScaleFactor [band] + 100) ; in CJointStereo_ApplyIS()
271 rightScale[band] = leftScale[band]+msb+1; in CJointStereo_ApplyIS()
273 if (CommonWindow && (pJointStereoData->MsUsed[band] & groupMask)) in CJointStereo_ApplyIS()
276 if (CodeBook[band] == INTENSITY_HCB) /* _NOT_ in-phase */ in CJointStereo_ApplyIS()
283 if (CodeBook[band] == INTENSITY_HCB2) /* out-of-phase */ in CJointStereo_ApplyIS()
289 … for (int index=pScaleFactorBandOffsets[band]; index<pScaleFactorBandOffsets[band+1]; index++) in CJointStereo_ApplyIS()