ffmpeg/libavfilter/dnn
Shubhanshu Saxena 60b4d07cf6 libavfilter: Unify Execution Modes in DNN Filters
This commit unifies the async and sync mode from the DNN filters'
perspective. As of this commit, the Native backend only supports
synchronous execution mode.

Now the user can switch between async and sync mode by using the
'async' option in the backend_configs. The values can be 1 for
async and 0 for sync mode of execution.

This commit affects the following filters:
1. vf_dnn_classify
2. vf_dnn_detect
3. vf_dnn_processing
4. vf_sr
5. vf_derain

This commit also updates the filters vf_dnn_detect and vf_dnn_classify
to send only the input frame and send NULL as output frame instead of
input frame to the DNN backends.

Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
2021-08-28 16:19:07 +08:00
..
dnn_backend_common.c libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_common.h libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_native_layer_avgpool.c
dnn_backend_native_layer_avgpool.h
dnn_backend_native_layer_conv2d.c
dnn_backend_native_layer_conv2d.h
dnn_backend_native_layer_dense.c
dnn_backend_native_layer_dense.h
dnn_backend_native_layer_depth2space.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
dnn_backend_native_layer_depth2space.h
dnn_backend_native_layer_mathbinary.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
dnn_backend_native_layer_mathbinary.h
dnn_backend_native_layer_mathunary.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
dnn_backend_native_layer_mathunary.h
dnn_backend_native_layer_maximum.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
dnn_backend_native_layer_maximum.h
dnn_backend_native_layer_pad.c
dnn_backend_native_layer_pad.h
dnn_backend_native_layers.c
dnn_backend_native_layers.h
dnn_backend_native.c libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_native.h libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_openvino.c libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_openvino.h libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_tf.c libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_backend_tf.h libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_interface.c libavfilter: Unify Execution Modes in DNN Filters 2021-08-28 16:19:07 +08:00
dnn_io_proc.c
dnn_io_proc.h
Makefile
queue.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
queue.h lavfi/dnn: Common Function to Get Async Result in DNN Backends 2021-08-10 22:27:27 +08:00
safe_queue.c
safe_queue.h