diff options
author | Ting Fu <ting.fu-at-intel.com@ffmpeg.org> | 2023-04-27 17:43:45 +0800 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2023-04-28 11:07:41 +0800 |
commit | a9fb1417192d9922c891315350f96ef0f71726c4 (patch) | |
tree | 546dcde5fb052bf51e83a994b6f54dd19953da3a /libavfilter/vf_derain.c | |
parent | 7ed6f28a7cee1344f8ae61737cbb8364dec8cb24 (diff) | |
download | ffmpeg-a9fb1417192d9922c891315350f96ef0f71726c4.tar.gz |
lavfi/dnn: Modified DNN native backend related tools and docs.
Will remove native backend, so change the default backend in filters,
and also remove the python scripts which generate native model file.
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'libavfilter/vf_derain.c')
-rw-r--r-- | libavfilter/vf_derain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_derain.c b/libavfilter/vf_derain.c index 86e9eb8752..7e84cd65a3 100644 --- a/libavfilter/vf_derain.c +++ b/libavfilter/vf_derain.c @@ -43,7 +43,7 @@ static const AVOption derain_options[] = { { "filter_type", "filter type(derain/dehaze)", OFFSET(filter_type), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS, "type" }, { "derain", "derain filter flag", 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, 0, 0, FLAGS, "type" }, { "dehaze", "dehaze filter flag", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, FLAGS, "type" }, - { "dnn_backend", "DNN backend", OFFSET(dnnctx.backend_type), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS, "backend" }, + { "dnn_backend", "DNN backend", OFFSET(dnnctx.backend_type), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, FLAGS, "backend" }, { "native", "native backend flag", 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, 0, 0, FLAGS, "backend" }, #if (CONFIG_LIBTENSORFLOW == 1) { "tensorflow", "tensorflow backend flag", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, FLAGS, "backend" }, |