Lines Matching refs:sfboffs
147 INT sfb, sfboffs, j; /* loop counters */
158 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) {
159 if ((isBook == NULL) ? 1 : (isBook[sfb + sfboffs] == 0)) {
163 minThreshold=min(sfbThresholdLeft[sfb+sfboffs],
164 sfbThresholdRight[sfb+sfboffs])*scaleMinThres; pnlr =
165 (sfbThresholdLeft[sfb+sfboffs]/
166 max(sfbEnergyLeft[sfb+sfboffs],sfbThresholdLeft[sfb+sfboffs]))*
167 (sfbThresholdRight[sfb+sfboffs]/
168 max(sfbEnergyRight[sfb+sfboffs],sfbThresholdRight[sfb+sfboffs]));
170 (minThreshold/max(sfbEnergyMid[sfb+sfboffs],minThreshold))*
171 (minThreshold/max(sfbEnergySide[sfb+sfboffs],minThreshold));
176 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb + sfboffs],
177 sfbThresholdRightLdData[sfb + sfboffs]);
179 /* pnlrLdData = sfbThresholdLeftLdData[sfb+sfboffs] -
180 max(sfbEnergyLeftLdData[sfb+sfboffs],
181 sfbThresholdLeftLdData[sfb+sfboffs]) +
182 sfbThresholdRightLdData[sfb+sfboffs] -
183 max(sfbEnergyRightLdData[sfb+sfboffs],
184 sfbThresholdRightLdData[sfb+sfboffs]); */
185 tmp = fixMax(sfbEnergyLeftLdData[sfb + sfboffs],
186 sfbThresholdLeftLdData[sfb + sfboffs]);
187 pnlrLdData = (sfbThresholdLeftLdData[sfb + sfboffs] >> 1) - (tmp >> 1);
188 pnlrLdData = pnlrLdData + (sfbThresholdRightLdData[sfb + sfboffs] >> 1);
189 tmp = fixMax(sfbEnergyRightLdData[sfb + sfboffs],
190 sfbThresholdRightLdData[sfb + sfboffs]);
194 max(sfbEnergyMidLdData[sfb+sfboffs], minThresholdLdData) +
195 minThresholdLdData - max(sfbEnergySideLdData[sfb+sfboffs],
197 tmp = fixMax(sfbEnergyMidLdData[sfb + sfboffs], minThresholdLdData);
199 tmp = fixMax(sfbEnergySideLdData[sfb + sfboffs], minThresholdLdData);
204 msMask[sfb + sfboffs] = 1;
206 for (j = sfbOffset[sfb + sfboffs]; j < sfbOffset[sfb + sfboffs + 1];
214 minThreshold = fixMin(sfbThresholdLeft[sfb + sfboffs],
215 sfbThresholdRight[sfb + sfboffs]);
216 sfbThresholdLeft[sfb + sfboffs] = sfbThresholdRight[sfb + sfboffs] =
218 sfbThresholdLeftLdData[sfb + sfboffs] =
219 sfbThresholdRightLdData[sfb + sfboffs] = minThresholdLdData;
220 sfbEnergyLeft[sfb + sfboffs] = sfbEnergyMid[sfb + sfboffs];
221 sfbEnergyRight[sfb + sfboffs] = sfbEnergySide[sfb + sfboffs];
222 sfbEnergyLeftLdData[sfb + sfboffs] =
223 sfbEnergyMidLdData[sfb + sfboffs];
224 sfbEnergyRightLdData[sfb + sfboffs] =
225 sfbEnergySideLdData[sfb + sfboffs];
227 sfbSpreadEnLeft[sfb + sfboffs] = sfbSpreadEnRight[sfb + sfboffs] =
228 fixMin(sfbSpreadEnLeft[sfb + sfboffs],
229 sfbSpreadEnRight[sfb + sfboffs]) >>
233 msMask[sfb + sfboffs] = 0;
239 if (msMask[sfb + sfboffs]) {
245 } /* sfboffs */
254 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) {
255 if (((isBook == NULL) ? 1 : (isBook[sfb + sfboffs] == 0)) &&
256 (msMask[sfb + sfboffs] == 0)) {
257 msMask[sfb + sfboffs] = 1;
259 for (j = sfbOffset[sfb + sfboffs]; j < sfbOffset[sfb + sfboffs + 1];
267 minThreshold = fixMin(sfbThresholdLeft[sfb + sfboffs],
268 sfbThresholdRight[sfb + sfboffs]);
269 sfbThresholdLeft[sfb + sfboffs] = sfbThresholdRight[sfb + sfboffs] =
271 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb + sfboffs],
272 sfbThresholdRightLdData[sfb + sfboffs]);
273 sfbThresholdLeftLdData[sfb + sfboffs] =
274 sfbThresholdRightLdData[sfb + sfboffs] = minThresholdLdData;
275 sfbEnergyLeft[sfb + sfboffs] = sfbEnergyMid[sfb + sfboffs];
276 sfbEnergyRight[sfb + sfboffs] = sfbEnergySide[sfb + sfboffs];
277 sfbEnergyLeftLdData[sfb + sfboffs] =
278 sfbEnergyMidLdData[sfb + sfboffs];
279 sfbEnergyRightLdData[sfb + sfboffs] =
280 sfbEnergySideLdData[sfb + sfboffs];
282 sfbSpreadEnLeft[sfb + sfboffs] = sfbSpreadEnRight[sfb + sfboffs] =
283 fixMin(sfbSpreadEnLeft[sfb + sfboffs],
284 sfbSpreadEnRight[sfb + sfboffs]) >>