[FFmpeg-devel] [PATCH V2 2/3] dnn/openvino: refine code for better model initialization
Guo, Yejun
yejun.guo at intel.com
Mon Jan 18 02:49:59 EET 2021
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Ting Fu
> Sent: 2021年1月15日 16:43
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH V2 2/3] dnn/openvino: refine code for better
> model initialization
>
> Move openvino model/inference request creation and initialization steps from
> ff_dnn_load_model_ov to new function init_model_ov, for later input resize
> support.
>
> Signed-off-by: Ting Fu <ting.fu at intel.com>
> ---
> libavfilter/dnn/dnn_backend_openvino.c | 196 ++++++++++++++-----------
> 1 file changed, 111 insertions(+), 85 deletions(-)
>
> -
> - item->tasks = av_malloc_array(ctx->options.batch_size,
> sizeof(*item->tasks));
> - if (!item->tasks) {
> - av_freep(&item);
> - goto err;
> - }
> - item->task_count = 0;
these code are missed in the new added function init_model_ov with rebase
More information about the ffmpeg-devel
mailing list