add televisions tests
This commit is contained in:
+13
-5
@@ -22,7 +22,9 @@ int foo;
|
||||
|
||||
fprintf(stderr, ">>> %s ( '%s' ) \n", __func__, filename);
|
||||
|
||||
#if 0
|
||||
foo = try_to_read_a_jpeg_file(filename, &destimg);
|
||||
#endif
|
||||
|
||||
return FULL_NUCKED;
|
||||
}
|
||||
@@ -30,7 +32,7 @@ return FULL_NUCKED;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char *fichier;
|
||||
int foo;
|
||||
int foo, idx;
|
||||
|
||||
printf("\n========== TestTga %s %s ==========\n", __DATE__, __TIME__);
|
||||
Image_print_version(2);
|
||||
@@ -39,8 +41,7 @@ Image_print_version(2);
|
||||
Image_print_sizeof_structs("tth was here");
|
||||
#endif
|
||||
|
||||
if (argc != 2)
|
||||
{
|
||||
if (argc != 2) {
|
||||
printf("no args, using the testfile\n");
|
||||
fichier = "wou.tga";
|
||||
}
|
||||
@@ -52,11 +53,17 @@ else
|
||||
|
||||
Image_start_chrono("Essai", 0);
|
||||
|
||||
for (idx=0; idx<5; idx++) {
|
||||
foo = Test_Egalisations(fichier, 0);
|
||||
fprintf(stderr, " essai egalisation -> %d\n", foo);
|
||||
foo = Essai_Televisions(fichier, 10);
|
||||
fprintf(stderr, " essai televisions -> %d\n", foo);
|
||||
}
|
||||
|
||||
#if 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);
|
||||
|
||||
@@ -74,6 +81,7 @@ Test_des_warpings(fichier, 17);
|
||||
|
||||
foo = Essai_des_Combines(fichier, 17);
|
||||
fprintf(stderr, "essai combine -> %d\n", foo);
|
||||
|
||||
foo = Test_Dithering(fichier, 17);
|
||||
Essai_des_Contrastes(fichier, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user