1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libavfilter/dnn
Guo, Yejun fce3e3e137 dnn: put DNNModel.set_input and DNNModule.execute_model together
suppose we have a detect and classify filter in the future, the
detect filter generates some bounding boxes (BBox) as AVFrame sidedata,
and the classify filter executes DNN model for each BBox. For each
BBox, we need to crop the AVFrame, copy data to DNN model input and do
the model execution. So we have to save the in_frame at DNNModel.set_input
and use it at DNNModule.execute_model, such saving is not feasible
when we support async execute_model.

This patch sets the in_frame as execution_model parameter, and so
all the information are put together within the same function for
each inference. It also makes easy to support BBox async inference.
2020-09-21 21:26:56 +08:00
..
dnn_backend_native_layer_avgpool.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_avgpool.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_conv2d.c dnn_backend_native_layer_conv2d.c: fix bug of loop boundary in single thread mode. 2020-09-20 12:30:47 +08:00
dnn_backend_native_layer_conv2d.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_depth2space.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_depth2space.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_mathbinary.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_mathbinary.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_mathunary.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_mathunary.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_maximum.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_maximum.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_pad.c dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layer_pad.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native_layers.c dnn/native: add native support for avg_pool 2020-08-10 16:37:39 +08:00
dnn_backend_native_layers.h dnn/native: add log error message 2020-08-25 13:03:46 +08:00
dnn_backend_native.c dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_backend_native.h dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_backend_openvino.c dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_backend_openvino.h dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_backend_tf.c dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_backend_tf.h dnn: put DNNModel.set_input and DNNModule.execute_model together 2020-09-21 21:26:56 +08:00
dnn_interface.c dnn: add openvino as one of dnn backend 2020-07-02 09:36:34 +08:00
dnn_io_proc.c dnn: change dnn interface to replace DNNData* with AVFrame* 2020-09-21 21:26:56 +08:00
dnn_io_proc.h dnn: change dnn interface to replace DNNData* with AVFrame* 2020-09-21 21:26:56 +08:00
Makefile dnn: change dnn interface to replace DNNData* with AVFrame* 2020-09-21 21:26:56 +08:00