]> git.nihav.org Git - nihav.git/blob - nihav-core/src/scale/kernel.rs
rmmux: rework video packetisation and add some debug prints
[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 }