Compare commits
No commits in common. "ba28fb9e80f8a862397fc69b6e352ea1bce77b31" and "f7ff7e385af136e4df8b7d5a3fdb14ac39148db5" have entirely different histories.
ba28fb9e80
...
f7ff7e385a
@ -3,7 +3,7 @@
|
||||
* ugly code from tTh
|
||||
*/
|
||||
|
||||
#define FIMG_VERSION 101
|
||||
#define FIMG_VERSION 100
|
||||
|
||||
/*
|
||||
* in memory descriptor
|
||||
@ -58,7 +58,6 @@ int fimg_type_is_valid(int type);
|
||||
|
||||
|
||||
int fimg_print_version(int k);
|
||||
void fimg_print_sizeof(void);
|
||||
void fimg_printhead(FloatImg *h);
|
||||
int fimg_describe(FloatImg *head, char *txt);
|
||||
char *fimg_str_type(int type);
|
||||
|
@ -48,12 +48,6 @@ if (51 == k) {
|
||||
return 0;
|
||||
}
|
||||
/* --------------------------------------------------------------------- */
|
||||
void fimg_print_sizeof(void)
|
||||
{
|
||||
fprintf(stderr, " sz FloatImg = %lu\n", sizeof(FloatImg));
|
||||
fprintf(stderr, " sz filehead = %lu\n", sizeof(FimgFileHead));
|
||||
}
|
||||
/* --------------------------------------------------------------------- */
|
||||
void fimg_printhead(FloatImg *h)
|
||||
{
|
||||
printf("%5d %5d %2d %p %p %p %p\n", h->width, h->height, h->type,
|
||||
|
5
lib/t.c
5
lib/t.c
@ -266,10 +266,7 @@ while ((opt = getopt(argc, argv, "gn:v")) != -1) {
|
||||
}
|
||||
}
|
||||
|
||||
if (verbosity) {
|
||||
fimg_print_version(1);
|
||||
fimg_print_sizeof();
|
||||
}
|
||||
if (verbosity) fimg_print_version(0);
|
||||
|
||||
// foo = essai_normalize();
|
||||
// fprintf(stderr, "retour essai normalize -> %d\n", foo);
|
||||
|
@ -17,13 +17,7 @@ echo "=== " $0 " ==="
|
||||
./fimgfx -v rot90 $TMPF bar.fimg
|
||||
}
|
||||
# -----------------------------------------------------
|
||||
function essai_drand48
|
||||
{
|
||||
./mkfimg -v -t drand48 $TMPF 800 600
|
||||
./fimgstats -vv $TMPF
|
||||
}
|
||||
# -----------------------------------------------------
|
||||
|
||||
essai_drand48
|
||||
essai_rot90
|
||||
|
||||
# -----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user