<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 17, 2021 at 1:50 PM Nicolas George <<a href="mailto:george@nsup.org">george@nsup.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Nuno Santos (12021-07-17):<br>
> I’m using libav to mux a video file at full hd. <br>
> <br>
> At some point I need to convert the original frame at 1920x1080 RGB to YUV420P<br>
> <br>
> 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.<br>
> <br>
> I guess sws_scale is not optimised for iOS. How is people doing it on iOS then?<br>
<br>
I do not think that sws_scale requires OS-specific optimizations.<br></blockquote><div><br></div><div>This is not correct at all. libswscale have some neon assembly. Dunno how user compiles libraries, or maybe neon asm is very old.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What are the CPUs of your desktop and mobile devices?<br>
<br>
Regards,<br>
<br>
-- <br>
  Nicolas George<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div></div>