File: bench_compare_rgba32f.rs

package info (click to toggle)
rust-fast-image-resize 5.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,772 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use fast_image_resize::pixels::F32x4;

mod utils;

pub fn bench_downscale_rgba32f(bench_group: &mut utils::BenchGroup) {
    type P = F32x4;
    utils::libvips_resize::<P>(bench_group, true);
    utils::fir_resize::<P>(bench_group, true);
}

fn main() {
    let res = utils::run_bench(bench_downscale_rgba32f, "Compare resize of RGBA32F image");
    utils::print_and_write_compare_result(&res);
}