reuse an old func

This commit is contained in:
tTh 2023-09-26 11:17:04 +02:00
parent d09291bd4e
commit 21de0960e8
1 changed files with 11 additions and 3 deletions

View File

@ -14,8 +14,9 @@
*/
int Image_egalise_cos01(Image_Desc *source, Image_Desc *but, int k)
{
unsigned char lut[256], uc;
int idx, x, y, pix, foo;
int lut[256], uc;
int idx, foo;
/* int x, y, pix; */
float fidx;
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__,
@ -33,6 +34,9 @@ for (idx=0; idx<256; idx++) {
/* printf("%7d %7d\n", idx, uc); */
}
/*
* old original code, replaced...
*
for (y=0; y<source->height; y++) {
for (x=0; x<source->width; x++) {
@ -45,8 +49,12 @@ for (y=0; y<source->height; y++) {
}
}
*
* ... by a func from 'calculs.c'
*/
Image_LUT_mono(source, but, lut);
return FULL_NUCKED;
return FUNC_IS_BETA;
}
/*::------------------------------------------------------------------::*/
/*