Lines Matching refs:maxVal
352 SHORT temp, maxVal = 0; in getScalefactorShort() local
356 maxVal |= (temp^(temp>>(SHORT_BITS-1))); in getScalefactorShort()
359 return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SHORT_BITS))); in getScalefactorShort()
379 INT_PCM temp, maxVal = 0; in getScalefactorPCM() local
383 maxVal |= (temp^(temp>>((sizeof(INT_PCM)*8)-1))); in getScalefactorPCM()
385 …return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SAMPLE_BITS))); in getScalefactorPCM()
405 SHORT temp, maxVal = 0; in getScalefactorShort() local
409 maxVal |= (temp^(temp>>(SHORT_BITS-1))); in getScalefactorShort()
412 return fixmax_I((INT)0,(INT)(fixnormz_D((INT)maxVal) - (INT)1 - (INT)(DFRACT_BITS - SHORT_BITS))); in getScalefactorShort()
433 FIXP_DBL temp, maxVal = (FIXP_DBL)0; in getScalefactor() local
437 maxVal |= (FIXP_DBL)((LONG)temp^(LONG)(temp>>(DFRACT_BITS-1))); in getScalefactor()
440 return fixmax_I((INT)0,(INT)(fixnormz_D(maxVal) - 1)); in getScalefactor()
451 SHORT temp, maxVal = (FIXP_SGL)0; in getScalefactor() local
455 maxVal |= (temp^(temp>>(FRACT_BITS-1))); in getScalefactor()
458 return fixmax_I((INT)0,(INT)(fixnormz_D(FX_SGL2FX_DBL((FIXP_SGL)maxVal)) - 1)); in getScalefactor()