Lines Matching defs:result
87 result = d' - 2^31/1.38... =~ 2^31 * ((raw * 2.0 + 1.0) / (2^bits - 1) - 1) / 1.38...
89 result is therefore a scaled approximation to dequant. It remains only to
127 float result = (1 << (scale_factor+1)) * ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f);
129 result /= SBC_DEQUANT_SCALING_FACTOR;
136 OI_ASSERT(fabs(result) < 32768 * 1.6);
138 return result;
147 OI_INT32 result;
158 result = d - SBC_DEQUANT_LONG_SCALED_OFFSET;
169 OI_ASSERT(((result >= 0) && (integerized_float_result >= 0)) ||
170 ((result <= 0) && (integerized_float_result <= 0)));
173 return result >> (15 - scale_factor);
180 * the encoder is conformant) the result will fit a 24 bit fixed point signed
186 OI_INT32 result;
196 result = (raw << 16) + raw - 0x7fff7fff;
197 return SCALE(result, 24 - scale_factor);
203 result = d - 0x80000000;
205 return SCALE(result, 24 - scale_factor);