Skip to content

Commit

Permalink
vsov/vs_openvino.cpp: adjust parameter order, tweak plugin id
Browse files Browse the repository at this point in the history
Signed-off-by: akarin <[email protected]>
  • Loading branch information
AkarinVS committed Dec 3, 2021
1 parent 45ef8fc commit c6682b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions vsov/vs_openvino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,18 +431,18 @@ VS_EXTERNAL_API(void) VapourSynthPluginInit(
) noexcept {

configFunc(
"com.amusementclub.vs_openvino", "ov", "OpenVINO wrapper",
"io.github.amusementclub.vs_openvino", "ov", "OpenVINO ML Filter Runtime",
VAPOURSYNTH_API_VERSION, 1, plugin
);

registerFunc("Model",
"clip:clip;"
"network_path:data;"
"device:data:opt;" // "CPU": CPU
"pad:int:opt;"
"block_w:int:opt;"
"block_h:int:opt;",
vsOvCreate,
"block_h:int:opt;"
"device:data:opt;" // "CPU": CPU
,vsOvCreate,
reinterpret_cast<void *>(intptr_t(false)), // not augmented
plugin
);
Expand All @@ -451,11 +451,11 @@ VS_EXTERNAL_API(void) VapourSynthPluginInit(
"clip:clip;"
"network_path:data;"
"sigma:float:opt;"
"device:data:opt;"
"pad:int:opt;"
"block_w:int:opt;"
"block_h:int:opt;",
vsOvCreate,
"block_h:int:opt;"
"device:data:opt;"
,vsOvCreate,
reinterpret_cast<void *>(intptr_t(true)), // augmented
plugin
);
Expand Down

0 comments on commit c6682b5

Please sign in to comment.