From: Limin Wang <[email protected]>
Signed-off-by: Limin Wang <[email protected]>
---
libavfilter/vf_sr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c
index 45f941a..282c468 100644
--- a/libavfilter/vf_sr.c
+++ b/libavfilter/vf_sr.c
@@ -55,6 +55,8 @@ static const AVOption sr_options[] = {
{ "model", "path to model file specifying network architecture and its
parameters", OFFSET(dnnctx.model_filename), AV_OPT_TYPE_STRING, {.str=NULL}, 0,
0, FLAGS },
{ "input", "input name of the model",
OFFSET(dnnctx.model_inputname), AV_OPT_TYPE_STRING, { .str = "x" }, 0, 0,
FLAGS },
{ "output", "output name of the model",
OFFSET(dnnctx.model_outputname), AV_OPT_TYPE_STRING, { .str = "y" }, 0, 0,
FLAGS },
+ { "backend_configs", "backend configs",
OFFSET(dnnctx.backend_options), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0,
FLAGS },
+ { "options", "backend configs",
OFFSET(dnnctx.backend_options), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0,
FLAGS },
{ NULL }
};
--
1.8.3.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".