Skip to content

Conversation

xsebela2
Copy link
Contributor

@xsebela2 xsebela2 commented Jun 7, 2024

This PR adds SIMD implementations for the color format conversion functions from R12L to RGB and RGBA, aimed to increase performance (the tools/convert benchmark tool reports an improvement from ~9 ms to ~5 ms for R12L->RGB and ~11 ms to ~6 ms for R12L->RGBA).

Although functional, the additions are kept commented out with #if 0 for now.

xsebela2 added 2 commits June 7, 2024 11:20
- added the -msse4.1 flag to tools/Makefile
- 9 ms -> 5 ms on my machine
- 11 ms -> 6 ms
- need to specifically comment out R12LtoRGB to run R12LtoRGBA -- for
  some reason, UltraGrid prefers the longer R12L -> RGB -> RGBA path
@xsebela2 xsebela2 marked this pull request as ready for review June 7, 2024 12:39
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