summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/pixops/timescale.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/pixops/timescale.c')
-rw-r--r--gdk-pixbuf/pixops/timescale.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c
index 94ed3cf138..03401405d6 100644
--- a/gdk-pixbuf/pixops/timescale.c
+++ b/gdk-pixbuf/pixops/timescale.c
@@ -182,10 +182,10 @@ int main (int argc, char **argv)
start_timing ();
for (i = 0; i < ITERS; i++)
{
- pixops_scale (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
- src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
- (double)dest_width / src_width, (double)dest_height / src_height,
- filter_level);
+ _pixops_scale (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
+ src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
+ (double)dest_width / src_width, (double)dest_height / src_height,
+ filter_level);
}
scale_times[src_index][dest_index][filter_level] =
stop_timing (" scale\t\t", ITERS, dest_height * dest_width);
@@ -194,10 +194,10 @@ int main (int argc, char **argv)
start_timing ();
for (i = 0; i < ITERS; i++)
{
- pixops_composite (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
- src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
- (double)dest_width / src_width, (double)dest_height / src_height,
- filter_level, 255);
+ _pixops_composite (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
+ src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
+ (double)dest_width / src_width, (double)dest_height / src_height,
+ filter_level, 255);
}
composite_times[src_index][dest_index][filter_level] =
stop_timing (" composite\t\t", ITERS, dest_height * dest_width);
@@ -205,10 +205,10 @@ int main (int argc, char **argv)
start_timing ();
for (i = 0; i < ITERS; i++)
{
- pixops_composite_color (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
- src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
- (double)dest_width / src_width, (double)dest_height / src_height,
- filter_level, 255, 0, 0, 16, 0xaaaaaa, 0x555555);
+ _pixops_composite_color (dest_buf, 0, 0, dest_width, dest_height, dest_rowstride, dest_channels, dest_has_alpha,
+ src_buf, src_width, src_height, src_rowstride, src_channels, src_has_alpha,
+ (double)dest_width / src_width, (double)dest_height / src_height,
+ filter_level, 255, 0, 0, 16, 0xaaaaaa, 0x555555);
}
composite_color_times[src_index][dest_index][filter_level] =
stop_timing (" composite color\t", ITERS, dest_height * dest_width);