[FFmpeg-devel] [PATCH 2/2] avfilter/dnn: unify the layer execution function in native mode
Guo, Yejun
yejun.guo at intel.com
Tue Sep 24 06:20:11 EEST 2019
please ignore this patch set, there is an issue found in this patch, I'll fix and send v2 patch.
> -----Original Message-----
> From: Guo, Yejun
> Sent: Tuesday, September 24, 2019 8:56 AM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH 2/2] avfilter/dnn: unify the layer execution function in native
> mode
>
> with this change, the code will be simpler when more layers supported.
>
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
> libavfilter/dnn/dnn_backend_native.c | 38
> ++++++++--------------
> libavfilter/dnn/dnn_backend_native_layer_conv2d.c | 4 ++-
> libavfilter/dnn/dnn_backend_native_layer_conv2d.h | 3 +-
> .../dnn/dnn_backend_native_layer_depth2space.c | 5 ++-
> .../dnn/dnn_backend_native_layer_depth2space.h | 3 +-
> libavfilter/dnn/dnn_backend_native_layer_maximum.c | 4 ++-
> libavfilter/dnn/dnn_backend_native_layer_maximum.h | 3 +-
> libavfilter/dnn/dnn_backend_native_layer_pad.c | 5 +--
> libavfilter/dnn/dnn_backend_native_layer_pad.h | 4 +--
> libavfilter/dnn/dnn_backend_native_layers.hxx | 4 +++
> tests/dnn/dnn-layer-conv2d-test.c | 4 +--
> tests/dnn/dnn-layer-depth2space-test.c | 4 ++-
> tests/dnn/dnn-layer-maximum-test.c | 2 +-
> tests/dnn/dnn-layer-pad-test.c | 6 ++--
> 14 files changed, 48 insertions(+), 41 deletions(-)
> create mode 100644 libavfilter/dnn/dnn_backend_native_layers.hxx
More information about the ffmpeg-devel
mailing list