H A D | lossy_comp_test.c | 652 int k, m, seekpos, half_max_abs ; in lcomp_test_short() local 768 seekpos = BUFFER_SIZE / 10 ; in lcomp_test_short() 771 if ((k = (int) sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_short() 772 { printf ("Seek to start of file + %d failed (%d).\n", seekpos, k) ; in lcomp_test_short() 778 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channels], margin)) in lcomp_test_short() 783 if ((k = (int) sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_short() 784 { printf ("\n\nLine %d: sf_seek (SEEK_CUR) with 0 offset failed (%d should be %d)\n", __LINE__, k, seekpos + 1) ; in lcomp_test_short() 788 seekpos = (int) sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_short() 791 if (error_function (1.0 * data [0], 1.0 * orig [seekpos * channel in lcomp_test_short() 840 sf_count_t datalen, seekpos ; lcomp_test_int() local 1037 int k, m, seekpos ; lcomp_test_float() local 1232 int k, m, seekpos ; lcomp_test_double() local 1428 int k, m, seekpos, half_max_abs ; sdlcomp_test_short() local 1648 int k, m, seekpos, half_max_abs ; sdlcomp_test_int() local 1872 int k, m, seekpos ; sdlcomp_test_float() local 2119 int k, m, seekpos ; sdlcomp_test_double() local [all...] |