summary refs log tree commit diff
path: root/src/demosaic/mod.rs
blob: d21d1b56643b266000bbf693d02359196f377232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub trait Demosaic {
    fn new(gpu: &wgpu::Device) -> Self
    where
        Self: Sized;

    fn bind_image(&mut self, gpu: &wgpu::Device, queue: &wgpu::Queue, image: &rawloader::RawImage);

    fn demoasic(&self, gpu: &wgpu::Device, queue: &wgpu::Queue);

    fn get_output(&self) -> &wgpu::Texture;
}

pub mod lmmse;
pub use lmmse::Lmmse;