projects
/
nihav.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
core/scale: add options support
[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, options: &[(String, String)]) -> ScaleResult<NABufferType>;
6
fn process(&mut self, pic_in: &NABufferType, pic_out: &mut NABufferType);
7
}