Home | History | Annotate | Download | only in src

Lines Matching defs:diff

1186   int  diff;
1189 diff = (int) (nrgGain_e[band] - filtBuffer_e[band]);
1190 if (diff>0) {
1191 filtBuffer[band] >>= diff; /* Compensate for the scale change by shifting the mantissa. */
1192 filtBuffer_e[band] += diff; /* New gain is bigger, use its exponent */
1194 else if (diff<0) {
1200 if ((-diff) <= reserve) {
1204 filtBuffer[band] <<= (-diff);
1205 filtBuffer_e[band] += diff; /* becomes equal to *ptrNewExp */
1212 diff = fixMin(-(reserve + diff),DFRACT_BITS-1);
1213 nrgGain[band] >>= diff;
1214 nrgGain_e[band] += diff;