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.
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.