more experiment...

This commit is contained in:
2020-12-08 15:51:07 +01:00
parent ae7fdd49bc
commit b03e674056
8 changed files with 32 additions and 19 deletions

View File

@@ -27,7 +27,7 @@ fprintf(stderr, ">>> %s ( %p %d )\n", __func__, pvictime, bits);
line = rand() % pvictime->height;
if (verbosity > 1) {
if (verbosity > 2) {
fprintf(stderr, "%s: try to kill line %d\n", __func__, line);
}
@@ -52,9 +52,13 @@ int kill_a_few_lines(FloatImg *who, float fval, int number)
{
int idx, foo;
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %p %f %d )\n", __func__, who, fval, number);
#endif
/* Frag the pixels */
for (idx=0; idx<number; idx++) {
foo = kill_a_random_line(who, fval, rand() & 0x0f);
foo = kill_a_random_line(who, fval, rand() & 0x07);
if (foo) abort();
}