[Libav-user] multithreaded use of sws_scale

J Decker d3ck0r at gmail.com
Tue Sep 19 06:09:33 EEST 2017


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.



On Mon, Sep 18, 2017 at 10:19 AM, Martin Belleau <
mbelleau at 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?
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170918/6822a723/attachment.html>


More information about the Libav-user mailing list