Skip to content

Commit

Permalink
Small cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 19, 2020
1 parent b67cd08 commit c6d1db8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/pconvert/pconvert.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,9 +857,23 @@ ERROR_T pbenchmark(int argc, char **argv) {
float time;
char details = TRUE;

char *algorithms[ALGORITHMS_SIZE] = { "multiplicative", "source_over", "alpha", "disjoint_over", "disjoint_under" };
int compression[COMPRESSION_SIZE] = { Z_NO_COMPRESSION, Z_BEST_SPEED, Z_BEST_COMPRESSION };
char *compression_s[COMPRESSION_SIZE] = { "Z_NO_COMPRESSION", "Z_BEST_SPEED", "Z_BEST_COMPRESSION" };
char *algorithms[ALGORITHMS_SIZE] = {
"multiplicative",
"source_over",
"alpha",
"disjoint_over",
"disjoint_under"
};
int compression[COMPRESSION_SIZE] = {
Z_NO_COMPRESSION,
Z_BEST_SPEED,
Z_BEST_COMPRESSION
};
char *compression_s[COMPRESSION_SIZE] = {
"Z_NO_COMPRESSION",
"Z_BEST_SPEED",
"Z_BEST_COMPRESSION"
};

#ifdef PCONVERT_OPENCL
#define OPENCL_SIZE 2
Expand Down

0 comments on commit c6d1db8

Please sign in to comment.