Compare commits

..

No commits in common. "4f41ae399b28ec3d0cb383170ae4082158a4a197" and "53a108561f485b16b355362358c11525281098c2" have entirely different histories.

3 changed files with 4 additions and 11 deletions

View File

@ -14,7 +14,6 @@
*/
int Image_egalise_cos01(Image_Desc *source, Image_Desc *but, int k)
{
(void)k; /* WARNING KILLER */
int lut[256], uc, idx, foo;
float fidx;
@ -35,16 +34,11 @@ for (idx=0; idx<256; idx++) {
}
Image_LUT_mono(source, but, lut);
return OLL_KORRECT;
return FUNC_IS_BETA;
}
/*::------------------------------------------------------------------::*/
/*
* new: Fri Sep 15 20:32:12 UTC 2023
* inspired by the same func in FloatImg
*/
int Image_egalise_cos010(Image_Desc *source, Image_Desc *but, int k)
{
(void)k; /* WARNING KILLER */
int lut[256], uc, idx, foo;
float fidx;
@ -65,7 +59,7 @@ for (idx=0; idx<256; idx++) {
}
Image_LUT_mono(source, but, lut);
return OLL_KORRECT;
return FUNC_IS_BETA;
}
/*::------------------------------------------------------------------::*/
/*

View File

@ -442,7 +442,7 @@ switch (commande)
}
if (foo) {
/* fprintf(stderr, "%s: return code is %d\n", __FILE__, foo); */
fprintf(stderr, "%s: return code is %d\n", __FILE__, foo);
Image_print_error(argv[0], foo);
}

View File

@ -42,7 +42,7 @@ mot_clef mots_clef[] =
/*::------------------------------------------------------------------::*/
void usage()
{
fprintf(stderr, "* tga_equalize v 0.0.25 [%s] (dwtfywl) tonton Th\n",
fprintf(stderr, "* tga_equalize v 0.0.24 [%s] (dwtfywl) tonton Th\n",
TGA_OUTILS_VERSION);
fprintf(stderr, " compiled %s at %s\n", __DATE__, __TIME__);
fprintf(stderr, "usage:\n\ttga_equalize avant.tga mode apres.tga [params]\n");
@ -129,7 +129,6 @@ switch (commande)
default:
fprintf(stderr, "unexpected command #%d\n", commande);
foo=-1;
break;
}