mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-11-29 04:01:35 +00:00
Prepare to release.
This commit is contained in:
1 parent
8492893306
commit
db42291da9
1 file changed
+16
-16
+16
-16
@@ -496,6 +496,22 @@ mod not_u8x4 {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn resize_u8x3_interpolation() {
|
||||
type P = U8x3;
|
||||
P::downscale_test(
|
||||
ResizeAlg::Interpolation(FilterType::Bilinear),
|
||||
CpuExtensions::None,
|
||||
[2938733, 2946338, 2883813],
|
||||
);
|
||||
|
||||
P::upscale_test(
|
||||
ResizeAlg::Interpolation(FilterType::Bilinear),
|
||||
CpuExtensions::None,
|
||||
[1156013474, 1158419787, 1135090328],
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn downscale_u16() {
|
||||
type P = U16;
|
||||
@@ -1036,19 +1052,3 @@ mod u8x4 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "only_u8x4"))]
|
||||
#[test]
|
||||
fn resize_u8x3_interpolation() {
|
||||
U8x3::downscale_test(
|
||||
ResizeAlg::Interpolation(FilterType::Bilinear),
|
||||
CpuExtensions::None,
|
||||
[2938733, 2946338, 2883813],
|
||||
);
|
||||
|
||||
U8x3::upscale_test(
|
||||
ResizeAlg::Interpolation(FilterType::Bilinear),
|
||||
CpuExtensions::None,
|
||||
[1156013474, 1158419787, 1135090328],
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user