summaryrefslogtreecommitdiff
path: root/tests/scale_clip_test.def
blob: 345981912b6b87c59a13fffe3779a4814c82cb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
autogen definitions scale_clip_test.tpl;

float_type = {
	float_type_name		= "float" ;
	float_short_name	= "flt" ;
	float_upper_name	= "FLOAT" ;
	float_to_int		= "lrintf" ;
	} ;

float_type = {
	float_type_name		= "double" ;
	float_short_name	= "dbl" ;
	float_upper_name	= "DOUBLE" ;
	float_to_int		= "lrint" ;
	} ;



int_type = {
	int_type_name	= "short" ;
	int_short_name	= "s" ;
	int_max_value	= 0x7FFFF ;
	} ;

int_type = {
	int_type_name	= "int" ;
	int_short_name	= "i" ;
	int_max_value	= 0x7FFFFFFF ;
	} ;



data_type = {
	name		= "16" ;
	bit_count	= 16 ;
	error_val	= "1.0 / 0x8000" ;
	} ;

data_type = {
	name		= "24" ;
	bit_count	= 24 ;
	error_val	= "1.0 / 0x800000" ;
	} ;

data_type = {
	name		= "32" ;
	bit_count	= 32 ;
	error_val	= "1.0 / 0x80000000" ;
	} ;

data_type = {
	name		= "08" ;
	bit_count	= 8 ;
	error_val	= "1.0 / 0x80" ;
	} ;