1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
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 lavfi/dnn_backend_native_layer_avgpool.c: Correct Spelling of Pixel 2021-05-06 10:17:57 +08:00
dnn_backend_native_layer_avgpool.h lavfi/dnn_backend_native_layer_avgpool.h: Documentation 2021-05-14 10:21:15 +08:00
dnn_backend_native_layer_conv2d.c dnn/dnn_backend_native_layer_conv2d: Don't pretend convolution can fail 2021-03-11 13:20:00 +01:00
dnn_backend_native_layer_conv2d.h lavfi/dnn_backend_native_layer_conv2d.h: Documentation 2021-05-17 09:33:40 +08:00
dnn_backend_native_layer_dense.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_dense.h lavfi/dnn_backend_native_layer_dense.h: Documentation 2021-05-17 09:33:40 +08:00
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 lavfi/dnn_backend_native_layer_depth2space.h: Documentation 2021-05-17 09:33:40 +08:00
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: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
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 lavfi/dnn_backend_native_layer_mathunary.h: Documentation 2021-05-17 09:33:40 +08:00
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: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layer_pad.c dnn: remove type cast which is not necessary 2021-01-28 09:45:13 +08:00
dnn_backend_native_layer_pad.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layers.c dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
dnn_backend_native_layers.h dnn: Add ff_ prefix to unnamespaced globals 2021-01-22 15:03:09 +08:00
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 lavfi/dnn/dnn_io_proc.c: fix CID 1484955 2021-06-05 17:15:29 +08:00
dnn_io_proc.h lavfi/dnn: refine code to separate processing and detection in backends 2021-05-24 09:09:34 +08:00
Makefile lavfi/dnn: refine dnn interface to add DNNExecBaseParams 2021-05-06 10:50:44 +08:00
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 dnn/queue: remove prefix FF for Queue and SafeQueue 2021-01-22 08:28:13 +08:00
safe_queue.h lavfi/dnn/safe_queue.h: Add Documentation to SafeQueue 2021-04-27 10:01:20 +08:00