]> git.nihav.org Git - nihav.git/blame - nihav-core/src/scale/kernel.rs
vp6: switch to MD5-based tests
[nihav.git] / nihav-core / src / scale / kernel.rs
CommitLineData
03accf76
KS
1use crate::frame::*;
2use super::{ScaleInfo, ScaleResult};
3
4pub 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}