Searched refs:abs_max (Results 1 – 2 of 2) sorted by relevance
61 int abs_max = -min; in DrawDiff() local62 if (abs_max < max) abs_max = max; in DrawDiff()64 fprintf(f, "P6\n%lu %lu\n%d\n", width, height, abs_max); in DrawDiff()72 row[3 * j + 0] = abs_max - max_val + diff[i][j]; in DrawDiff()73 row[3 * j + 1] = abs_max - max_val; in DrawDiff()74 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()76 row[3 * j + 0] = abs_max - max_val; in DrawDiff()77 row[3 * j + 1] = abs_max - max_val - diff[i][j]; in DrawDiff()78 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()
84 const int32_t abs_max = in Compute() local89 scale * static_cast<float>(abs_max) / static_cast<float>(1L << 31); in Compute()