> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Ting Fu
> Sent: 2021年1月15日 16:43
> To: ffmpeg-devel@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...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to