File: bench_compare_la.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-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use fast_image_resize::pixels::U8x2;

mod utils;

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

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