<div dir="ltr">I would think you would want different SwsContexts for each thread.  Otherwise you'd set the parameters for the first thread, and then the second thread would override those parameters used in the structure.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 10:19 AM, Martin Belleau <span dir="ltr"><<a href="mailto:mbelleau@capellasystems.net" target="_blank">mbelleau@capellasystems.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I see that sws_scale has srcSliceY and srcSliceH, which should allow to perform scaling of different slices in parallel.<br>
<br>
Is there any sample code which demonstrates how to use it?<br>
<br>
Should the same SwsContext be used to scale all the slices?<br>
<br>
______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/list<wbr>info/libav-user</a><br>
</blockquote></div><br></div>