]> git.nihav.org Git - nihav.git/blob - nihav-core/src/scale/kernel.rs
vp6: switch to MD5-based tests
[nihav.git] / nihav-core / src / scale / kernel.rs
1 use crate::frame::*;
2 use super::{ScaleInfo, ScaleResult};
3
4 pub trait Kernel {
5 fn init(&mut self, in_fmt: &ScaleInfo, dest_fmt: &ScaleInfo) -> ScaleResult<NABufferType>;
6 fn process(&mut self, pic_in: &NABufferType, pic_out: &mut NABufferType);
7 }