more cleanup...

This commit is contained in:
tTh
2023-01-31 00:21:05 +01:00
parent ca0acf0c26
commit d260117865
8 changed files with 40 additions and 18 deletions
+19 -4
View File
@@ -15,6 +15,17 @@
/*::------------------------------------------------------------------::*/
int test_du_jpeg_reader(char *filename)
{
Image_Desc destimg;
int foo;
fprintf(stderr, ">>> %s ( '%s' ) \n", __func__, filename);
foo = try_to_read_a_jpeg_file(filename, &destimg);
return FULL_NUCKED;
}
/*::------------------------------------------------------------------::*/
int main(int argc, char *argv[])
{
@@ -23,7 +34,10 @@ int foo;
printf("\n========== TestTga %s %s ==========\n", __DATE__, __TIME__);
Image_print_version(2);
/* Image_print_sizeof_structs("tth was here"); */
#if DEBUG_LEVEL
Image_print_sizeof_structs("tth was here");
#endif
if (argc != 2)
{
@@ -38,15 +52,16 @@ else
Image_start_chrono("Essai", 0);
foo = test_du_jpeg_reader("in.jpeg");
fprintf(stderr, " essai lecture jpeg -> %d\n", foo);
#if 0
foo = Test_Dithering(fichier, 17);
fprintf(stderr, "essai dithering -> %d\n", foo);
#if 0
/*
Test_des_patterns("/tmp/pattt", 0, 0);
foo = Essai_des_jauges(fichier, 17);
*/
foo = Essai_Extractbits(fichier, 17);