From 1d888631c3e4c423c2b782b01ca29fc1057c51a2 Mon Sep 17 00:00:00 2001 From: Maxwell Beck Date: Sun, 30 Mar 2025 15:46:30 -0500 Subject: Initial commit --- src/demosaic/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/demosaic/mod.rs (limited to 'src/demosaic/mod.rs') 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; -- cgit 1.4.1