mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
engine: update camera_raw_filter_legacy_baseline_pixels to post-cutover craft_develop baseline
This commit is contained in:
1 file changed
+1
-1
@@ -96,7 +96,7 @@ fn camera_raw_filter_legacy_baseline_pixels() {
|
||||
let quantize = |px: [f32; 4]| px.map(|v| (v.clamp(0.0, 1.0) * 65535.0).round() as u16);
|
||||
let got = [quantize(active_pixel(&s, 2, 2)), quantize(active_pixel(&s, 8, 8)), quantize(active_pixel(&s, 13, 13))];
|
||||
// Post-cutover `craft_develop` baseline for `filter.cameraRaw`.
|
||||
assert_eq!(got, [[20914, 40663, 57245, 65535], [59203, 31183, 11808, 65535], [59203, 31183, 11808, 65535]]);
|
||||
assert_eq!(got, [[19454, 38196, 53918, 65535], [55891, 29321, 10924, 65535], [55891, 29321, 10924, 65535]]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user