core/scale: add options support
[nihav.git] / nihav-core / src / scale / kernel.rs
index 84a69b49a14d08a3c86f3fea1c93f8f824380443..abc783594bd473a0cbe47d73b99232b9fda2566f 100644 (file)
@@ -2,6 +2,6 @@ use crate::frame::*;
 use super::{ScaleInfo, ScaleResult};
 
 pub trait Kernel {
-    fn init(&mut self, in_fmt: &ScaleInfo, dest_fmt: &ScaleInfo) -> ScaleResult<NABufferType>;
+    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);
 }