pipdeprod next-gen is coming
This commit is contained in:
19
Fonderie/t.c
19
Fonderie/t.c
@@ -12,6 +12,7 @@
|
||||
#include "sfx.h"
|
||||
#include "filterstack.h"
|
||||
#include "crapulator.h"
|
||||
#include "single.h"
|
||||
|
||||
/* ----------------------------------------------------------- */
|
||||
|
||||
@@ -81,14 +82,9 @@ int foo;
|
||||
|
||||
fprintf(stderr, "EXPERIMENT\n");
|
||||
|
||||
list_crapulors("experiment");
|
||||
foo = essayer_single("capture/???42.fimg", "/tmp/x8/", STK);
|
||||
|
||||
#if 0
|
||||
foo = crap_number_from_name("cos01");
|
||||
fprintf(stderr, "name cos01 -> %d\n", foo);
|
||||
foo = crap_number_from_name("xxxxx");
|
||||
fprintf(stderr, "name xxxxx -> %d\n", foo);
|
||||
#endif
|
||||
fprintf(stderr, "essayer single -> %d\n", foo);
|
||||
|
||||
exit(0); /* back to real world */
|
||||
}
|
||||
@@ -97,10 +93,11 @@ exit(0); /* back to real world */
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int foo;
|
||||
int opt;
|
||||
int opt, do_xper = 0;
|
||||
char *filterchain = "0";
|
||||
char *infile = "mire.fimg";
|
||||
char *outfile = "out.png";
|
||||
char *outdir = "/tmp/x8/";
|
||||
|
||||
fprintf(stderr, "*** %s : compiled by tTh, %s %s\n", __FILE__,
|
||||
__DATE__, __TIME__);
|
||||
@@ -116,7 +113,7 @@ while ((opt = getopt(argc, argv, "hF:i:Lo:vx")) != -1) {
|
||||
exit(0);
|
||||
case 'o': outfile = optarg; break;
|
||||
case 'v': verbosity++; break;
|
||||
case 'x': experiment(); break;
|
||||
case 'x': do_xper = 1; break;
|
||||
default: exit(1);
|
||||
}
|
||||
}
|
||||
@@ -131,6 +128,10 @@ if (foo) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (do_xper) {
|
||||
experiment();
|
||||
}
|
||||
|
||||
foo = essai_filterstack(infile, outfile);
|
||||
if (foo) {
|
||||
fprintf(stderr, "err %d in essai_filterstack\n", foo);
|
||||
|
||||
Reference in New Issue
Block a user