Imported Upstream version 1.0.26
[platform/upstream/libsndfile.git] / tests / scale_clip_test.def
1 autogen definitions scale_clip_test.tpl;
2
3 float_type = {
4         float_type_name         = "float" ;
5         float_short_name        = "flt" ;
6         float_upper_name        = "FLOAT" ;
7         float_to_int            = "lrintf" ;
8         } ;
9
10 float_type = {
11         float_type_name         = "double" ;
12         float_short_name        = "dbl" ;
13         float_upper_name        = "DOUBLE" ;
14         float_to_int            = "lrint" ;
15         } ;
16
17
18
19 int_type = {
20         int_type_name   = "short" ;
21         int_short_name  = "s" ;
22         int_max_value   = "0x7FFFF" ;
23         } ;
24
25 int_type = {
26         int_type_name   = "int" ;
27         int_short_name  = "i" ;
28         int_max_value   = "0x7FFFFFFF" ;
29         } ;
30
31
32
33 data_type = {
34         name            = "16" ;
35         bit_count       = 16 ;
36         error_val       = "1.0 / 0x8000" ;
37         } ;
38
39 data_type = {
40         name            = "24" ;
41         bit_count       = 24 ;
42         error_val       = "1.0 / 0x800000" ;
43         } ;
44
45 data_type = {
46         name            = "32" ;
47         bit_count       = 32 ;
48         error_val       = "1.0 / 0x80000000" ;
49         } ;
50
51 data_type = {
52         name            = "08" ;
53         bit_count       = 8 ;
54         error_val       = "1.0 / 0x80" ;
55         } ;
56