[Libav-user] Fast colourspace conversion on iOS

Nicolas George george at nsup.org
Sat Jul 17 14:49:52 EEST 2021

Nuno Santos (12021-07-17):
> I’m using libav to mux a video file at full hd. 
> At some point I need to convert the original frame at 1920x1080 RGB to YUV420P
> This requires sws_scale to be called. On desktop it takes around 7/8 ms to convert a frame. On iOS it takes 28 ms.
> I guess sws_scale is not optimised for iOS. How is people doing it on iOS then?

I do not think that sws_scale requires OS-specific optimizations.

What are the CPUs of your desktop and mobile devices?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210717/35f2466b/attachment.sig>

More information about the Libav-user mailing list