Lines Matching full:exponent
646 Energy levels are transmitted in powers of 2, i.e. only the exponent
655 part of the exponent for each reference energy. The array iEnvelope
669 int exponent;
691 exponent = (LONG)h_sbr_data->iEnvelope[i];
695 exponent = exponent >> ampShift;
699 exponent (result will be between 0.500000 and 0.999999)
701 mask = 1; /* begin with lowest bit of exponent */
704 if (exponent & mask) {
705 /* The current bit of the exponent is set,
713 /* Make integer part of exponent right aligned */
714 exponent = exponent >> ENV_EXP_FRACT;
717 /* In case of the high amplitude resolution, 1 bit of the exponent gets lost by the shift.
719 mantissa = (exponent & ampShift) ? FL2FXCONST_SGL(0.707106781186548f) : FL2FXCONST_SGL(0.5f);
720 exponent = exponent >> ampShift;
724 Mantissa was set to 0.5 (instead of 1.0, therefore increase exponent by 1).
725 Multiply by L=nChannels=64 by increasing exponent by another 6.
726 => Increase exponent by 7
728 exponent += 7 + NRG_EXP_OFFSET;
730 /* Combine mantissa and exponent and write back the result */
731 h_sbr_data->iEnvelope[i] = (FIXP_SGL)(((LONG)mantissa & MASK_M) | (exponent & MASK_E));
848 (nf_e & MASK_E) ); /* exponent */