I think this question is out of scope of ffmpeg community. You should ask it in libavuser instead. By the way, if you want to scale an AVFrame in various dimensions in different threads, you should instantiate various amounts of SwsContext.
______________________________________________________ Tel: +98 (913) 126-0265 On Thu, Sep 14, 2017 at 10:44 PM, Martin Belleau < mbell...@capellasystems.net> wrote: > I see that sws_scale has srcSliceY and srcSliceH, which should allow to > perform scaling of different slices in parallel. > > Is there any sample code which demonstrates how to use it? > > Should the same SwsContext be used to scale all the slices? > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".