mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 09:32:43 +00:00
Initialize ctx->nireq with av_cpu_count() / 2 + 1 when unset, matching the TensorFlow and OpenVINO backends. Create ctx->nireq THRequestItems in a loop instead of hardcoding a single request, enabling concurrent async inference requests for improved throughput. Signed-off-by: Raja Rathour <imraja729@gmail.com>