mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
algo/camera_raw: put spatial module re-exports in pub mod spatial
This commit is contained in:
1 file changed
+5
-1
@@ -8,10 +8,14 @@
|
||||
pub use craft::imaging::raw::{GradeWheel as Wheel, MAX_CURVE_POINTS, RawDevelopSettings as CameraRaw, VignetteStyle as StoredVignetteStyle, validate_curve};
|
||||
pub use craft_develop::camera_raw::{
|
||||
CURVE_LUT, Clarity, Dehaze, DevelopInputs, Grade, Grain, HSL_BANDS, LocalTone, PerPixel, Texture, ToneKind, TonePass, Vignette, VignetteStyle, WB_STEPS,
|
||||
WhitesBlacks, WhitesBlacksModel, band_weights, calibration_weights, curve_lut, local_tone, migrate_to_develop_settings, quantile_rank, spatial,
|
||||
WhitesBlacks, WhitesBlacksModel, band_weights, calibration_weights, curve_lut, local_tone, migrate_to_develop_settings, quantile_rank,
|
||||
white_balance_gains, whites_blacks_model,
|
||||
};
|
||||
|
||||
pub mod spatial {
|
||||
pub use craft_develop::camera_raw::spatial::*;
|
||||
}
|
||||
|
||||
fn to_shared_wheel(w: Wheel) -> craft_develop::camera_raw::Wheel {
|
||||
craft_develop::camera_raw::Wheel { hue: w.hue, sat: w.sat, lum: w.lum }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user