Lines Matching defs:normfact
496 static void dsc2f_array (XI_PRIVATE *pxi, signed char *src, int count, float *dest, float normfact) ;
497 static void dsc2d_array (XI_PRIVATE *pxi, signed char *src, int count, double *dest, double normfact) ;
501 static void dles2f_array (XI_PRIVATE *pxi, short *src, int count, float *dest, float normfact) ;
502 static void dles2d_array (XI_PRIVATE *pxi, short *src, int count, double *dest, double normfact) ;
562 float normfact ;
567 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x80) : 1.0 ;
575 dsc2f_array (pxi, ubuf.scbuf, readcount, ptr + total, normfact) ;
591 double normfact ;
596 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x80) : 1.0 ;
604 dsc2d_array (pxi, ubuf.scbuf, readcount, ptr + total, normfact) ;
675 float normfact ;
680 normfact = (psf->norm_float == SF_TRUE) ? 1.0 / ((float) 0x8000) : 1.0 ;
688 dles2f_array (pxi, ubuf.sbuf, readcount, ptr + total, normfact) ;
704 double normfact ;
709 normfact = (psf->norm_double == SF_TRUE) ? 1.0 / ((double) 0x8000) : 1.0 ;
717 dles2d_array (pxi, ubuf.sbuf, readcount, ptr + total, normfact) ;
732 static void f2dsc_array (XI_PRIVATE *pxi, const float *src, signed char *dest, int count, float normfact) ;
733 static void d2dsc_array (XI_PRIVATE *pxi, const double *src, signed char *dest, int count, double normfact) ;
737 static void f2dles_array (XI_PRIVATE *pxi, const float *src, short *dest, int count, float normfact) ;
738 static void d2dles_array (XI_PRIVATE *pxi, const double *src, short *dest, int count, double normfact) ;
799 float normfact ;
804 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7F) : 1.0 ;
811 f2dsc_array (pxi, ptr + total, ubuf.scbuf, bufferlen, normfact) ;
828 double normfact ;
833 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7F) : 1.0 ;
840 d2dsc_array (pxi, ptr + total, ubuf.scbuf, bufferlen, normfact) ;
910 float normfact ;
915 normfact = (psf->norm_float == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ;
922 f2dles_array (pxi, ptr + total, ubuf.sbuf, bufferlen, normfact) ;
939 double normfact ;
944 normfact = (psf->norm_double == SF_TRUE) ? (1.0 * 0x7FFF) : 1.0 ;
951 d2dles_array (pxi, ptr + total, ubuf.sbuf, bufferlen, normfact) ;
997 dsc2f_array (XI_PRIVATE *pxi, signed char *src, int count, float *dest, float normfact)
1005 dest [k] = last_val * normfact ;
1012 dsc2d_array (XI_PRIVATE *pxi, signed char *src, int count, double *dest, double normfact)
1020 dest [k] = last_val * normfact ;
1062 f2dsc_array (XI_PRIVATE *pxi, const float *src, signed char *dest, int count, float normfact)
1069 { current = psf_lrintf (src [k] * normfact) ;
1078 d2dsc_array (XI_PRIVATE *pxi, const double *src, signed char *dest, int count, double normfact)
1085 { current = psf_lrint (src [k] * normfact) ;
1127 dles2f_array (XI_PRIVATE *pxi, short *src, int count, float *dest, float normfact)
1135 dest [k] = last_val * normfact ;
1142 dles2d_array (XI_PRIVATE *pxi, short *src, int count, double *dest, double normfact)
1150 dest [k] = last_val * normfact ;
1192 f2dles_array (XI_PRIVATE *pxi, const float *src, short *dest, int count, float normfact)
1199 { current = psf_lrintf (src [k] * normfact) ;
1209 d2dles_array (XI_PRIVATE *pxi, const double *src, short *dest, int count, double normfact)
1216 { current = psf_lrint (src [k] * normfact) ;