]>
Commit | Line | Data |
---|---|---|
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, options: &[(String, String)]) -> ScaleResult<NABufferType>; | |
6 | fn process(&mut self, pic_in: &NABufferType, pic_out: &mut NABufferType); | |
7 | } |