Unexpectedly expensive conversion from BGRA to BGR

Tony Houghton h at realh.co.uk
Tue Oct 20 15:59:34 UTC 2020


On Tue, 20 Oct 2020 at 14:47, Nicolas Dufresne <nicolas at ndufresne.ca> wrote:

>
> Note that videoconvert element have few "fast_path". Even thous it's
> unaligned, you know that RGB24 will re-aligne every 4 pixels. Perhaps
> there a ways to add some 4 pixels (128bits -> 96bit compression) SIMD
> optimization (using orc or not).
>

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.

-- 
TH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201020/cf209390/attachment.htm>


More information about the gstreamer-devel mailing list