blob: abc783594bd473a0cbe47d73b99232b9fda2566f (
plain) (
blame)
1
2
3
4
5
6
7
|
use crate::frame::*;
use super::{ScaleInfo, ScaleResult};
pub trait Kernel {
fn init(&mut self, in_fmt: &ScaleInfo, dest_fmt: &ScaleInfo, options: &[(String, String)]) -> ScaleResult<NABufferType>;
fn process(&mut self, pic_in: &NABufferType, pic_out: &mut NABufferType);
}
|