1autogen definitions scale_clip_test.tpl; 2 3float_type = { 4 float_type_name = "float" ; 5 float_short_name = "flt" ; 6 float_upper_name = "FLOAT" ; 7 float_to_int = "lrintf" ; 8 } ; 9 10float_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 19int_type = { 20 int_type_name = "short" ; 21 int_short_name = "s" ; 22 int_max_value = "0x7FFFF" ; 23 } ; 24 25int_type = { 26 int_type_name = "int" ; 27 int_short_name = "i" ; 28 int_max_value = "0x7FFFFFFF" ; 29 } ; 30 31 32 33data_type = { 34 name = "16" ; 35 bit_count = 16 ; 36 error_val = "1.0 / 0x8000" ; 37 } ; 38 39data_type = { 40 name = "24" ; 41 bit_count = 24 ; 42 error_val = "1.0 / 0x800000" ; 43 } ; 44 45data_type = { 46 name = "32" ; 47 bit_count = 32 ; 48 error_val = "1.0 / 0x80000000" ; 49 } ; 50 51data_type = { 52 name = "08" ; 53 bit_count = 8 ; 54 error_val = "1.0 / 0x80" ; 55 } ; 56 57