summary refs log tree commit diff
path: root/src/demosaic/mod.rs
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2025-03-30 15:46:30 -0500
committerMaxwell Beck <max@rastertail.net>2025-03-30 15:46:30 -0500
commit1d888631c3e4c423c2b782b01ca29fc1057c51a2 (patch)
treec43e996ea16b577ee7a02b5d4f97ecf99dde033c /src/demosaic/mod.rs
Initial commit
Diffstat (limited to 'src/demosaic/mod.rs')
-rw-r--r--src/demosaic/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/demosaic/mod.rs b/src/demosaic/mod.rs
new file mode 100644
index 0000000..4e74f4b
--- /dev/null
+++ b/src/demosaic/mod.rs
@@ -0,0 +1,7 @@
+pub trait Demosaic {
+	fn new(gpu: &wgpu::Device, queue: &wgpu::Queue) -> Self where Self: Sized;
+	fn demoasic(&self, gpu: &wgpu::Device, queue: &wgpu::Queue, image: &rawloader::RawImage) -> wgpu::Texture;
+}
+
+pub mod lmmse;
+pub use lmmse::Lmmse;