FloatImg/funcs/recurse.c

47 lines
1.2 KiB
C
Raw Normal View History

2021-05-04 18:56:18 +11:00
/*
RECURSION 'QUADTREE' SUR LES IMAGES
-----------------------------------
*/
#include <stdio.h>
#include <math.h>
2021-05-18 07:38:56 +11:00
#include <stdint.h>
#include <sys/time.h>
2024-03-25 01:15:42 +11:00
#include <stdlib.h>
2021-05-04 18:56:18 +11:00
#include "../floatimg.h"
/* -------------------------------------------------------------------- */
/* may be we need some private variables ? */
/* -------------------------------------------------------------------- */
/* nouveau 29 avril 2021, pendant un autre masque-flamme coronavidique */
int fimg_recursion_proto(FloatImg *src, FloatImg *dst, int notused)
{
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__, src, dst, notused);
#endif
2023-01-23 01:32:09 +11:00
if (notused) {
fprintf(stderr, "%s parameter notused is %d, must be 0\n",
__func__, notused);
return -2;
}
2021-05-18 07:38:56 +11:00
fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__);
2024-03-25 01:15:42 +11:00
if (fimg_images_not_compatible(src, dst)) {
fprintf(stderr, "%s: compatibility fatalerror\n", __func__);
exit(1);
}
2021-10-11 07:35:19 +11:00
/*
* bon, maintenant, il faut plonger dans du code du
* siecle dernier et l'adapter a ce nouveau contexte
*/
2021-05-04 18:56:18 +11:00
return -1;
}
/* -------------------------------------------------------------------- */
/* -------------------------------------------------------------------- */