reuse an old func
This commit is contained in:
parent
d09291bd4e
commit
21de0960e8
@ -14,8 +14,9 @@
|
|||||||
*/
|
*/
|
||||||
int Image_egalise_cos01(Image_Desc *source, Image_Desc *but, int k)
|
int Image_egalise_cos01(Image_Desc *source, Image_Desc *but, int k)
|
||||||
{
|
{
|
||||||
unsigned char lut[256], uc;
|
int lut[256], uc;
|
||||||
int idx, x, y, pix, foo;
|
int idx, foo;
|
||||||
|
/* int x, y, pix; */
|
||||||
float fidx;
|
float fidx;
|
||||||
|
|
||||||
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__,
|
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__,
|
||||||
@ -33,6 +34,9 @@ for (idx=0; idx<256; idx++) {
|
|||||||
/* printf("%7d %7d\n", idx, uc); */
|
/* printf("%7d %7d\n", idx, uc); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* old original code, replaced...
|
||||||
|
*
|
||||||
for (y=0; y<source->height; y++) {
|
for (y=0; y<source->height; y++) {
|
||||||
for (x=0; x<source->width; x++) {
|
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;
|
||||||
}
|
}
|
||||||
/*::------------------------------------------------------------------::*/
|
/*::------------------------------------------------------------------::*/
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user