Lines Matching defs:scale
438 f2s_array (const float *src, int count, short *dest, float scale)
441 { dest [i] = psf_lrintf (scale * src [i]) ;
446 f2s_clip_array (const float *src, int count, short *dest, float scale)
448 { float tmp = scale * src [i] ;
460 f2i_array (const float *src, int count, int *dest, float scale)
462 { dest [i] = psf_lrintf (scale * src [i]) ;
467 f2i_clip_array (const float *src, int count, int *dest, float scale)
469 { float tmp = scale * src [i] ;
488 s2f_array (const short *src, float *dest, int count, float scale)
490 { dest [i] = scale * src [i] ;
495 i2f_array (const int *src, float *dest, int count, float scale)
497 { dest [i] = scale * src [i] ;
517 float scale ;
521 scale = (psf->float_int_mult == 0) ? 1.0 : 0x7FFF / psf->float_max ;
532 convert (ubuf.fbuf, readcount, ptr + total, scale) ;
548 float scale ;
552 scale = (psf->float_int_mult == 0) ? 1.0 : 2147483648.0f / psf->float_max ;
562 convert (ubuf.fbuf, readcount, ptr + total, scale) ;
631 float scale ;
634 scale = (psf->scale_int_float == 0) ? 1.0 : 1.0 / 0x8000 ;
640 s2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ;
663 float scale ;
665 scale = (psf->scale_int_float == 0) ? 1.0 : 1.0 / (8.0 * 0x10000000) ;
671 i2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ;
757 float scale ;
760 scale = (psf->float_int_mult == 0) ? 1.0 : 0x7FFF / psf->float_max ;
772 f2s_array (ubuf.fbuf, readcount, ptr + total, scale) ;
787 float scale ;
790 scale = (psf->float_int_mult == 0) ? 1.0 : 2147483648.0f / psf->float_max ;
802 f2i_array (ubuf.fbuf, readcount, ptr + total, scale) ;
876 float scale ;
878 scale = (psf->scale_int_float == 0) ? 1.0 : 1.0 / 0x8000 ;
884 s2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ;
909 float scale ;
911 scale = (psf->scale_int_float == 0) ? 1.0 : 1.0 / (8.0 * 0x10000000) ;
917 i2f_array (ptr + total, ubuf.fbuf, bufferlen, scale) ;