This commit is contained in:
tTh 2023-01-22 15:32:09 +01:00
parent d58decefcb
commit c004f22b16
5 changed files with 10 additions and 5 deletions

View File

@ -22,7 +22,6 @@ float minmax[6];
float rgb[3]; float rgb[3];
float dltr, dltg, dltb; /* delta des minmax */ float dltr, dltg, dltb; /* delta des minmax */
float dispx, dispy; float dispx, dispy;
int dstx, dsty; int dstx, dsty;
int in, out; int in, out;
@ -83,9 +82,7 @@ for (y=0; y<psrc->height; y++) {
fimg_put_rgb(pdst, dstx, dsty, rgb); fimg_put_rgb(pdst, dstx, dsty, rgb);
in++; in++;
} }
} }
} }
if (verbosity) fprintf(stderr, "%s -> in %d out %d\n", __func__, in, out); if (verbosity) fprintf(stderr, "%s -> in %d out %d\n", __func__, in, out);

View File

@ -171,7 +171,7 @@ unsigned char *bytes, *bptr;
double maximum, fk; double maximum, fk;
#if DEBUG_LEVEL #if DEBUG_LEVEL
fprintf(stderr, ">>> %-25s ( %p '%s' 0x%x )\n", __func__, src, outname, flags); fprintf(stderr, ">>> %s ( %p '%s' 0x%x )\n", __func__, src, outname, flags);
#endif #endif
if (flags) { if (flags) {

View File

@ -123,7 +123,6 @@ fprintf(stderr, ">>> %s ( %p %p %p )\n", __func__, in, out, rect);
if (verbosity > 1) { if (verbosity > 1) {
fimg_describe(in, "extractor: source"); fimg_describe(in, "extractor: source");
fimg_describe(out, "extractor: destination"); fimg_describe(out, "extractor: destination");
// print_rectangle(rect);
} }
/* /*

View File

@ -47,6 +47,9 @@ return -1;
} }
*/ */
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */
/*
* See also: fimg_extractor() in geometry.c
*/
int fimg_incrustator_0(FloatImg *psrc, FloatImg *pdst, int fimg_incrustator_0(FloatImg *psrc, FloatImg *pdst,
int xpos, int ypos, int flags) int xpos, int ypos, int flags)
{ {

View File

@ -22,6 +22,12 @@ int fimg_recursion_proto(FloatImg *src, FloatImg *dst, int notused)
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__, src, dst, notused); fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__, src, dst, notused);
#endif #endif
if (notused) {
fprintf(stderr, "%s parameter notused is %d, must be 0\n",
__func__, notused);
return -2;
}
fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__); fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__);
/* /*