[Libav-user] [libswscale][rfc] threading

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Apr 25 23:12:10 EEST 2020


Am Sa., 25. Apr. 2020 um 21:36 Uhr schrieb <sylvain.bertrand at gmail.com>:

> While "scaling" an image (actually a conversion from yuv to srgb), is it a good
> idea to do that with 2 threads: each with its own copy of the context, one
> converting the slice from top to mid-height, the other one converting the slice
> from bottom to mid-height?

You have to correctly set up the slices, an internal overlap is needed for
correct output iirc.

Carl Eugen


More information about the Libav-user mailing list