Skip to content

Conversation

xsebela2
Copy link
Contributor

This PR adds conversions between RGBA and RGB written in SIMD intrinsics, reducing time per 4k frame from 9 ms to about 5 ms.

This code specializes only for color shifts of the RGBx and BGRx formats, since allowing arbitrary channel shifts would complicate code unnecessarily and wouldn't be faster.

Reduces time per 4k frame from 9 ms to about 5 ms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant