[common] rect/framebuffer: improve avx implementations

This commit is contained in:
Geoffrey McRae
2023-11-19 15:45:15 +11:00
parent 0ce4c34c37
commit d3ee5bddde
3 changed files with 47 additions and 33 deletions

View File

@@ -27,7 +27,8 @@
#include "common/framebuffer.h"
#include "common/types.h"
extern void (*rectCopyUnaligned)(uint8_t * dst, const uint8_t * src,
extern void (*rectCopyUnaligned)(
uint8_t *restrict dst, const uint8_t *restrict src,
int ystart, int yend, int dx, int dstPitch, int srcPitch, int width);
void rectsBufferToFramebuffer(FrameDamageRect * rects, int count, int bpp,