<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 20 Oct 2020 at 14:47, Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</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"><br>
Note that videoconvert element have few "fast_path". Even thous it's<br>
unaligned, you know that RGB24 will re-aligne every 4 pixels. Perhaps<br>
there a ways to add some 4 pixels (128bits -> 96bit compression) SIMD<br>
optimization (using orc or not).<br>
</blockquote></div><div><br></div>Even without SIMD it should be possible to avoid unaligned writes by using shift operations on a CPU register as a mini output buffer. That would probably need a fast path or even a specialised element though.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">TH<div><br></div></div></div></div>