
Chris@0: autogen definitions scale_clip_test.tpl;
Chris@0: 
Chris@0: float_type = {
Chris@0: 	float_type_name		= "float" ;
Chris@0: 	float_short_name	= "flt" ;
Chris@0: 	float_upper_name	= "FLOAT" ;
Chris@0: 	float_to_int		= "lrintf" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: float_type = {
Chris@0: 	float_type_name		= "double" ;
Chris@0: 	float_short_name	= "dbl" ;
Chris@0: 	float_upper_name	= "DOUBLE" ;
Chris@0: 	float_to_int		= "lrint" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: 
Chris@0: 
Chris@0: int_type = {
Chris@0: 	int_type_name	= "short" ;
Chris@0: 	int_short_name	= "s" ;
Chris@0: 	int_max_value	= 0x7FFFF ;
Chris@0: 	} ;
Chris@0: 
Chris@0: int_type = {
Chris@0: 	int_type_name	= "int" ;
Chris@0: 	int_short_name	= "i" ;
Chris@0: 	int_max_value	= 0x7FFFFFFF ;
Chris@0: 	} ;
Chris@0: 
Chris@0: 
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "16" ;
Chris@0: 	bit_count	= 16 ;
Chris@0: 	error_val	= "1.0 / 0x8000" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "24" ;
Chris@0: 	bit_count	= 24 ;
Chris@0: 	error_val	= "1.0 / 0x800000" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "32" ;
Chris@0: 	bit_count	= 32 ;
Chris@0: 	error_val	= "1.0 / 0x80000000" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "08" ;
Chris@0: 	bit_count	= 8 ;
Chris@0: 	error_val	= "1.0 / 0x80" ;
Chris@0: 	} ;
Chris@0: 




