aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-core/src/scale/kernel.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2021-10-18 17:31:09 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2021-10-18 18:56:38 +0200
commit25e0bf9a974b1bb5a8f8b38e23b4a7e91db3eab0 (patch)
treeb387c9a057a1aa786b47974cf425de3833cd94b7 /nihav-core/src/scale/kernel.rs
parentd0d21988dc679ac5d87968da01a55ec3dc375fee (diff)
downloadnihav-25e0bf9a974b1bb5a8f8b38e23b4a7e91db3eab0.tar.gz
core/scale: add options support
Diffstat (limited to 'nihav-core/src/scale/kernel.rs')
-rw-r--r--nihav-core/src/scale/kernel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-core/src/scale/kernel.rs b/nihav-core/src/scale/kernel.rs
index 84a69b4..abc7835 100644
--- a/nihav-core/src/scale/kernel.rs
+++ b/nihav-core/src/scale/kernel.rs
@@ -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);
}