2021-05-04 09:56:18 +02:00
|
|
|
/*
|
|
|
|
RECURSION 'QUADTREE' SUR LES IMAGES
|
|
|
|
-----------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <math.h>
|
2021-05-17 22:38:56 +02:00
|
|
|
#include <stdint.h>
|
2022-03-19 01:21:58 +01:00
|
|
|
#include <sys/time.h>
|
2021-05-04 09:56:18 +02: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-22 15:32:09 +01:00
|
|
|
if (notused) {
|
|
|
|
fprintf(stderr, "%s parameter notused is %d, must be 0\n",
|
|
|
|
__func__, notused);
|
|
|
|
return -2;
|
|
|
|
}
|
|
|
|
|
2021-05-17 22:38:56 +02:00
|
|
|
fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__);
|
|
|
|
|
2021-10-10 22:35:19 +02:00
|
|
|
/*
|
|
|
|
* bon, maintenant, il faut plonger dans du code du
|
|
|
|
* siecle dernier et l'adapter a ce nouveau contexte
|
|
|
|
*/
|
|
|
|
|
2021-05-04 09:56:18 +02:00
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
|
|
/* -------------------------------------------------------------------- */
|