Lines Matching refs:smooth

1430 	short			*orig, *data, *smooth ;
1441 smooth = smooth_buffer.s ;
1524 memcpy (smooth, orig, datalen * sizeof (short)) ;
1526 smoothed_diff_short (smooth, (unsigned int) datalen) ;
1530 { if (error_function (1.0 * data [k], 1.0 * smooth [k], margin))
1531 { printf ("\nLine %d: Incorrect sample (#%d : %d should be %d).\n", __LINE__, k, data [k], smooth [k]) ;
1532 oct_save_short (orig, smooth, (int) datalen) ;
1567 memcpy (smooth, orig + m * datalen / 7, datalen / 7 * sizeof (short)) ;
1568 smoothed_diff_short (smooth, (unsigned int) (datalen / 7)) ;
1571 if (error_function (1.0 * data [k], 1.0 * smooth [k], margin))
1572 { printf ("\nLine %d: Incorrect sample C (#%d (%" PRId64 ") : %d => %d).\n", __LINE__, k, k + m * (datalen / 7), smooth [k], data [k]) ;
1650 int *orig, *data, *smooth ;
1663 smooth = smooth_buffer.i ;
1742 memcpy (smooth, orig, datalen * sizeof (int)) ;
1744 smoothed_diff_int (smooth, (unsigned int) datalen) ;
1748 { if (error_function (data [k] / scale, smooth [k] / scale, margin))
1749 { printf ("\nLine %d: Incorrect sample (#%d : %d should be %d).\n", __LINE__, k, data [k], smooth [k]) ;
1750 oct_save_int (orig, smooth, (int) datalen) ;
1791 memcpy (smooth, orig + m * datalen / 7, datalen / 7 * sizeof (int)) ;
1792 smoothed_diff_int (smooth, (unsigned int) (datalen / 7)) ;
1795 if (error_function (data [k] / scale, smooth [k] / scale, margin))
1796 { printf ("\nLine %d: Incorrect sample (#%d (%" PRId64 ") : %d => %d).\n", __LINE__, k, k + m * (datalen / 7), smooth [k], data [k]) ;
1874 float *orig, *data, *smooth ;
1909 smooth = smooth_buffer.f ;
1994 memcpy (smooth, orig, datalen * sizeof (float)) ;
1996 smoothed_diff_float (smooth, (unsigned int) datalen) ;
2000 { if (error_function (data [k] * scale, smooth [k] * scale, margin))
2001 { printf ("\nLine %d: Incorrect sample (#%d : %d should be %d).\n", __LINE__, k, (int) (data [k] * scale), (int) (smooth [k] * scale)) ;
2002 oct_save_float (orig, smooth, (int) datalen) ;
2038 memcpy (smooth, orig + m * datalen / 7, datalen / 7 * sizeof (float)) ;
2039 smoothed_diff_float (smooth, (unsigned int) (datalen / 7)) ;
2042 if (error_function (data [k] * scale, smooth [k] * scale, margin))
2043 { printf ("\nLine %d: Incorrect sample C (#%d (%" PRId64 ") : %d => %d).\n", __LINE__, k, k + m * (datalen / 7), (int) (smooth [k] * scale), (int) (data [k] * scale)) ;
2121 double *orig, *data, *smooth, half_max_abs, scale ;
2155 smooth = smooth_buffer.d ;
2239 memcpy (smooth, orig, datalen * sizeof (double)) ;
2241 smoothed_diff_double (smooth, (unsigned int) datalen) ;
2245 { if (error_function (data [k] * scale, smooth [k] * scale, margin))
2246 { printf ("\n\nLine %d: Incorrect sample (#%d : %d should be %d).\n", __LINE__, k, (int) (data [k] * scale), (int) (smooth [k] * scale)) ;
2247 oct_save_double (orig, smooth, (int) datalen) ;
2282 memcpy (smooth, orig + m * datalen / 7, datalen / 7 * sizeof (double)) ;
2283 smoothed_diff_double (smooth, (unsigned int) (datalen / 7)) ;
2286 if (error_function (data [k] * scale, smooth [k] * scale, margin))
2287 { printf ("\nLine %d: Incorrect sample C (#%d (%" PRId64 ") : %d => %d).\n", __LINE__, k, k + m * (datalen / 7), (int) (smooth [k] * scale), (int) (data [k] * scale)) ;