Home | History | Annotate | Download | only in src

Lines Matching defs:diff

1206   int  diff;
1209 diff = (int) (nrgGain_e[band] - filtBuffer_e[band]);
1210 if (diff>0) {
1211 filtBuffer[band] >>= diff; /* Compensate for the scale change by shifting the mantissa. */
1212 filtBuffer_e[band] += diff; /* New gain is bigger, use its exponent */
1214 else if (diff<0) {
1220 if ((-diff) <= reserve) {
1224 filtBuffer[band] <<= (-diff);
1225 filtBuffer_e[band] += diff; /* becomes equal to *ptrNewExp */
1232 diff = fixMin(-(reserve + diff),DFRACT_BITS-1);
1233 nrgGain[band] >>= diff;
1234 nrgGain_e[band] += diff;