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

  1. #!/usr/bin/awk -f
  2. #
  3. # this utility script make a file who
  4. # is includet by 'crapulator.c'
  5. #
  6. BEGIN {
  7. print "// -----------------------------------"
  8. print "// generated file, do not edit by hand";
  9. print "// -----------------------------------"
  10. print "Crapulor CrapL[] = {";
  11. }
  12. # $1 is the badly brain-designed numeric id
  13. # $2 is the user name of the filter
  14. # $3 and $4 are two not used parameters
  15. #
  16. {
  17. printf " { CR_%s, \"%s\", %d, %f }, // id=%d\n",
  18. $2, $2, $3, $4, $1;
  19. }
  20. END {
  21. print " { -1, NULL }"
  22. print " };"
  23. print "// generated file, do not edit by hand"
  24. }