Bibliothèque de traitements d'images en virgule flottante.
http://la.buvette.org/photos/cumul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
621 B
27 lines
621 B
#!/usr/bin/awk -f |
|
|
|
# |
|
# this utility script make a file who |
|
# is includet by 'crapulator.c' |
|
# |
|
BEGIN { |
|
print "// -----------------------------------" |
|
print "// generated file, do not edit by hand"; |
|
print "// -----------------------------------" |
|
print "Crapulor CrapL[] = {"; |
|
} |
|
|
|
# $1 is the badly brain-designed numeric id |
|
# $2 is the user name of the filter |
|
# $3 and $4 are two not used parameters |
|
# |
|
{ |
|
printf " { CR_%s, \"%s\", %d, %f }, // id=%d\n", |
|
$2, $2, $3, $4, $1; |
|
} |
|
|
|
END { |
|
print " { -1, NULL }" |
|
print " };" |
|
print "// generated file, do not edit by hand" |
|
}
|
|
|