fine tuning

This commit is contained in:
tonton th 2021-01-12 11:05:17 +01:00
parent 3f44abc18d
commit b012e10b7e

View File

@ -21,7 +21,9 @@
extern int verbosity; extern int verbosity;
/* -------------------------------------------------------------- */ /* -------------------------------------------------------------- */
/*
* please, add some parameters !
*/
int incrustation_0(FloatImg *src, FloatImg *dst, int k) int incrustation_0(FloatImg *src, FloatImg *dst, int k)
{ {
int x, y, x4, y4; int x, y, x4, y4;
@ -36,7 +38,7 @@ x4 = dst->width / 4, y4 = dst->height / 4;
for (y=0; y<y4; y++) { for (y=0; y<y4; y++) {
for (x=0; x<x4; x++) { for (x=0; x<x4; x++) {
fimg_get_rgb(src, x*4, y*4, rgb); fimg_get_rgb(src, x*4, y*4, rgb);
fimg_put_rgb(dst, x+19, y+19, rgb); fimg_put_rgb(dst, x+39, y+39, rgb);
} }
} }